Opened on 09/22/17 at 05:27:55
Closed on 10/14/18 at 00:42:04
#3152 closed defect (wontfix)
Beaglebone Black crashes on u-boot master build.
Reported by: | Chris Johns | Owned by: | Chris Johns |
---|---|---|---|
Priority: | high | Milestone: | 5.1 |
Component: | arch/arm | Version: | 5 |
Severity: | blocker | Keywords: | Beaglebone u-boot |
Cc: | Blocked By: | ||
Blocking: |
Description
The crash with a Linux type image and no FDT is:
] ## Booting kernel from Legacy Image at 82000000 ... ] Image Name: RTEMS ] Image Type: ARM Linux Kernel Image (gzip compressed) ] Data Size: 60886 Bytes = 59.5 KiB ] Load Address: 80000000 ] Entry Point: 80000000 ] Verifying Checksum ... OK ] Uncompressing Kernel Image ... OK ] ] Starting kernel ... ] ] data abort ] ] MAYBE you should read doc/README.arm-unaligned-accesses ] ] pc : [<8000010c>] lr : [<800000ac>] ] sp : 80101000 ip : 0000000c fp : 9f35ac28 ] r10: 9f3ad0f4 r9 : 00000000 r8 : 9f238f40 ] r7 : 00000000 r6 : 80000100 r5 : 00000e05 r4 : 60000193 ] r3 : 9f238fe0 r2 : 80000100 r1 : 00000e05 r0 : 60000193 ] Flags: nzcv IRQs off FIQs on Mode SVC_32 ] Resetting CPU ...
and the code is:
BSP_START_TEXT_SECTION void bsp_start_hook_0(void) { } 80000104: e12fff1e bx lr 80000108 <bsp_start_hook_1>: BSP_START_TEXT_SECTION static inline arm_a8core_start_set_vector_base(void) { /* * Do not use bsp_vector_table_begin == 0, since this will get optimized away. */ if (bsp_vector_table_end != bsp_vector_table_size) { 80000108: e3002040 movw r2, #64 ; 0x40 8000010c: e3003040 movw r3, #64 ; 0x40 80000110: e3482000 movt r2, #32768 ; 0x8000 80000114: e3403000 movt r3, #0 80000118: e1520003 cmp r2, r3
Change History (6)
comment:1 Changed on 09/22/17 at 08:12:37 by Chris Johns
comment:2 Changed on 09/25/17 at 03:45:39 by Chris Johns
The SD card requires you position the SPL (MLO) and u-boot image in specific locations to boot:
dd if=MLO of=sdcard.img count=1 seek=1 conv=notrunc bs=128k dd if=u-boot.img of=sdcard.img count=2 seek=1 conv=notrunc bs=384k
The SD card can be formatted with anything.
comment:3 Changed on 10/10/17 at 06:54:12 by Sebastian Huber
Component: | bsps → arch/arm |
---|
comment:4 Changed on 10/11/17 at 23:11:19 by Joel Sherrill
Owner: | changed from joel.sherrill@… to Chris Johns |
---|---|
Status: | new → assigned |
Summary: | Beaglbone Black crashes on u-boot master build. → Beaglebone Black crashes on u-boot master build. |
comment:5 Changed on 11/09/17 at 06:27:14 by Sebastian Huber
Milestone: | 4.12.0 → 5.1 |
---|
Milestone renamed
comment:6 Changed on 10/14/18 at 00:42:04 by Joel Sherrill
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
There is a work around. If broken again, someone can reopen or file a new ticket.
Note: See
TracTickets for help on using
tickets.
My u-boot is the original one that comes with the board. I am working out how to get a new one to boot from an SD Card