Hi,
The problem due to MAC address.
I fixed by reading MAC address from flash, write to FEC_ADDR_LOW/HIGH,
then dhcp,  boa,... just worked fine.
However, if I turn off the board for a while (15s), the boot progress
just hang right after u-boot transfers the control to linux.

=====
   Verifying Checksum ... OK
   kernel data at 0xff840040, len = 0x001f2000 (2039808)
## No init Ramdisk
   ramdisk start = 0x00000000, ramdisk end = 0x00000000
   Loading Kernel Image ... OK
OK
   kernel loaded at 0x00020000, end = 0x00212000
## cmdline at 0x00f886f0 ... 0x00f88733
## kernel board info at 0x00f886b0
memstart    = 0x00000000
memsize     = 0x01000000
flashstart  = 0xFF800000
flashsize   = 0x00800000
flashoffset = 0x00000000
sramstart   = 0x20000000
sramsize    = 0x00001000
mbar        = 0x40000000
cpufreq     =    100 MHz
busfreq     =     50 MHz
ethaddr     = 00:e0:0c:bc:e5:60
ip_addr     = 192.168.2.200
baudrate    = 115200 bps
## initrd_high = 0xffffffff, copy_to_ram = 1
   ramdisk load start = 0x00000000, ramdisk load end = 0x00000000
## Transferring control to Linux (at address 00020000) ...
=====
u-boot source: arch/m68k/lib/bootm.c:
(*kernel) (kbd, initrd_start, initrd_end, cmd_start, cmd_end);

The problem does not happen if from u-boot, I download something from
tftp to ram (not flash), then reset the board (turn off in 5s).
I tried to set value to a IO port in setup_arch()
(...)m68knommu/kernel/setup.c but that function has not executed.

So may the problem is from bootloader or kernel? How to confirm the
kernel is executed or not?
Any suggestion about debugging it.

Thanks in advance.
_______________________________________________
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