Advertisement
Guest User

Untitled

a guest
Feb 29th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.16 KB | None | 0 0
  1. crudo@bpi-imagebuilder:~/BPI-Router-Images$ sudo ./buildimg.sh bpi-r4 bullseye
  2. needed: python3 parted qemu-user-static debootstrap binfmt-support
  3. create image for bpi-r4 (arm64) bullseye 6.6-r4
  4. board : bpi-r4
  5. kernel : 6.6-r4
  6. {'imgfile': 'bpi-r4_sdmmc.img.gz', 'skipkerneldownload': '1', 'kernelfile': 'bpi-r4_6.6.0-r4.tar.gz'}
  7. 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
  8. kernel not in kfiles
  9. 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
  10. bpi-r4_sdmmc.img.gz already exists
  11. overwrite it [yn]? n
  12. -rw-r--r-- 1 root root 83 Feb 29 17:22 sourcefiles_bpi-r4.conf
  13. image-file: bpi-r4_sdmmc.img.gz
  14. kernel-file: bpi-r4_6.6.0-r4.tar.gz
  15. packed rootfs already exists
  16. -rw-r--r-- 1 root root 7.6M Feb 29 16:41 bpi-r4_sdmmc.img.gz
  17. -rw-r--r-- 1 root root 184M Feb 28 21:06 bullseye_arm64.tar.gz
  18. unpack imgfile (bpi-r4_bullseye_6.6.0-r4.img.gz)...
  19. setting up imgfile to loopdev...
  20. mounting loopdev...
  21. unpack rootfs to bpi-root loopdev...
  22. -rw-rw-r-- 1 crudo crudo 91M Feb 29 17:20 bpi-r4_6.6.0-r4.tar.gz
  23. unpack kernel to bpi-boot loopdev...
  24. mnt/BPI-BOOT:
  25. total 32976
  26. -rwxr-xr-x 1 root root 36387 Feb 29 17:16 bpi-r4.dtb
  27. -rwxr-xr-x 1 root root 9028752 Feb 29 17:16 bpi-r4.itb
  28. -rwxr-xr-x 1 root root 0 Feb 29 17:22 uEnv.txt
  29. -rwxr-xr-x 1 root root 24699456 Feb 29 17:16 uImage_nodt
  30. unpack kernel-modules to bpi-root loopdev...
  31. configure rootfs for bpi-r4...
  32. bpi-r4
  33. Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
  34. Hit:2 http://ftp.de.debian.org/debian bullseye InRelease
  35. Get:3 http://ftp.de.debian.org/debian bullseye-updates InRelease [44.1 kB]
  36. Fetched 44.1 kB in 8s (5272 B/s)
  37. Reading package lists... Done
  38. Building dependency tree... Done
  39. Reading state information... Done
  40. All packages are up to date.
  41. 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?)
  42. 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?)
  43. 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?)
  44. 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?)
  45. 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?)
  46. 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?)
  47. 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?)
  48. 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?)
  49. 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?)
  50. Reading package lists... Done
  51. Building dependency tree... Done
  52. Reading state information... Done
  53. The following additional packages will be installed:
  54. libnl-3-200 libnl-genl-3-200 libnl-route-3-200
  55. Recommended packages:
  56. wireless-regdb
  57. The following NEW packages will be installed:
  58. hostapd iw libnl-3-200 libnl-genl-3-200 libnl-route-3-200 xz-utils
  59. 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
  60. Need to get 1310 kB of archives.
  61. After this operation, 3857 kB of additional disk space will be used.
  62. Get:1 http://ftp.de.debian.org/debian bullseye/main arm64 libnl-3-200 arm64 3.4.0-1+b1 [60.6 kB]
  63. Get:2 http://ftp.de.debian.org/debian bullseye/main arm64 libnl-genl-3-200 arm64 3.4.0-1+b1 [20.8 kB]
  64. Get:3 http://ftp.de.debian.org/debian bullseye/main arm64 libnl-route-3-200 arm64 3.4.0-1+b1 [149 kB]
  65. Get:4 http://ftp.de.debian.org/debian bullseye/main arm64 hostapd arm64 2:2.9.0-21 [764 kB]
  66. Get:5 http://ftp.de.debian.org/debian bullseye/main arm64 xz-utils arm64 5.2.5-2.1~deb11u1 [219 kB]
  67. Get:6 http://ftp.de.debian.org/debian bullseye/main arm64 iw arm64 5.9-3 [96.8 kB]
  68. Fetched 1310 kB in 0s (3612 kB/s)
  69. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
  70. Selecting previously unselected package libnl-3-200:arm64.
  71. (Reading database ... 9698 files and directories currently installed.)
  72. Preparing to unpack .../0-libnl-3-200_3.4.0-1+b1_arm64.deb ...
  73. Unpacking libnl-3-200:arm64 (3.4.0-1+b1) ...
  74. Selecting previously unselected package libnl-genl-3-200:arm64.
  75. Preparing to unpack .../1-libnl-genl-3-200_3.4.0-1+b1_arm64.deb ...
  76. Unpacking libnl-genl-3-200:arm64 (3.4.0-1+b1) ...
  77. Selecting previously unselected package libnl-route-3-200:arm64.
  78. Preparing to unpack .../2-libnl-route-3-200_3.4.0-1+b1_arm64.deb ...
  79. Unpacking libnl-route-3-200:arm64 (3.4.0-1+b1) ...
  80. Selecting previously unselected package hostapd.
  81. Preparing to unpack .../3-hostapd_2%3a2.9.0-21_arm64.deb ...
  82. Unpacking hostapd (2:2.9.0-21) ...
  83. Selecting previously unselected package xz-utils.
  84. Preparing to unpack .../4-xz-utils_5.2.5-2.1~deb11u1_arm64.deb ...
  85. Unpacking xz-utils (5.2.5-2.1~deb11u1) ...
  86. Selecting previously unselected package iw.
  87. Preparing to unpack .../5-iw_5.9-3_arm64.deb ...
  88. Unpacking iw (5.9-3) ...
  89. Setting up xz-utils (5.2.5-2.1~deb11u1) ...
  90. update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
  91. Setting up libnl-3-200:arm64 (3.4.0-1+b1) ...
  92. Setting up libnl-route-3-200:arm64 (3.4.0-1+b1) ...
  93. Setting up libnl-genl-3-200:arm64 (3.4.0-1+b1) ...
  94. Setting up iw (5.9-3) ...
  95. Setting up hostapd (2:2.9.0-21) ...
  96. invoke-rc.d: could not determine current runlevel
  97. Created symlink /etc/systemd/system/multi-user.target.wants/hostapd.service -> /lib/systemd/system/hostapd.service.
  98. Processing triggers for libc-bin (2.31-13+deb11u8) ...
  99. Created symlink /etc/systemd/system/dbus-org.freedesktop.network1.service -> /lib/systemd/system/systemd-networkd.service.
  100. Created symlink /etc/systemd/system/multi-user.target.wants/systemd-networkd.service -> /lib/systemd/system/systemd-networkd.service.
  101. Created symlink /etc/systemd/system/sockets.target.wants/systemd-networkd.socket -> /lib/systemd/system/systemd-networkd.socket.
  102. Created symlink /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service -> /lib/systemd/system/systemd-networkd-wait-online.service.
  103. copy firmware files
  104. % Total % Received % Xferd Average Speed Time Time Time Current
  105. Dload Upload Total Spent Left Speed
  106. 100 4896 100 4896 0 0 25237 0 --:--:-- --:--:-- --:--:-- 25237
  107. % Total % Received % Xferd Average Speed Time Time Time Current
  108. Dload Upload Total Spent Left Speed
  109. 100 1182 100 1182 0 0 9092 0 --:--:-- --:--:-- --:--:-- 9022
  110. Reading package lists... Done
  111. Building dependency tree... Done
  112. Reading state information... Done
  113. E: Unable to locate package systemd-resolved
  114. Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service -> /lib/systemd/system/systemd-resolved.service.
  115. Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service -> /lib/systemd/system/systemd-resolved.service.
  116. packing bpi-r4_bullseye_6.6.0-r4.img.gz
  117. install it this way:
  118. gunzip -c bpi-r4_bullseye_6.6.0-r4.img.gz | sudo dd bs=1M status=progress conv=notrunc,fsync of=/dev/sdX
  119.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement