First off USB boot works fine. I copied the ext3 rootfs partition from the USB drive to a sata disk. When I try to boot with the below setenv settings I get "Verifying Checksum ... Bad Data CRC" error when loading the kernel image "Linux-4.16.1-kirkwood-tld-1" Is there something I'm missing in the below setenv stuff? or should I try something else? I tried copying the partition twice. Thanks
This is the u-boot setenv stuff:
setenv hdd_make_boot_args 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:$(uboot_size)@$(uboot_start)(uboot),$(env_size)@$(env_start)(env),$(kernel_size)@$(kernel_start)(zImage),$(initrd_size)@$(initrd_start)(initrd),32m@0x0(flash) earlyprintk=serial'
setenv load_initrd 'ext2load scsi 0:2 0x2100000 /boot/uInitrd'
setenv load_uimage 'ext2load scsi 0:2 0x40000 /boot/uImage'
setenv hdd_boot 'scsi start; run load_uimage; run load_initrd; bootm 0x40000 0x2100000'
setenv bootcmd 'run hdd_make_boot_args ; run hdd_boot; reset'
boot
The bootlog of trying to boot the above is attached
The bootlog of USB boot is also attached
This is the u-boot setenv stuff:
setenv hdd_make_boot_args 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=orion_nand:$(uboot_size)@$(uboot_start)(uboot),$(env_size)@$(env_start)(env),$(kernel_size)@$(kernel_start)(zImage),$(initrd_size)@$(initrd_start)(initrd),32m@0x0(flash) earlyprintk=serial'
setenv load_initrd 'ext2load scsi 0:2 0x2100000 /boot/uInitrd'
setenv load_uimage 'ext2load scsi 0:2 0x40000 /boot/uImage'
setenv hdd_boot 'scsi start; run load_uimage; run load_initrd; bootm 0x40000 0x2100000'
setenv bootcmd 'run hdd_make_boot_args ; run hdd_boot; reset'
boot
The bootlog of trying to boot the above is attached
The bootlog of USB boot is also attached