Hi Angelo,

On 08/02/2011 06:33 PM, angelo wrote:
i am looking for some help for the following issue:

I had uClinux running perfectly on Coldfire MCF5307/4M nor FLASH/16M
SDRAM, when it was copied from flash to SDRAM at address 0x400, just
after the VBR, and i was then jumping at 0x400 from the "colilo"
bootloader that was running from the flash.

Now i changed the bootloader using U-boot, and this bootloader works
reloacted into SDRAM, from 0x0 to 0x20000, so i recompiled uClinux to be
copied in SDRAM just after the bootloader, with these settings:

(0x0) Address of the base of RAM
(0x1000000) Size of RAM (in bytes), or 0 for automatic
(0x0) Address of the base of system vectors
(0x20000) Address of the base of kernel code

Firstly check that these settings are getting it right by
objdump'ing the kernel object headers:

    m68k-uclinux-objdump --headers linux-2.6.x/vmlinux


Once copied from flash to sdram (at 0x20000) and started (with u-boot
command "go 0x20000") i don't get any output from the serial console at
all, like if the kernel is locked near the beginning.

Double check that the code you copied really is what you think
it is. Dump a few dozen bytes from 0x20000 in uboot and compare
against the image.bin/kernel you loaded.


I don't know how to debug this issue, any help is very appreciated.

Is it possible that the kernel is running, but just that the console
is no longer being set properly (say by not getting bootargs correctly)?

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to