AnsweredAssumed Answered

Uboot question for LS1046

Question asked by Michael Chen on Jul 10, 2017
Latest reply on Jul 11, 2017 by ufedor

hi, I have few questions about uboot for LS1046,

First question: I can't boot from Bank4, I use command "cpld reset altbank", probably the bank 4 is crashed, how can I recover it?

@

Second question, the bootcmd is abnormal, i use command

"setenv bootcmd sf probe 0:0;sf read $kernel_load $kernel_start $kernel_size;bootm $kernel_load"

to config the parameters, but, it boot immediatly that I am not possible to use saveenv to save the parameter, what should i do?

 

followed the the detailed printenv

 

baudrate=115200
bootargs=root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
bootcmd=bootm 84000000
bootdelay=10
console=ttyS0,115200
eth1addr=00:04:9f:04:af:09
eth2addr=00:04:9f:04:af:04
eth3addr=00:04:9f:04:af:05
eth4addr=00:04:9f:04:af:07
eth5addr=00:04:9f:04:af:06
eth6addr=00:1b:21:39:47:11
ethact=FM1@DTSEC6
ethaddr=00:04:9f:04:af:08
ethprime=FM1@DTSEC6
fdt_high=0xffffffffffffffff
fdtcontroladdr=ffdf97b0
fileaddr=86000000
filesize=21d1d02
fman_ucode=ffe0c5c0
gatewayip=192.168.1.1
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
ipaddr=192.168.1.100
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x1000000
loadaddr=0x80100000
mtdparts=1550000.quadspi:1m(rcw),15m(u-boot),48m(kenel.itb);7e800000.flash:16m(nand_uboot),48m(nand_kernel),448m(nand_free)
netmask=255.255.255.0
othbootargs=mtdparts=1550000.quadspi:1m(rcw),15m(u-boot),48m(kenel.itb);7e800000.flash:16m(nand_uboot),48m(nand_kernel),448m(nand_free)
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=192.168.1.10
stderr=serial
stdin=serial
stdout=serial

Outcomes