uboot env
===NAS110 PCBA nfs_boot: setenv ipaddr '192.168.1.99' setenv serverip '192.168.1.100' setenv setconsole 'console=ttyS0,115200' setenv setip 'ip=dhcp' setenv setip 'ip=192.168.1.98' setenv setnfs 'root=/dev/nfs nfsroot=192.168.1.100:/home/NAS110/rootfilesystem/rootfs' setenv loadkernel 'tftpboot 0x200000 uImage.20090930' setenv bootcmd '$(loadkernel);setenv bootargs $(setconsole) $(setip) $(setnfs);bootm 0x200000;' saveenv ===NAS110 PCBA nand boot(mtd boot) setenv mtdids 'nand0=nand_mtd' setenv mtdparts 'mtdparts=nand_mtd:0x100000@0(uboot)ro,0x100000@0x100000(system1),0x100000@0x200000(system2),0x300000@0x300000(kernel)ro,0x700000@0x600000(RootFS)ro' setenv bootcmd 'nand read 0x2000000 0x300000 0x300000 ;setenv bootargs $(console) $(mtdparts) rootfstype=squashfs root=/dev/mtdblock5;bootm 0x2000000;' setenv console 'console=ttyS0,115200' setenv ipaddr '192.168.1.99' setenv serverip '192.168.1.100' setenv bootargs '' ===NAS110 PCBA nand boot(ramdisk boot) setenv loadimage '' setenv setbootargs 'setenv bootargs console=ttyS0,115200 root=/dev/ram0 rootfstype=squashfs initrd=0x2000000,0x700000 ramdisk_size=7168' setenv bootcmd 'nand read 0x800000 0x300000 0x300000;nand read 0x2000000 0x600000 0x700000;$(setbootargs);bootm 0x800000;' setenv console 'console=ttyS0,115200' setenv ipaddr '192.168.1.99' setenv serverip '192.168.1.100' ===build squashfs mksquashfs ./rootfs rootfs20090917 ===load image nand erase 0x300000 0x300000 tftpboot 0x1000000 uImage.20090930 nand write 0x1000000 0x300000 0x300000 nand erase 0x600000 0x700000 tftpboot 0x1000000 rootfs20090917.sqfs nand write 0x1000000 0x600000 0x700000 ===write uboot: bubt u-boot-db88f6281abp_400db_nand_20090819.bin bubt u-boot-db88f6281abp_400db_nand@20090821.bin bubt u-boot-db88f6281abp_400db_nand-3.4.19@20090824.bin bubt u-boot-db88f6281abp_400db_nand_20090826.bin bubt u-boot-db88f6281abp_400db_nand_3.4.18_20090826.bin bubt u-boot-db88f6281abp_3.4.19_nand@20090902.bin bubt u-boot-db88f6281abp_400db_nand.bin bubt u-boot-Foxlink-1GB.bin bubt u-boot-1114.bin bubt u-boot-20090915.bin bubt u-boot-20090916.bin bubt u-boot-20090917_2.bin ========================================================================== ========================================================================== =====proware nand boot nand erase 0x300000 0x300000 tftpboot 0x1000000 uImage.20090930 nand write 0x1000000 0x300000 0x300000 nand erase 0x600000 0x3500000 tftpboot 0x1000000 rootfs.squashfs_0930 nand write 0x1000000 0x600000 0x3500000 nand erase 0x3b00000 0x6b00000 tftpboot 0x1000000 dom_0930.img nand write 0x1000000 0x3b00000 0x6b00000 setenv loadimage '' setenv setbootargs ‘setenv bootargs console=ttyS0,115200 rootfstype=squashfs initrd=0x2000000,0x3500000 ramdisk_size=128000’ setenv bootcmd ‘nand read 0x800000 0x300000 0x300000;nand read 0x200000 0x600000 0x3500000;$(setbootargs);bootm 0x800000;’bubt
Marvell>> setenv ipaddr '192.168.1.99' Marvell>> setenv serverip '192.168.1.100' Marvell>> bubt u-boot-db88f6281abp_400db_nand-3.4.19@20090824.bin Using egiga0 device TFTP from server 192.168.1.100; our IP address is 192.168.1.99 Filename 'u-boot-db88f6281abp_400db_nand-3.4.19@20090824.bin'. Load address: 0x2000000 Loading: ################################################################# ############################ done Bytes transferred = 474036 (73bb4 hex) **Warning** If U-Boot Endiannes is going to change (LE->BE or BE->LE), Then Env parameters should be overriden.. Override Env parameters? (y/n) n Erase 0 - 655360 ... Copy to Nand Flash... Failed write verify, nand offset 0x00000000. Suggest to erase block and repeat write ope! If problem persists suggest marking block as bad (nand markbadbuild kernel) and repeating the operation! writing NAND page at offset 0x0 failed Data did not fit into device, due to bad blocks Error - NAND burn faild!
1. cd /home/NAS110/Kernel/linux-2.6.22.18 2. . ./set_path.sh 3. make mrproper 4. make mv88f6281_defconfig 5. make uImage (uImage會放在arch/arm/boot/) 6. cp ./arch/arm/boot/uImage /home/NAS110/images
沒有留言:
張貼留言