Port-arm archive

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

Booting BeagleBone Enhanced



I am trying to boot a SanCloud BeagleBone Enhanced board (should be mostly same as BeagleBone Black) and running into problems.

I did the following to build the image:

- Downloaded armv7.img.gz from nycdn.netbsd.org (HEAD 202206032050Z)

- Copied uncompressed image to a microSD card

- Built sysutils/u-boot-beagleboneblack package

- Copied files from u-boot package (MLO, installboot.plist, u-boot.img) to /boot partition on microSD card

- Powered on board with debug serial port connection

The NetBSD efi/boot/bootarm.efi file seems to be loaded and starts to run, but then resets the CPU after a “data abort” (see below).  

Have I done something wrong with setting this up?  Does anyone have experience with this?  Does anyone have experience with the BB Black that might help?  Where can I look to see what is going wrong?

By the way, this boots Debian just fine.

Thanks for any help.

Cheers,
Brook


U-Boot SPL 2018.11 (Jun 19 2022 - 07:26:26 -0600)
Trying to boot from MMC1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Loading Environment from MMC... *** Warning - bad CRC, using default environment



U-Boot 2018.11nb4 (Jun 19 2022 - 07:26:26 -0600)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Loading Environment from MMC... *** Warning - bad CRC, using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
201 bytes read in 1 ms (196.3 KiB/s)
Running bootscript from mmc0 ...
## Executing script at 82000000
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
95718 bytes read in 20 ms (4.6 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi
Scanning disks on usb...
Disk usb0 not ready
Disk usb1 not ready
Disk usb2 not ready
Disk usb3 not ready
Scanning disks on mmc...
MMC Device 2 not found
MMC Device 3 not found
Found 4 disks
171568 bytes read in 15 ms (10.9 MiB/s)
## Starting EFI application at 82000000 ...

  \\-__,------,___.
   \\        __,---`  NetBSD/evbarm efiboot (arm)
    \\       `---,_.  Revision 2.13 (Fri Jun  3 19:59:59 UTC 2022)
     \\-,_____,.---`
      \\
       \\
        \\

Press return to boot now, any other key for boot prompt
booting netbsd - starting in 5 seconds. 4 seconds. 3 seconds. 2 seconds. 1 seconds. 0 seconds.     
|/-\|/-\|/-\|/9134176-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+2442592/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+1407648\|/- [455410\|/-\|/+757472-\|/-\|/-\|/+576813-\|/-\|/-\]=0xe21644
data abort
pc : [<9ff5797a>]   lr : [<9ff579b1>]
reloc pc : [<8080097a>]   lr : [<808009b1>]
sp : 9df35a4c  ip : 00000000 fp : 00000000
r10: 9ff57000  r9 : 9df36eb8 r8 : 00019040
r7 : 9ff57c00  r6 : 9ff57bb4 r5 : 000000ad  r4 : 0001ac00
r3 : 00000000  r2 : 00000050 r1 : 9ff57bb0  r0 : abb1aaad
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32
Code: ea83428a d1f52010 f856bdf0 40685b04 (f854b2c5) 
UEFI image [0x9cf04000:0x9cf2c89f] '/\efi\boot\bootarm.efi'
Resetting CPU ...

resetting ...




Home | Main Index | Thread Index | Old Index