| Summary: | [beaglebone] u-boot can not autoboot | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | Yi Zhao <yi.zhao> | ||||||
| Component: | bsps-meta-yocto | Assignee: | Kevin Hao <kexin.hao> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | Yi Zhao <yi.zhao> | ||||||
| Severity: | normal | ||||||||
| Priority: | Medium+ | CC: | alexander.kanevskiy, alexandru.c.georgescu, bruce.ashfield, erkka.kaaria, ke.zou, sgw, yi.zhao | ||||||
| Version: | 2.1 | ||||||||
| Target Milestone: | 2.1 M3 | ||||||||
| Hardware: | BeagleBone | ||||||||
| OS: | arm | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) | ||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||
| Attachments: |
|
||||||||
|
Description
Yi Zhao
2016-01-29 09:23:58 UTC
Created attachment 2953 [details]
u-boot-2015.7.log
The full log for u-boot-2015.7
(In reply to comment #0) > Created attachment 2952 [details] > u-boot-2016.1.log > > Image location: > http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1_M2.rc1/machines/ > beaglebone/ > > Git rev: master/3d2c0f5902cacf9d8544bf263b51ef0dd1a7218c > > After u-boot updated to 2016.1, when system boot, it enters the interactive > commandline and can not autoboot for beaglebone: > ################# > U-Boot SPL 2016.01 (Jan 26 2016 - 17:49:08) > Trying to boot from MMC > reading args > spl_load_image_fat_os: error reading image args, err - -1 > reading u-boot.img > reading u-boot.img > > > U-Boot 2016.01 (Jan 26 2016 - 17:49:08 -0800) > > Watchdog enabled > I2C: ready > DRAM: 512 MiB > NAND: 0 MiB > MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 > *** Error - No Valid Environment Area found > *** Warning - bad CRC, using default environment > > Net: <ethaddr> not set. Validating first E-fuse MAC > cpsw, usb_ether > => > ############## In interactive command line, run bootcmd can boot without problems > > Check the u-boot var, there is no bootdelay in defatult setting: > ########### > => printenv bootdelay > ## Error: "bootdelay" not defined > => > ############# > > The attachment is the full log for u-boot-2016.1 0 Ignore my previous reply I bisected the u-boot codebase and found that the patch which broke beaglebone autobooting is http://git.denx.de/?p=u-boot.git;a=commit;h=755324c432f62306487786f89efce96398291a03 This was then fixed in http://git.denx.de/?p=u-boot.git;a=commit;h=7205442e621db54ea06c3bca2d793e1ae2214f9c I backported this patch in http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master-next&id=a46dc87c92b4cf3f56c17b6f1d6e53ed0583bc09 This has been fixed by Erkka Kääriä. Verified with 2.1 M3 RC1 git rev: master/8debfea81e69d038bd2d56314b272cb74f5582ed |