The officially official Devuan Forum!

You are not logged in.

#26 2019-09-11 20:23:30

Ozi
Member
From: Melbourne, Australia
Registered: 2017-03-15
Posts: 105  
Website

Re: arm-sdk + rapsberry pi 4

I now have a 1.8gb img file! And a 136mb tar.gz file.

Also have and error: failed to run command '/postbuild': Exec format error

And there are 2 of : failed to run command '/dpkgdivert': Exec format error before and after the postbuild error

postbuild() {
    fn postbuild

    notice "executing $device_name postbuild"

    copy-root-overlay
    postbuild-clean
}

copy-root-overlay and postbuild-clean currectly don't exist, so added them should remove the errors.

 (*) copying raspi4-root
'/home/ozi/arm-sdk/extra/raspi4/boot/cmdline.txt' -> '/home/ozi/arm-sdk/tmp/devuan-arm64-build/bootstrap/boot/cmdline.txt'
'/home/ozi/arm-sdk/extra/raspi4/boot/config.txt' -> '/home/ozi/arm-sdk/tmp/devuan-arm64-build/bootstrap/boot/config.txt'
'/home/ozi/arm-sdk/extra/raspi4/etc/network/interfaces' -> '/home/ozi/arm-sdk/tmp/devuan-arm64-build/bootstrap/etc/network/interfaces'
'/home/ozi/arm-sdk/extra/raspi4/etc/wpa_supplicant' -> '/home/ozi/arm-sdk/tmp/devuan-arm64-build/bootstrap/etc/wpa_supplicant'
...

'/home/ozi/arm-sdk/extra/raspi4/lib/firmware/brcm/brcmfmac43455-sdio.txt' -> '/home/ozi/arm-sdk/tmp/devuan-arm64-build/bootstrap/lib/firmware/brcm/brcmfmac43455-sdio.txt'
  .  mounted sys
  .  mounted proc
  .  mounted dev
  .  mounted devpts
 (*) chrooting to execute dpkgdivert...
chroot: failed to run command '/dpkgdivert': Exec format error
 [E] error in: chroot-script dpkgdivert
 [W] called in: mounted devpts
 [W] called in: chrooting to execute dpkgdivert...
 [E] error reported, operation aborted.
mv: cannot stat '/home/ozi/arm-sdk/tmp/devuan-arm64-build/bootstrap/dpkgdivert.log': No such file or directory
 (*) chrooting to execute postbuild...
chroot: failed to run command '/postbuild': Exec format error
 [E] error in: chroot-script dpkgdivert
 [W] called in: mounted devpts
 [W] called in: chrooting to execute postbuild...
 [E] error reported, operation aborted.
mv: cannot stat '/home/ozi/arm-sdk/tmp/devuan-arm64-build/bootstrap/postbuild.log': No such file or directory
 (*) chrooting to execute dpkgdivert...
chroot: failed to run command '/dpkgdivert': Exec format error
 [E] error in: chroot-script dpkgdivert
 [W] called in: mounted devpts
 [W] called in: chrooting to execute dpkgdivert...
 [E] error reported, operation aborted.
mv: cannot stat '/home/ozi/arm-sdk/tmp/devuan-arm64-build/bootstrap/dpkgdivert.log': No such file or directory
  .  umounted devpts
  .  umounted dev
  .  umounted proc
  .  umounted sys
 (*) Preparing to rsync and tar the rootfs...
  .  mounted root partition
  .  mounted boot partition
  .  god is porco
 (*) creating a tarbomb of the rootfs...
  .  Abandon all hope, ye who enter here
 (*) rsyncing strapdir to raw image...
  .  unmounted boot partition
  .  unmounted root partition
 (*) packaging image for dist
  .  rechecking filesystem
e2fsck 1.43.4 (31-Jan-2017)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/loop0p2: 7944/112896 files (0.1% non-contiguous), 76905/451072 blocks
resize2fs 1.43.4 (31-Jan-2017)
The filesystem is already 451072 (4k) blocks long.  Nothing to do!

partition: none, disk: /dev/loop0, lower: 0, upper: 0
/dev/loop0: partition #1 removed
/dev/loop0: partition #2 removed
'devuan_ascii_2.0.0_arm64_raspi4.img' -> '/home/ozi/arm-sdk/dist/devuan_ascii_2.0.0_arm64_raspi4.img'
 (*) generating sha256 for devuan_ascii_2.0.0_arm64_raspi4.img
 (*) generating sha256 for devuan_ascii_2.0.0_arm64_raspi4.tar.gz
 (*) finished packing devuan_ascii_2.0.0_arm64_raspi4
  .  find it in /home/ozi/arm-sdk/dist/
  .  thanks for being patient!
 [E] error in: load devuan raspi4
 [W] called in: raspi4 build script loaded
 [W] called in: ccache is enabled
1 armsdk@devuan  #    

Last edited by Ozi (2019-09-11 20:30:17)

Offline

#27 2019-09-12 16:40:14

b3bgd
Member
Registered: 2019-08-31
Posts: 14  

Re: arm-sdk + rapsberry pi 4

Ozi wrote:

copy-root-overlay and postbuild-clean currectly don't exist, so added them should remove the errors.

copy-root-overlays and postbuild-clean are both defined in helpers... I'm looking at them right now. You should not have received those error messages if you followed all the instructions correctly.

P.S.: I already told you, I build images for raspi 4 with no errors or warning whatsoever.

Last edited by b3bgd (2019-09-12 16:40:56)

Offline

#28 2019-09-16 21:25:10

Ozi
Member
From: Melbourne, Australia
Registered: 2017-03-15
Posts: 105  
Website

Re: arm-sdk + rapsberry pi 4

I was away over the weekend and haven't worked on in the last couple of days.

I've moved passed this point already, re-run git clone and ./init.sh.

Offline

#29 2019-09-25 20:55:25

Ozi
Member
From: Melbourne, Australia
Registered: 2017-03-15
Posts: 105  
Website

Re: arm-sdk + rapsberry pi 4

I've now setup a blend for the rpi4, and update the blend_map in the sdk file accordingly.

Offline

Board footer