Pocket Beagle 2 Images and bb-imager

Hey There,

I am trying to flash an image to the PB2. I got one of the images on bb-imager to flash but I had to take dhcp auto off of the options picked.

Do I need to manually add an IPv4 address myself and/or how should I go about handling the image and Internet Sharing on a Windows Host with PuTTY or another client?

The older model with two cores, well actually I only got it up and running once, got me to the Internet and via the Windows Host via Internet Sharing.

I can make my own manual target config. with the PB2 but I wanted to make sure this is how one should go about it, i.e. trying to mark out any errors that I can mark out.

Seth

P.S. I picked up the four core one recently and I wanted to make sure it was the four core PB2 but I have not been able to update/upgrade via the old routine on the PB2 in a bit:

sudo ip addr flush dev usb0
sudo dhclient usb0

I would check, after entering PuTTY via a COM terminal, ip a and then once usb0 was available, I would perform the two commands from above and get online via Internet Sharing.

Recently, I have had no such luck on Windows with the NCM drivers. Is anyone else having complications getting online via their PB2 and how have you overcome this obstacle?

Also…

I tried openocd. I do not know enough about it for now. I got the pi probe debugger for use with the PB2 and other devices that allow for SWD and UART.

Right now, since on WSL2 machines within Windows 11, I am not able to get the pi probe to register on the PB2 and a Windows 11 machine via WSL2. So, no issue really. I can always try on an Ubuntu image or Debian Bookworm for testing in the future.

I am just wondering about some points:

  1. Would I need openocd to handle debugging my set up on the PB2?

or…

  1. Can I use the pi probe as an UART probe with the PB2?

Learning in time and testing will keep on going…

Seth

If you are using Windows Internet Connections Sharing, leave the dhcp auto on…

Regards,

1 Like

Hey,

@RobertCNelson , I cannot get an image from the 0.0.7 version of bb-imager to boot a properly built image from within its confines.

So, bb-imager offers Board -> Image -> Done. No matter what image I pick or if I choose DHCP on or off or auto or ON/OFF and any image, I cannot use it.

I can boot dhcp off images for the PB2 for most of them. The others just do not boot with 0.0.7 of the bb-imager source.

Do you have another idea I can try or should I reach out elsewhere?

Seth

Which exact image are you flashing thru bb-imager-rs?

1 Like

I am not using -rs. I am using the 0.0.7 version of bb-imager.

I am using this one on…ut oh.

Maybe my silly self installed the Windows Version for Ubuntu. Blah.

zip files. I need to go and check.

Just a heads up here. I could not understand what to do with the bb-imager-rs files from openbeagle.org.

Seth

Which of the 3 images it recommended did you use?

Bookworm and all.

I tried all.

I tried the Bookworm minimal and Bookworm IoT and Zephyr.

Seth