Re: [beagleboard] building something from source in image-builder script

2021-04-27 Thread John Allwine
Perfect, thanks! I completely missed this line where it blows the whole directory away: https://github.com/beagleboard/image-builder/blob/24b8b155b41d4d0b4a3d7d3e2295441df81b94b0/RootStock-NG.sh#L160 I must be looking at a partial temp directory from a canceled run or something. Thanks for your

Re: [beagleboard] building something from source in image-builder script

2021-04-27 Thread Robert Nelson
On Tue, Apr 27, 2021 at 1:59 PM John Allwine wrote: > > It seems like that tmp dir is missing a lot of data. Is there a clean up step > I need to comment out? If you kill it right here: https://github.com/beagleboard/image-builder/blob/master/scripts/chroot.sh#L1363 You can re-chroot in..

Re: [beagleboard] building something from source in image-builder script

2021-04-27 Thread John Allwine
It seems like that tmp dir is missing a lot of data. Is there a clean up step I need to comment out? On Tue, Apr 27, 2021 at 12:42 PM Robert Nelson wrote: > On Tue, Apr 27, 2021 at 1:36 PM John Allwine wrote: > > > > Is there a way to drop into a bash terminal within the qemu environment > to

Re: [beagleboard] building something from source in image-builder script

2021-04-27 Thread Robert Nelson
On Tue, Apr 27, 2021 at 1:36 PM John Allwine wrote: > > Is there a way to drop into a bash terminal within the qemu environment to > debug? I ran the RootStock-NG.sh script and see the ignore/tmp.X > directory. Does something like this work? > > After running RootStock-NG.sh; > sudo chroot

Re: [beagleboard] building something from source in image-builder script

2021-04-27 Thread John Allwine
Is there a way to drop into a bash terminal within the qemu environment to debug? I ran the RootStock-NG.sh script and see the ignore/tmp.X directory. Does something like this work? After running RootStock-NG.sh; sudo chroot /path/to/ignore/tmp.XXX /bin/bash (I get a

Re: [beagleboard] building something from source in image-builder script

2021-04-27 Thread Robert Nelson
On Tue, Apr 27, 2021 at 12:47 PM John Allwine wrote: > > The image-builder scripts (https://github.com/beagleboard/image-builder) are > great for putting together a Beaglebone image. Is there a mechanism in there > to build specific packages from source? I see some references to qemu in >

[beagleboard] This BeagleBoard Google Group is MOVING to forum.beagleboard.org

2021-04-27 Thread Jason Kridner
Please start new threads on forum.beagleboard.org/c/general/, rather than the Google Group. forum.beagleboard.org is running Discourse on our own dedicated server. I feel we can better serve the needs of the community through an open source tool we can customize as needed without asynchronous

[beagleboard] building something from source in image-builder script

2021-04-27 Thread John Allwine
The image-builder scripts (https://github.com/beagleboard/image-builder) are great for putting together a Beaglebone image. Is there a mechanism in there to build specific packages from source? I see some references to qemu in various places. Is it set up to cross compile? Any tips are

Re: [beagleboard] Beaglebone AI eMMC flasher

2021-04-27 Thread Pedro Cruz
Hello Robert, Attached is a trace file. I am using the file am57xx-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img and I burned it into SDCARD by using the balena tool. If I boot with the regular card, I don't see /dev/mmcblk1 in the ls /dev command. Could it be a damaged nand flash

Re: [beagleboard] Beaglebone AI eMMC flasher

2021-04-27 Thread Robert Nelson
On Mon, Apr 26, 2021 at 12:26 PM Pedro Cruz wrote: > > Hi, > > I am trying to flash BB_AI with eMMC flasher with > am57xx-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img but it aborts > flashing. > > It comes with the following error: > > Error: [/dev/mmcblk1] does not exist > > Can you

[beagleboard] Re: Beaglebone AI eMMC flasher

2021-04-27 Thread Dennis Lee Bieber
On Mon, 26 Apr 2021 10:18:00 -0700 (PDT), in gmane.comp.hardware.beagleboard.user Pedro Cruz wrote: >Hi, > >I am trying to flash BB_AI with eMMC flasher >with am57xx-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img but it >aborts flashing. > I never use the pre-built flasher