[RTEMS Project] #3152: Beaglbone Black crashes on u-boot master build.

RTEMS trac trac at rtems.org
Fri Sep 22 05:27:55 UTC 2017


#3152: Beaglbone Black crashes on u-boot master build.
-------------------------+-------------------------------
 Reporter:  Chris Johns  |      Owner:  joel.sherrill@…
     Type:  defect       |     Status:  new
 Priority:  high         |  Milestone:  4.12.0
Component:  bsps         |    Version:  4.12
 Severity:  blocker      |   Keywords:  Beaglebone u-boot
-------------------------+-------------------------------
 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
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3152>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list