From: Matwey V. Kornilov Date: Mon, 2 Nov 2015 18:57:14 +0300 Subject: [U-Boot] [BUG] am335x_evm_defconfig doesn't boot with 2015.10 Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I am facing the following when trying to boot on beaglebone black: U-Boot SPL 2015.10 (Nov 01 2015 - 17:51:08) bad magic bad magic spl_register_fat_device: fat register err - -1 spl_register_fat_device: fat register err - -1 spl_load_image_fat: error reading image u-boot.img, err - -1 spl: ext4fs_open failed spl: ext4fs_open failed spl_load_image_ext: error reading image uImage, err - -1 U-Boot 2015.10 (Nov 01 2015 - 17:51:08 +0000) 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: not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 2777 bytes read in 10 ms (270.5 KiB/s) Running bootscript from mmc0 ... ## Executing script at 82000000 switch to partitions #0, OK mmc0 is current device 7316696 bytes read in 444 ms (15.7 MiB/s) 48645094 bytes read in 2814 ms (16.5 MiB/s) 35700 bytes read in 24 ms (1.4 MiB/s) Kernel image @ 0x82000000 [ 0x000000 - 0x6fa4d8 ] data abort pc : [<9ff63ece>] lr : [<9ff63f25>] reloc pc : [<80810ece>] lr : [<80810f25>] sp : 9ef32228 ip : 0000001c fp : 9ef39bf4 r10: 00000003 r9 : 9ef32ed8 r8 : 00000002 r7 : 9ffa421c r6 : 9ffa4220 r5 : 00000003 r4 : 9ffa4184 r3 : 56190527 r2 : 9ffa4184 r1 : 9ef39bf4 r0 : 00000000 Flags: nZcv IRQs off FIQs on Mode SVC_32 Resetting CPU ... resetting ... Last working version was 2015.10-rc4. 2015.10-rc5 does not work. gcc version is 5.2.1 u-boot has been compiled as the following: make -j 1 'CFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' am335x_evm_defconfig make -j 1 'CFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' USE_PRIVATE_LIBGG=yes