Changes between Version 17 and Version 18 of TBR/BSP/Beagleboard


Ignore:
Timestamp:
Apr 16, 2014, 8:27:21 AM (5 years ago)
Author:
ChrisJohns
Comment:

/* Building U-Boot */

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Beagleboard

    v17 v18  
    235235Note: I use FreeBSD so gmake is required.
    236236
     237U-Boot can be run via JTAG. Start OpenOCD and then run:
     238
     239 $ arm-rtems4.11-gdb u-boot
     240 GNU gdb (GDB) 7.6.2
     241 Copyright (C) 2013 Free Software Foundation, Inc.
     242 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
     243 This is free software: you are free to change and redistribute it.
     244 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
     245 and "show warranty" for details.
     246 This GDB was configured as "--host=x86_64-freebsd10.0 --target=arm-rtems4.11".
     247 For bug reporting instructions, please see:
     248 <http://www.gnu.org/software/gdb/bugs/>...
     249 Reading symbols from /usr/home/chris/development/rtems/bb/uboot/u-boot/u-boot...done.
     250 (gdb) target remote :3333
     251 Remote debugging using :3333
     252 0x00018354 in ?? ()
     253 (gdb) mon reset halt
     254 adapter speed: 10 kHz
     255 JTAG tap: dm37x.jrc tap/device found: 0x2b89102f (mfg: 0x017, part: 0xb891, ver: 0x2)
     256 JTAG tap: dm37x.dap enabled
     257 adapter speed: 1000 kHz
     258 dm37x.cpu: ran after reset and before halt ...
     259 dm37x.cpu: target state: halted
     260 dm37x.cpu: target halted in Thumb state due to debug-request, current mode: Supervisor
     261 dm37x.cpu: cpsr: 0x000001f3 pc: 0x00015dec
     262 dm37x.cpu: MMU: disabled, D-Cache: disabled, I-Cache: enabled
     263 (gdb) load
     264 Loading section .text, size 0x3af04 lma 0x80100000
     265 Loading section .rodata, size 0xd534 lma 0x8013af08
     266 Loading section .hash, size 0x2c lma 0x8014843c
     267 Loading section .data, size 0x5462 lma 0x80148468
     268 Loading section .got.plt, size 0xc lma 0x8014d8cc
     269 Loading section .u_boot_list, size 0x840 lma 0x8014d8d8
     270 Loading section .rel.dyn, size 0x7cf8 lma 0x8014e118
     271 Loading section .dynsym, size 0x60 lma 0x80155e10
     272 Loading section .dynstr, size 0x2a lma 0x80155e70
     273 Loading section .dynamic, size 0x80 lma 0x80155e9c
     274 Loading section .interp, size 0x11 lma 0x80155f1c
     275 Start address 0x80100000, load size 352037
     276 Transfer rate: 16 KB/sec, 11734 bytes/write.
     277 (gdb) display /i $pc
     278 1: x/i $pc
     279 => 0x80100000 <_start>: b       0x80100044 <reset>
     280 (gdb) si
     281 stepi ignored. GDB will now fetch the register state from the target.
     282 
     283 Program received signal SIGINT, Interrupt.
     284 _start () at arch/arm/cpu/armv7/start.S:23
     285 23      _start: b       reset
     286 1: x/i $pc
     287 => 0x80100000 <_start>: b       0x80100044 <reset>
     288 (gdb)
     289 reset () at arch/arm/cpu/armv7/start.S:95
     290 95              bl      save_boot_params
     291 1: x/i $pc
     292 => 0x80100044 <reset>:  bl      0x8010009c <save_boot_params>
     293 (gdb) c
     294
     295On the console serial port with a baudrate of 115200 I see:
     296
     297 U-Boot 2014.04 (Apr 16 2014 - 13:16:21)
     298 
     299 OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
     300 OMAP3 Beagle board + LPDDR/NAND
     301 I2C:   ready
     302 DRAM:  512 MiB
     303 NAND:  0 MiB
     304 MMC:   OMAP SD/MMC: 0
     305 *** Warning - readenv() failed, using default environment
     306 
     307 In:    serial
     308 Out:   serial
     309 Err:   serial
     310 Beagle xM Rev C
     311 No EEPROM on expansion board
     312 Die ID #402c00029ff8000001683b050a01c00e
     313 Net:   usb_ether
     314 Hit any key to stop autoboot:  0
     315 OMAP3 beagleboard.org #
    237316
    238317{{Navbox_BSPs}}