- Timestamp:
-
03/24/14 15:08:44 (10 years ago)
- Author:
-
Beng
- Comment:
-
documenting my experiments with booting this image on the bbxm (emulator).
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v8
|
v9
|
|
30 | 30 | |
31 | 31 | |
32 | | Currently under construction, please come back in a few days... |
| 32 | This page documents the currently un-mainline support for the original Beagleboard. |
33 | 33 | = Board Setup = |
34 | 34 | |
… |
… |
|
136 | 136 | ## Transferring control to RTEMS (at address 80000000) ... |
137 | 137 | bsp_interrupt_facility_initializebeagle_set_exception_handler |
138 | | |
| 138 | |
139 | 139 | *** BEGIN OF TEST HELLO WORLD *** |
140 | 140 | Hello World |
… |
… |
|
146 | 146 | |
147 | 147 | How do you debug code on this board? What gdb setup? BDM, stub, etc? |
| 148 | = Beagleboard XM, Linaro qemu = |
148 | 149 | |
149 | | =Test Reports= |
| 150 | |
| 151 | Using a different emulator (fork), and running a different u-boot, emulating a beagleboard xm, this hello world also works on the bbxm. The bbxm has no internal NAND so booting is a bit different, the mmc card is needed. the image referenced contains a FAT partition that contains hello.img: |
| 152 | |
| 153 | $ qemu-system-arm -M beaglexm -drive if=sd,cache=writeback,file=rtems_arm_sd.img -clock unix -serial stdio |
| 154 | |
| 155 | booting then looks like: |
| 156 | |
| 157 | OMAP3 beagleboard.org # fatload mmc 0:1 0x80800000 hello.img |
| 158 | reading hello.img |
| 159 | 56548 bytes read in 12 ms (4.5 MiB/s) |
| 160 | OMAP3 beagleboard.org # bootm 0x80800000 |
| 161 | ## Booting kernel from Legacy Image at 80800000 ... |
| 162 | Image Name: RTEMS |
| 163 | Image Type: ARM RTEMS Kernel Image (gzip compressed) |
| 164 | Data Size: 56484 Bytes = 55.2 KiB |
| 165 | Load Address: 80000000 |
| 166 | Entry Point: 80000000 |
| 167 | Verifying Checksum ... OK |
| 168 | Uncompressing Kernel Image ... OK |
| 169 | ## Transferring control to RTEMS (at address 80000000) ... |
| 170 | bsp_interrupt_facility_initializebeagle_set_exception_handler |
| 171 | |
| 172 | *** BEGIN OF TEST HELLO WORLD *** |
| 173 | Hello World |
| 174 | *** END OF TEST HELLO WORLD *** |
| 175 | |
| 176 | This means that bbxm support should not be too far off. |
| 177 | = Test Reports = |
150 | 178 | |
151 | 179 | |