From: <mks...@ya...> - 2002-06-04 01:59:26
|
Hi all, I am a newbie in porting linux. I am trying to write SH IPl+g into the flash of a SH7727F based board.It does not have an ether net . It has 4MB ROM and 2MB RAM. I have with me the ipl+g-sh2000-20011107.tar.gz I tried, cd /home/developer tar xzf /mnt/cdrom/ipl+g-sh2000-20011107.tar.gz cd ipl+g make clean I have modified files and make sh-stub.exe 1. Config.h-SH7727(Copied from config.h-sesh3) #define CONFIG_LITTLE_ENDIAN 1 #define CONFIG_SH7727 1 #define CONFIG_SCIF 1 #define CONFIG_SOLUTION_ENGINE 1 #define CONFIG_ROM_START 0x80080000 #define CONFIG_ROM_LENGTH 0x8000 #define CONFIG_RAM_START 0x8c000000 #define CONFIG_RAM_BOOT (CONFIG_RAM_START+0x200000) #define CONFIG_MEMORY_SIZE 0x02000000 2. Config.mk-SH7727(Copied from config.mk-sesh3) CONFIG_LITTLE_ENDIAN=y CONFIG_CPU_SH3=y CONFIG_SH7727=y 3. I made init-SH7727.S(Only copied from init-SH2000.S,not modified any thing). 4. SH7727.mem(Copied from sesh3.mem) MEMORY { ROM (rx): ORIGIN = 0x80080000, LENGTH = 524288 RAM (rw): ORIGIN = 0x8c000000, LENGTH = 2560 STACK (rw): ORIGIN = 0x8c000a00, LENGTH = 1536 } 4. Modified the make file by adding and entry for SH7727. I have downloaded the sh ipl+g bootloader(I want to downdoad it to 0x0008 0000-Bank 1)in motorola Srecord file to the flash ROM. But upon booting,it is not respoding.That is i am not getting any response through the serial port(I am using Tera Term as the terminal emulator). 1. Could any one pls specify me some debugging methods? 2. Also in which portion of init-SH7727.S should i have to modify for BSC setting?? I badly needs some help on this. Awaiting your valuable replies, Manoj K.S __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |