Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- crudo@bpi-imagebuilder:~/BPI-Router-Images$ sudo ./buildimg.sh bpi-r4 bullseye
- needed: python3 parted qemu-user-static debootstrap binfmt-support
- create image for bpi-r4 (arm64) bullseye 6.6-r4
- board : bpi-r4
- kernel : 6.6-r4
- {'imgfile': 'bpi-r4_sdmmc.img.gz', 'skipkerneldownload': '1', 'kernelfile': 'bpi-r4_6.6.0-r4.tar.gz'}
- board:bpi-r4 ubootfile: https://github.com/frank-w/u-boot/releases/download/CI-BUILD-2024-01-bpi-2024.01-2024-02-04_1535/bpi-r4_sdmmc.img.gz
- kernel not in kfiles
- ubootfile: https://github.com/frank-w/u-boot/releases/download/CI-BUILD-2024-01-bpi-2024.01-2024-02-04_1535/bpi-r4_sdmmc.img.gz filename: bpi-r4_sdmmc.img.gz
- bpi-r4_sdmmc.img.gz already exists
- overwrite it [yn]? n
- -rw-r--r-- 1 root root 83 Feb 29 17:22 sourcefiles_bpi-r4.conf
- image-file: bpi-r4_sdmmc.img.gz
- kernel-file: bpi-r4_6.6.0-r4.tar.gz
- packed rootfs already exists
- -rw-r--r-- 1 root root 7.6M Feb 29 16:41 bpi-r4_sdmmc.img.gz
- -rw-r--r-- 1 root root 184M Feb 28 21:06 bullseye_arm64.tar.gz
- unpack imgfile (bpi-r4_bullseye_6.6.0-r4.img.gz)...
- setting up imgfile to loopdev...
- mounting loopdev...
- unpack rootfs to bpi-root loopdev...
- -rw-rw-r-- 1 crudo crudo 91M Feb 29 17:20 bpi-r4_6.6.0-r4.tar.gz
- unpack kernel to bpi-boot loopdev...
- mnt/BPI-BOOT:
- total 32976
- -rwxr-xr-x 1 root root 36387 Feb 29 17:16 bpi-r4.dtb
- -rwxr-xr-x 1 root root 9028752 Feb 29 17:16 bpi-r4.itb
- -rwxr-xr-x 1 root root 0 Feb 29 17:22 uEnv.txt
- -rwxr-xr-x 1 root root 24699456 Feb 29 17:16 uImage_nodt
- unpack kernel-modules to bpi-root loopdev...
- configure rootfs for bpi-r4...
- bpi-r4
- Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
- Hit:2 http://ftp.de.debian.org/debian bullseye InRelease
- Get:3 http://ftp.de.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Fetched 44.1 kB in 8s (5272 B/s)
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- All packages are up to date.
- W: Skipping acquire of configured file 'non-free-firmware/source/Sources' as repository 'http://security.debian.org/debian-security bullseye-security InRelease' doesn't have the ' (component misspelt in sources.list?)
- W: Skipping acquire of configured file 'non-free-firmware/binary-arm64/Packages' as repository 'http://security.debian.org/debian-security bullseye-security InRelease' doesn't hairmware' (component misspelt in sources.list?)
- W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en' as repository 'http://security.debian.org/debian-security bullseye-security InRelease' doesn't havemware' (component misspelt in sources.list?)
- W: Skipping acquire of configured file 'non-free-firmware/source/Sources' as repository 'http://ftp.de.debian.org/debian bullseye InRelease' doesn't have the component 'non-free-t in sources.list?)
- W: Skipping acquire of configured file 'non-free-firmware/binary-arm64/Packages' as repository 'http://ftp.de.debian.org/debian bullseye InRelease' doesn't have the component 'nomisspelt in sources.list?)
- W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en' as repository 'http://ftp.de.debian.org/debian bullseye InRelease' doesn't have the component 'non-sspelt in sources.list?)
- W: Skipping acquire of configured file 'non-free-firmware/source/Sources' as repository 'http://ftp.de.debian.org/debian bullseye-updates InRelease' doesn't have the component 'n misspelt in sources.list?)
- W: Skipping acquire of configured file 'non-free-firmware/binary-arm64/Packages' as repository 'http://ftp.de.debian.org/debian bullseye-updates InRelease' doesn't have the compomponent misspelt in sources.list?)
- W: Skipping acquire of configured file 'non-free-firmware/i18n/Translation-en' as repository 'http://ftp.de.debian.org/debian bullseye-updates InRelease' doesn't have the componeonent misspelt in sources.list?)
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- The following additional packages will be installed:
- libnl-3-200 libnl-genl-3-200 libnl-route-3-200
- Recommended packages:
- wireless-regdb
- The following NEW packages will be installed:
- hostapd iw libnl-3-200 libnl-genl-3-200 libnl-route-3-200 xz-utils
- 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
- Need to get 1310 kB of archives.
- After this operation, 3857 kB of additional disk space will be used.
- Get:1 http://ftp.de.debian.org/debian bullseye/main arm64 libnl-3-200 arm64 3.4.0-1+b1 [60.6 kB]
- Get:2 http://ftp.de.debian.org/debian bullseye/main arm64 libnl-genl-3-200 arm64 3.4.0-1+b1 [20.8 kB]
- Get:3 http://ftp.de.debian.org/debian bullseye/main arm64 libnl-route-3-200 arm64 3.4.0-1+b1 [149 kB]
- Get:4 http://ftp.de.debian.org/debian bullseye/main arm64 hostapd arm64 2:2.9.0-21 [764 kB]
- Get:5 http://ftp.de.debian.org/debian bullseye/main arm64 xz-utils arm64 5.2.5-2.1~deb11u1 [219 kB]
- Get:6 http://ftp.de.debian.org/debian bullseye/main arm64 iw arm64 5.9-3 [96.8 kB]
- Fetched 1310 kB in 0s (3612 kB/s)
- E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
- Selecting previously unselected package libnl-3-200:arm64.
- (Reading database ... 9698 files and directories currently installed.)
- Preparing to unpack .../0-libnl-3-200_3.4.0-1+b1_arm64.deb ...
- Unpacking libnl-3-200:arm64 (3.4.0-1+b1) ...
- Selecting previously unselected package libnl-genl-3-200:arm64.
- Preparing to unpack .../1-libnl-genl-3-200_3.4.0-1+b1_arm64.deb ...
- Unpacking libnl-genl-3-200:arm64 (3.4.0-1+b1) ...
- Selecting previously unselected package libnl-route-3-200:arm64.
- Preparing to unpack .../2-libnl-route-3-200_3.4.0-1+b1_arm64.deb ...
- Unpacking libnl-route-3-200:arm64 (3.4.0-1+b1) ...
- Selecting previously unselected package hostapd.
- Preparing to unpack .../3-hostapd_2%3a2.9.0-21_arm64.deb ...
- Unpacking hostapd (2:2.9.0-21) ...
- Selecting previously unselected package xz-utils.
- Preparing to unpack .../4-xz-utils_5.2.5-2.1~deb11u1_arm64.deb ...
- Unpacking xz-utils (5.2.5-2.1~deb11u1) ...
- Selecting previously unselected package iw.
- Preparing to unpack .../5-iw_5.9-3_arm64.deb ...
- Unpacking iw (5.9-3) ...
- Setting up xz-utils (5.2.5-2.1~deb11u1) ...
- update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
- Setting up libnl-3-200:arm64 (3.4.0-1+b1) ...
- Setting up libnl-route-3-200:arm64 (3.4.0-1+b1) ...
- Setting up libnl-genl-3-200:arm64 (3.4.0-1+b1) ...
- Setting up iw (5.9-3) ...
- Setting up hostapd (2:2.9.0-21) ...
- invoke-rc.d: could not determine current runlevel
- Created symlink /etc/systemd/system/multi-user.target.wants/hostapd.service -> /lib/systemd/system/hostapd.service.
- Processing triggers for libc-bin (2.31-13+deb11u8) ...
- Created symlink /etc/systemd/system/dbus-org.freedesktop.network1.service -> /lib/systemd/system/systemd-networkd.service.
- Created symlink /etc/systemd/system/multi-user.target.wants/systemd-networkd.service -> /lib/systemd/system/systemd-networkd.service.
- Created symlink /etc/systemd/system/sockets.target.wants/systemd-networkd.socket -> /lib/systemd/system/systemd-networkd.socket.
- Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service -> /lib/systemd/system/systemd-networkd-wait-online.service.
- copy firmware files
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 4896 100 4896 0 0 25237 0 --:--:-- --:--:-- --:--:-- 25237
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 1182 100 1182 0 0 9092 0 --:--:-- --:--:-- --:--:-- 9022
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- E: Unable to locate package systemd-resolved
- Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service -> /lib/systemd/system/systemd-resolved.service.
- Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service -> /lib/systemd/system/systemd-resolved.service.
- packing bpi-r4_bullseye_6.6.0-r4.img.gz
- install it this way:
- gunzip -c bpi-r4_bullseye_6.6.0-r4.img.gz | sudo dd bs=1M status=progress conv=notrunc,fsync of=/dev/sdX
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement