Hi, Not sure if by default 'boot' will interrogate the variable 'bootcmd' so by looking at your current uboot configuration (setenv...), maybe just try 'run bootcmd' instead of 'boot'.
As you will probably use a zImage... that will setup your env. and then call the 'bootz' with DTB parameter and the KERNEL ATAGS parameter set. You may also look at the u-boot documentation for more information: http://www.denx.de/wiki/DULG/Manual On 25/05/2016 18:33, [email protected] wrote: > hii friends > > we are trying to boot linux kernel from nand flash .firstly we boot u boot > from qspi and then setting the environment for booting kernel from > nand flash we followed following steps .but following error is coming. plz > help us.what exactly i,m missing ?? > i have unzipped rootfs in nand flash already. > > //////////////////////// > U-Boot 2013.01.01 (Nov 03 2015 - 15:13:28) > > CPU : Altera SOCFPGA Platform > BOARD : Altera SOCFPGA Cyclone V Board > I2C: ready > DRAM: 1 GiB > MMC: ALTERA DWMMC: 0 > SF: Read data capture delay calibrated to 4 (1 - 8) > SF: Detected N25Q512 with page size 65536, total: 67108864 > In: serial > Out: serial > Err: serial > Skipped ethaddr assignment due to invalid EMAC address in EEPROM > Net: mii0 > Warning: failed to set MAC address > > Hit any key to stop autoboot: 0 > SOCFPGA_CYCLONE5 # setenv bootcmd "run bridge_enable_handoff; run > qspiload; run qspiboot" > SOCFPGA_CYCLONE5 # setenv qspiboot "setenv bootargs console=tty0 > console=ttyS0,115200 root=${nandroot} rw > rootfstype=${nandrootfstype};bootz ${loadaddr}-${fdtaddr}" > SOCFPGA_CYCLONE5 # saveenv > Saving Environment to SPI Flash... > SF: Detected N25Q512 with page size 65536, total: 67108864 > Erasing SPI flash...Writing to SPI flash...done > SOCFPGA_CYCLONE5 # boot > ## Starting application at 0x3FF79550 ... > ## Application terminated, rc = 0x0 > SF: Detected N25Q512 with page size 65536, total: 67108864 > FDT and ATAGS support not compiled in - hanging > ### ERROR ### Please RESET the board ### > > > > संदीप सिंह / Sandeep Singh > वरिष्ठ अभियंता (वि एवं अभि.) / > SE (D&E) > भारत इलेक्ट्रॉनिक्स > लिमिटेड / Bharat Electronics Ltd. > कोटद्वार/ Kotdwara – 246149 > उतारखंड /UttaraKhand > भारत / India > दूरभाष / Phone: 01382 – 236720 > > > > Every 3000 Sheets of paper costs us a tree.. Save trees... Conserve > Trees. Don't print this email or any Files unless you really need to!!!! > Confidentiality Notice > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of > the addressee(s) and may contain confidential or privileged > information. If you are not the intended recipient, please notify > the sender at Bharat Electronics or [email protected] immediately > and destroy all copies of this message and any attachments. > > _______________________________________________ > Rfi mailing list > [email protected] > http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi -- -- Best regards, Gilles Lasnier. PhD., Distributed Real-time and Embedded systems. CIELE Ingénierie - R&D and Innovation http://www.ciele.fr 135 Chemin des Bassins, 94000 Créteil (FRANCE) Mobile : +33 (0) 6 72 45 57 78 Work : +33 (0) 1 49 80 56 32 _______________________________________________ Rfi mailing list [email protected] http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi
