Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

BeagleBone Black boot information


Is there an MLO for the BeagleBone Black yet which can load a kernel from ffs? I'm using MLO and u-boot.img from this page:


Why is the kernel compiled with:
 load addr:   0x80300000
 entry point: 0x80300000

yet when I try to load and boot the kernel there, it fails:

U-Boot# fatload mmc 0:1 80300000 netbsd.ub
reading netbsd.ub
2998016 bytes read in 344 ms (8.3 MiB/s)
U-Boot# bootm 80300000
## Booting kernel from Legacy Image at 80300000 ...
   Image Name:   NetBSD/beagle 6.99.23
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    2997952 Bytes = 2.9 MiB
   Load Address: 80300000
   Entry Point:  80300000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 80300000) ...
data abort

    MAYBE you should read doc/README.arm-unaligned-accesses

pc : [<80300008>]    lr : [<9f35b654>]
sp : 9f238db0  ip : 0000000f     fp : 9f239818
r10: 9f3ad780  r9 : 00000002     r8 : 9f238f40
r7 : 00000000  r6 : 00000002     r5 : 9f3a1235  r4 : 80300000
r3 : 9f3a1235  r2 : 9f3a1235     r1 : 00000000  r0 : 9f238fe0
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32
Resetting CPU ...

resetting ...

When I load and run from 0x81000000, it works... So what's the relationship between the NetBSD kernel's load address and entry point and u-boot's load address and start address?

I'm trying to make sense of all of this because the GNU/Linux documentation assumes the world is GNU/Linux and doesn't talk about the BeagleBone except assuming that the OS is already booted, plus there is no NetBSD documentation and the only mentions of NetBSD on BeagleBone Black just say it boots, not how to set up a working system. I suppose a HOW-TO is in order, which I'll do when I've gotten mine working.


Home | Main Index | Thread Index | Old Index