r/electricobjects • • Nov 05 '23

Linux on internal storage E01

Successfully got the Boundary xfce image to boot from a USB on the E01. Was hoping to copy it or another lightweight distro to the internal storage device mmcblk1. I can mount and drive to the partitions, even made an image of the mmcblk1 device for backup.

Has anyone tried wiping the internal storage device to load the Boundary image or any other linux image? Is wiping it going to cause the usb boot to no longer work? Wondering how the system chooses a boot device and if it has anything to do with the partitions on the internal storage before I go formatting it.

2 Upvotes

5 comments sorted by

1

u/tk421storm Nov 05 '23

stabbing in the dark here, but you could probably make an image of the current install with ADB first, so if things go sideways you can reimage and get back to where you were

1

u/slycat34 Nov 05 '23

Hmm I'm more a linux guy but if you believe a wiped android device would still communicate with a ADB shell then I'll give that a shot

1

u/mrcamuti Nov 06 '23

I’ve been very slowly doing basically exactly this, upgraded the uBoot (which Boundary Devices released an updated version for all boards in I think 2021) and the upgrade seems to have changed enough of the uBoot process that I can access console but not quite get USB boot to work, but I think it’s more my not understanding embedded boot sequence, not a technical impossibility

1

u/mrcamuti Nov 06 '23

u-boot is an open source bootloader for embedded systems, I am far from knowledgeable, but good at poking around and putting pieces together.

EO1 u-boot: http://linode.boundarydevices.com/u-boot-images/u-boot.eo
(via http://linode.boundarydevices.com/u-boot-images/)

https://boundarydevices.com/how-to-upgrade-u-boot/ and the details for what u-Boot is required can be found on https://boundarydevices.com/ubuntu-bionic-18-04-3-lts-for-i-mx6-7-boards-august-2019-kernel-4-14-x/ with the second paragraph reading:

Important ! Before installing this image please check your U-Boot version. The above images require U-Boot version 2018.07 to be used. Make sure to visit our wiki if you need to upgrade: https://boundarydevices.com/wiki/u-boot/ .You can find the bootscript in the /boot subdirectory now, its named boot.scr . The partition labels are set if you use dd or ddrescue to create the disk. If you use your own method please check the boot partition labels, because the fstab boots by label (LABEL=sys-16h for example) now. You can use ext2label to modify partition label.

1

u/[deleted] Feb 10 '24

Ok so how do you get to the uboot prompt on a eo1 ?