I've been able to use shoehorn (with --terminal) to load my custom EP7211 with 
a kernel and initrd, but when it gets to:

Starting kernel
Pretending to be a terminal - interrupt to exit.

.. I don't see the kernel boot.
I've tried miket's pre-made images (Image-2.4.0-test6-rmk6-bluemug3.gz with 
initrd.ext2-busybox.gz) and I've also tried compiling my own kernel (2.4.0 
with the 2.4.0-rmk2 patch and miket's 2.4.0-rmk2-bluemug patch) using the 
default 'make edb7211_config'.

When using miket's pre-made files, I get nothing after the 'Pretending to be' 
message.  With my own kernel I get a single character.. the '<' character.

One thing I noticed that bothered me is that while shoehorn correctly detects 
my DRAM and it's address ranges, when it loads the initrd it loads it to an 
address beyond my DRAM range.  Has MMU been enabled at this point?

Below is the output when using the kernel I compiled:

--------------------------------------------------------

loader.bin: 1816 bytes (2048 bytes buffer)
../Image: 995880 bytes
../initrd.ext2-busybox.gz: 532480 bytes
shoehorn: warning: loader stack might clobber code
Waiting for target - press Wakeup now.
Writing SRAM loader...
Pinging loader
Initialising EDB7211 hardware:
- flushing cache/TLB
- 73MHz core clock
- 64kHz DRAM refresh
- enabling UART2
- Activate LED flasher
- Setting up flash at CS0 and CS1, 32 Bit, 3 Waitstates
- Setting up CS8900 (Ethernet) at CS2, 32 Bit, 5 Waitstates
- Setting up Keyboard at CS3, 8 Bit, 3 Waitstates
Switching to 115200 baud
Pinging loader
Detecting DRAM
- 16 bits wide
- start: 0xc0000000 size: 0x00400000 last: 0xc03fffff
- start: 0xc0800000 size: 0x00400000 last: 0xc0bfffff
Total DRAM: 8192kB
Loading ../Image:
- start: 0xc0028000 size: 0x000f3228 last: 0xc011b227
0x000f3228
initrd_start is c0b7e000
Moving initrd_start to c1000000
Loading ../initrd.ext2-busybox.gz:
- start: 0xc1000000 size: 0x00082000 last: 0xc1081fff
0x00082000
Writing parameter area
- nr_pages (all banks): 4096
- rootdev: (RAMDISK_MAJOR, 0)
- pages_in_bank[0]: 2048
- pages_in_bank[1]: 2048
- initrd_start: 0xc1000000
- initrd_size: 0x82000
- ramdisk_size: 0x82000
- start: 0xc0020000 size: 0x00000900 last: 0xc00208ff
0x00000900
0x00000100
Switching back to 9600 baud
Pinging loader
Starting kernel
Pretending to be a terminal - interrupt to exit.
<


--------------------------------------------------------

Thanks for any help and sorry for the long post.
Lance F.


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to