fl -s 0x100000 -d 0xffc00000 -l 0xab2af //烧录 kernel到 norflash
***********************
***********************
No match.It will try MX29LV320AT ERASE/WRITE
[First Sector=0h,Last Sector=ah]
**************************
**************************
linux -b 0xffc00000 -l 0xAB2AF -c "console=ttyS0,38400" //启动kernel
load -r -m tftp -h 192.168.123.2 -b 0x100000 openwrt-rdc-squashfs-
ar360w3g.bin //载入 文件系统到内核
“Raw file loaded 0x00100000-0x0041c80c, assumed entry at 0x00100000”
fl -s 0x100000 -d 0xFFCAB2AF -l 0x0031C80C //烧录文件系统到 norflash
**********************
**********************
fl -s 0x100000 -d 0xFFCAB2B0 -l 0x0031C80C
No match.It will try MX29LV320AT ERASE/WRITE
[First Sector=0h,Last Sector=3ch]
***********************
***********************
reset //重启系统后...
mem_size: 2000000
Bootsector magic not found (0xffff @ 0x4001fe)
// 看这个信息应该是从norflash 0的位置到 4MB的位置都没发现magic
fl -s 0x100000 -d 0xffc00000 -l 0xab2af //如果只是烧录 kernel,reset后等待一会就可以
启动内核,由于没烧录文件系统,所以要内核恐慌...
No match.It will try MX29LV320AT ERASE/WRITE
[First Sector=0h,Last Sector=ah]
看这个redboot烧写记录, 写内核和写文件系统都从第一个扇区开始写 first sector=0h,我的理解就是写了 kernel后再写
文件系统会覆盖掉 kernel.... 不知道如何解决这个问题。