PocketBeagle 2 for Christmas

Hi - I got a pocketbeagle2 for Christmas!

Just installed debian. Now looking at how to get the various bits of hardware working.

Configuring the linux to define the pin IO correctly I’m, used to doing with device tree overlays, and I see there is a nice set in /boot/firmware/overlays - but now have to tell uboot to add the device tree overlay over the loaded device tree. I’m used to uboot being configured to read some files from the linux system, where you can can specify uboot commands - like loading deice tree and applying overlays. But on pocket beagle 2 - I can’t see these in /boot ! So how does one modify what the uboot applies? - I’m hoping I don’t have to attach a uart and interrupt ubooot during boot up. Or like on the beagle family is there a capemanager in the kernel that I can tell it what device tree overlay to use - e.g. on beagle black I used:

echo BB-UART1 > /sys/devices/platform/bone_capemgr/slots

Next I’m hoping to program the M4F sub processor, maybe the remote mspm0 device, and the internal PRUSS. I’ve downloaded the arm-none-eabi-gcc that I guess will have gcc linked to the minimal build system (newlib and the like). But when I generate the code (e.g. intel hex map) where on earth do I write these, and how to get the embedded devices to run (e.g. do the embedded cpu auto restart upon flash)?

I recon it far easier for me to ask, rather than to reverse engineer all this …

1 Like

that is a very old method, fast forward a decade, LOL

PB2 uses extlinux.conf for overlays

location: /boot/firmware/extlinux/extlinux.conf

example: fdtoverlays /overlays/k3-am62-pocketbeagle2-spi2-eth-wiz-click.dtbo

i haven’t worked with M4F yet, so i’ll let someone else chime in on that.

Ta - I am very old :slight_smile:

I’ll look into extlinux.conf - sounds like a method I haven’t used before. Last I used was the chatting to uboot …

Eik! The last stable release of extlinix/syslinux was 11 years ago … and is a whole boot system - so I guess no uboot on the PB2?

And just checked what I last did on my beagle farm:

uboot and overlays

1 Like

Hmm PRU loks tricky, has anyone tried the GCC port: Gnu GCC PRU compiler

And seem to have a way into the PRU processors for writing under

/sys/bus/platform/drivers/pru-rproc

and also

/sys/class/remoteproc/