Advertisement
Ecelo55

Boot_conversion_Libre Computer Le Potato

May 12th, 2023
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.98 KB | Software | 0 0
  1. sudo apt install -y git
  2. Reading package lists... Done
  3. Building dependency tree... Done
  4. Reading state information... Done
  5. The following additional packages will be installed:
  6. git-man liberror-perl
  7. Suggested packages:
  8. git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  9. gitweb git-cvs git-mediawiki git-svn
  10. The following NEW packages will be installed:
  11. git git-man liberror-perl
  12. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  13. Need to get 7,282 kB of archives.
  14. After this operation, 37.7 MB of additional disk space will be used.
  15. Get:1 http://deb.debian.org/debian bullseye/main arm64 liberror-perl all 0.17029-1 [31.0 kB]
  16. Get:2 http://deb.debian.org/debian bullseye/main arm64 git-man all 1:2.30.2-1+deb11u2 [1,828 kB]
  17. Get:3 http://deb.debian.org/debian bullseye/main arm64 git arm64 1:2.30.2-1+deb11u2 [5,423 kB]
  18. Fetched 7,282 kB in 1s (8,578 kB/s)
  19. Selecting previously unselected package liberror-perl.
  20. (Reading database ... 37710 files and directories currently installed.)
  21. Preparing to unpack .../liberror-perl_0.17029-1_all.deb ...
  22. Unpacking liberror-perl (0.17029-1) ...
  23. Selecting previously unselected package git-man.
  24. Preparing to unpack .../git-man_1%3a2.30.2-1+deb11u2_all.deb ...
  25. Unpacking git-man (1:2.30.2-1+deb11u2) ...
  26. Selecting previously unselected package git.
  27. Preparing to unpack .../git_1%3a2.30.2-1+deb11u2_arm64.deb ...
  28. Unpacking git (1:2.30.2-1+deb11u2) ...
  29. Setting up liberror-perl (0.17029-1) ...
  30. Setting up git-man (1:2.30.2-1+deb11u2) ...
  31. Setting up git (1:2.30.2-1+deb11u2) ...
  32. Processing triggers for man-db (2.9.4-2) ...
  33. paolo@raspberrypi:~ $ git clone https://github.com/libre-computer-project/libretech-raspbian-portability.git lrp
  34. Cloning into 'lrp'...
  35. remote: Enumerating objects: 116, done.
  36. remote: Counting objects: 100% (116/116), done.
  37. remote: Compressing objects: 100% (84/84), done.
  38. remote: Total 116 (delta 43), reused 95 (delta 28), pack-reused 0
  39. Receiving objects: 100% (116/116), 24.73 KiB | 1.54 MiB/s, done.
  40. Resolving deltas: 100% (43/43), done.
  41. paolo@raspberrypi:~ $ sudo lrp/oneshot.sh aml-s905x-cc
  42. This script is designed to run on existing Raspbian images and enables them
  43. to boot on any Libre Computer board. It uses an upstream FOSS software stack
  44. developed by the community and Libre Computer to support booting Raspbian.
  45.  
  46. It is a proof-of-concept and there are no warranties implied or otherwise.
  47. We highly recommend backing up the image if it holds important data in case
  48. something unexpected occurs. While the image should still boot on the original
  49. device, this is not fully tested or guaranteed so continue at your own risk.
  50.  
  51. This script installs/configures/overwrites data on the device's MicroSD card.
  52. It is designed to run on Raspberry Pi(R)s and requires internet access to
  53. download additional necessary components. Once the script finishes, the card
  54. should still remain bootable on the original board.
  55.  
  56. Once completed, move the MicroSD card to the selected Libre Computer Board.
  57.  
  58. Please type 'continue' without quotes to acknowledge and start the script.
  59.  
  60. :continue
  61. Removed /etc/systemd/system/multi-user.target.wants/rpi-eeprom-update.service.
  62. --2023-05-12 18:02:52-- https://deb.libre.computer/repo/libre-computer-deb.gpg
  63. Resolving deb.libre.computer (deb.libre.computer)... 192.53.162.101, 2600:3c00::f03c:93ff:fea1:358c
  64. Connecting to deb.libre.computer (deb.libre.computer)|192.53.162.101|:443... connected.
  65. HTTP request sent, awaiting response... 200 OK
  66. Length: 3052 (3.0K) [application/octet-stream]
  67. Saving to: ‘/usr/share/keyrings/libre-computer-deb.gpg’
  68.  
  69. /usr/share/keyrings 100%[===================>] 2.98K --.-KB/s in 0s
  70.  
  71. 2023-05-12 18:02:53 (18.1 MB/s) - ‘/usr/share/keyrings/libre-computer-deb.gpg’ saved [3052/3052]
  72.  
  73. Hit:1 http://deb.debian.org/debian bullseye InRelease
  74. Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
  75. Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
  76. Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
  77. Get:5 https://deb.libre.computer/repo linux InRelease [5,171 B]
  78. Get:6 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [235 kB]
  79. Get:7 http://security.debian.org/debian-security bullseye-security/main Translation-en [157 kB]
  80. Get:8 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [308 kB]
  81. Get:9 https://deb.libre.computer/repo linux/main arm64 Packages [17.4 kB]
  82. Fetched 837 kB in 3s (302 kB/s)
  83. Reading package lists... Done
  84. Building dependency tree... Done
  85. Reading state information... Done
  86. 1 package can be upgraded. Run 'apt list --upgradable' to see it.
  87. Reading package lists... Done
  88. Building dependency tree... Done
  89. Reading state information... Done
  90. The following additional packages will be installed:
  91. efibootmgr grub-common grub-efi-arm64-bin grub-efi-arm64-signed grub2-common
  92. libefiboot1 libefivar1 linux-headers-6.1.27-05172-gaba3610391c9
  93. linux-image-6.1.27-05172-gaba3610391c9 mokutil os-prober
  94. shim-helpers-arm64-signed shim-signed shim-signed-common shim-unsigned
  95. Suggested packages:
  96. multiboot-doc mtools xorriso desktop-base
  97. Recommended packages:
  98. secureboot-db
  99. The following NEW packages will be installed:
  100. efibootmgr grub-common grub-efi-arm64 grub-efi-arm64-bin
  101. grub-efi-arm64-signed grub2-common libefiboot1 libefivar1
  102. linux-headers-6.1.27-05172-gaba3610391c9 linux-headers-lc-lts-arm64
  103. linux-image-6.1.27-05172-gaba3610391c9 linux-image-lc-lts-arm64 mokutil
  104. os-prober shim-helpers-arm64-signed shim-signed shim-signed-common
  105. shim-unsigned
  106. 0 upgraded, 18 newly installed, 0 to remove and 1 not upgraded.
  107. Need to get 45.8 MB of archives.
  108. After this operation, 249 MB of additional disk space will be used.
  109. Get:1 http://deb.debian.org/debian bullseye/main arm64 libefivar1 arm64 37-6 [45.3 kB]
  110. Get:2 http://deb.debian.org/debian bullseye/main arm64 libefiboot1 arm64 37-6 [39.7 kB]
  111. Get:3 http://deb.debian.org/debian bullseye/main arm64 efibootmgr arm64 17-1 [30.6 kB]
  112. Get:4 http://deb.debian.org/debian bullseye/main arm64 grub-common arm64 2.06-3~deb11u5 [2,752 kB]
  113. Get:5 http://deb.debian.org/debian bullseye/main arm64 grub2-common arm64 2.06-3~deb11u5 [582 kB]
  114. Get:6 http://deb.debian.org/debian bullseye/main arm64 grub-efi-arm64-bin arm64 2.06-3~deb11u5 [1,403 kB]
  115. Get:7 http://deb.debian.org/debian bullseye/main arm64 grub-efi-arm64 arm64 2.06-3~deb11u5 [40.2 kB]
  116. Get:8 http://deb.debian.org/debian bullseye/main arm64 grub-efi-arm64-signed arm64 1+2.06+3~deb11u5 [1,219 kB]
  117. Get:9 http://deb.debian.org/debian bullseye/main arm64 mokutil arm64 0.6.0-2~deb11u1 [25.5 kB]
  118. Get:10 http://deb.debian.org/debian bullseye/main arm64 os-prober arm64 1.79 [28.2 kB]
  119. Get:11 http://deb.debian.org/debian bullseye/main arm64 shim-unsigned arm64 15.7-1~deb11u1 [339 kB]
  120. Get:12 http://deb.debian.org/debian bullseye/main arm64 shim-helpers-arm64-signed arm64 1+15.7+1~deb11u1 [236 kB]
  121. Get:13 http://deb.debian.org/debian bullseye/main arm64 shim-signed-common all 1.39~1+deb11u1+15.7-1~deb11u1 [13.8 kB]
  122. Get:14 http://deb.debian.org/debian bullseye/main arm64 shim-signed arm64 1.39~1+deb11u1+15.7-1~deb11u1 [251 kB]
  123. Get:15 https://deb.libre.computer/repo linux/main arm64 linux-headers-6.1.27-05172-gaba3610391c9 arm64 6.1.27-05172-gaba3610391c9-1 [8,271 kB]
  124. Get:16 https://deb.libre.computer/repo linux/main arm64 linux-headers-lc-lts-arm64 arm64 6.1.27-05172-gaba3610391c9-1 [1,672 B]
  125. Get:17 https://deb.libre.computer/repo linux/main arm64 linux-image-6.1.27-05172-gaba3610391c9 arm64 6.1.27-05172-gaba3610391c9-1 [30.5 MB]
  126. Get:18 https://deb.libre.computer/repo linux/main arm64 linux-image-lc-lts-arm64 arm64 6.1.27-05172-gaba3610391c9-1 [1,672 B]
  127. Fetched 45.8 MB in 9s (4,930 kB/s)
  128. Preconfiguring packages ...
  129. Selecting previously unselected package libefivar1:arm64.
  130. (Reading database ... 38706 files and directories currently installed.)
  131. Preparing to unpack .../00-libefivar1_37-6_arm64.deb ...
  132. Unpacking libefivar1:arm64 (37-6) ...
  133. Selecting previously unselected package libefiboot1:arm64.
  134. Preparing to unpack .../01-libefiboot1_37-6_arm64.deb ...
  135. Unpacking libefiboot1:arm64 (37-6) ...
  136. Selecting previously unselected package efibootmgr.
  137. Preparing to unpack .../02-efibootmgr_17-1_arm64.deb ...
  138. Unpacking efibootmgr (17-1) ...
  139. Selecting previously unselected package grub-common.
  140. Preparing to unpack .../03-grub-common_2.06-3~deb11u5_arm64.deb ...
  141. Unpacking grub-common (2.06-3~deb11u5) ...
  142. Selecting previously unselected package grub2-common.
  143. Preparing to unpack .../04-grub2-common_2.06-3~deb11u5_arm64.deb ...
  144. Unpacking grub2-common (2.06-3~deb11u5) ...
  145. Selecting previously unselected package grub-efi-arm64-bin.
  146. Preparing to unpack .../05-grub-efi-arm64-bin_2.06-3~deb11u5_arm64.deb ...
  147. Unpacking grub-efi-arm64-bin (2.06-3~deb11u5) ...
  148. Selecting previously unselected package grub-efi-arm64.
  149. Preparing to unpack .../06-grub-efi-arm64_2.06-3~deb11u5_arm64.deb ...
  150. Unpacking grub-efi-arm64 (2.06-3~deb11u5) ...
  151. Selecting previously unselected package grub-efi-arm64-signed.
  152. Preparing to unpack .../07-grub-efi-arm64-signed_1+2.06+3~deb11u5_arm64.deb ...
  153. Unpacking grub-efi-arm64-signed (1+2.06+3~deb11u5) ...
  154. Selecting previously unselected package linux-headers-6.1.27-05172-gaba3610391c9.
  155. Preparing to unpack .../08-linux-headers-6.1.27-05172-gaba3610391c9_6.1.27-05172-gaba3610391c9-1_arm64.deb ...
  156. Unpacking linux-headers-6.1.27-05172-gaba3610391c9 (6.1.27-05172-gaba3610391c9-1) ...
  157. Selecting previously unselected package linux-headers-lc-lts-arm64.
  158. Preparing to unpack .../09-linux-headers-lc-lts-arm64_6.1.27-05172-gaba3610391c9-1_arm64.deb ...
  159. Unpacking linux-headers-lc-lts-arm64 (6.1.27-05172-gaba3610391c9-1) ...
  160. Selecting previously unselected package linux-image-6.1.27-05172-gaba3610391c9.
  161. Preparing to unpack .../10-linux-image-6.1.27-05172-gaba3610391c9_6.1.27-05172-gaba3610391c9-1_arm64.deb ...
  162. Unpacking linux-image-6.1.27-05172-gaba3610391c9 (6.1.27-05172-gaba3610391c9-1) ...
  163. Selecting previously unselected package linux-image-lc-lts-arm64.
  164. Preparing to unpack .../11-linux-image-lc-lts-arm64_6.1.27-05172-gaba3610391c9-1_arm64.deb ...
  165. Unpacking linux-image-lc-lts-arm64 (6.1.27-05172-gaba3610391c9-1) ...
  166. Selecting previously unselected package mokutil.
  167. Preparing to unpack .../12-mokutil_0.6.0-2~deb11u1_arm64.deb ...
  168. Unpacking mokutil (0.6.0-2~deb11u1) ...
  169. Selecting previously unselected package os-prober.
  170. Preparing to unpack .../13-os-prober_1.79_arm64.deb ...
  171. Unpacking os-prober (1.79) ...
  172. Selecting previously unselected package shim-unsigned.
  173. Preparing to unpack .../14-shim-unsigned_15.7-1~deb11u1_arm64.deb ...
  174. Unpacking shim-unsigned (15.7-1~deb11u1) ...
  175. Selecting previously unselected package shim-helpers-arm64-signed.
  176. Preparing to unpack .../15-shim-helpers-arm64-signed_1+15.7+1~deb11u1_arm64.deb ...
  177. Unpacking shim-helpers-arm64-signed (1+15.7+1~deb11u1) ...
  178. Selecting previously unselected package shim-signed-common.
  179. Preparing to unpack .../16-shim-signed-common_1.39~1+deb11u1+15.7-1~deb11u1_all.deb ...
  180. Unpacking shim-signed-common (1.39~1+deb11u1+15.7-1~deb11u1) ...
  181. Selecting previously unselected package shim-signed:arm64.
  182. Preparing to unpack .../17-shim-signed_1.39~1+deb11u1+15.7-1~deb11u1_arm64.deb ...
  183. Unpacking shim-signed:arm64 (1.39~1+deb11u1+15.7-1~deb11u1) ...
  184. Setting up linux-image-6.1.27-05172-gaba3610391c9 (6.1.27-05172-gaba3610391c9-1) ...
  185. update-initramfs: Generating /boot/initrd.img-6.1.27-05172-gaba3610391c9
  186. Setting up linux-image-lc-lts-arm64 (6.1.27-05172-gaba3610391c9-1) ...
  187. Setting up linux-headers-6.1.27-05172-gaba3610391c9 (6.1.27-05172-gaba3610391c9-1) ...
  188. Setting up libefivar1:arm64 (37-6) ...
  189. Setting up shim-unsigned (15.7-1~deb11u1) ...
  190. Setting up mokutil (0.6.0-2~deb11u1) ...
  191. Setting up shim-helpers-arm64-signed (1+15.7+1~deb11u1) ...
  192. Setting up libefiboot1:arm64 (37-6) ...
  193. Setting up grub-common (2.06-3~deb11u5) ...
  194. Setting up os-prober (1.79) ...
  195. Setting up linux-headers-lc-lts-arm64 (6.1.27-05172-gaba3610391c9-1) ...
  196. Setting up shim-signed-common (1.39~1+deb11u1+15.7-1~deb11u1) ...
  197. No DKMS packages installed: not changing Secure Boot validation state.
  198. Setting up grub-efi-arm64-bin (2.06-3~deb11u5) ...
  199. Setting up efibootmgr (17-1) ...
  200. Setting up grub-efi-arm64-signed (1+2.06+3~deb11u5) ...
  201. Setting up grub2-common (2.06-3~deb11u5) ...
  202. Setting up shim-signed:arm64 (1.39~1+deb11u1+15.7-1~deb11u1) ...
  203. Setting up grub-efi-arm64 (2.06-3~deb11u5) ...
  204.  
  205. Creating config file /etc/default/grub with new version
  206. Processing triggers for man-db (2.9.4-2) ...
  207. Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
  208. Processing triggers for shim-signed:arm64 (1.39~1+deb11u1+15.7-1~deb11u1) ...
  209. Installing for arm64-efi platform.
  210. Installation finished. No error reported.
  211. Generating grub configuration file ...
  212. Found linux image: /boot/vmlinuz-6.1.27-05172-gaba3610391c9
  213. Found initrd image: /boot/initrd.img-6.1.27-05172-gaba3610391c9
  214. Warning: os-prober will be executed to detect other bootable partitions.
  215. Its output will be used to detect bootable binaries on them and create new boot entries.
  216. Found Debian GNU/Linux 11 (bullseye) on /dev/mmcblk0p2
  217. done
  218. --2023-05-12 18:04:44-- http://boot.libre.computer/ci/aml-s905x-cc
  219. Resolving boot.libre.computer (boot.libre.computer)... 192.53.162.101, 2600:3c00::f03c:93ff:fea1:358c
  220. Connecting to boot.libre.computer (boot.libre.computer)|192.53.162.101|:80... connected.
  221. HTTP request sent, awaiting response... 200 OK
  222. Length: 851968 (832K) [application/octet-stream]
  223. Saving to: ‘/tmp/tmp.OU9com6yXc’
  224.  
  225. /tmp/tmp.OU9com6yXc 100%[===================>] 832.00K 1.10MB/s in 0.7s
  226.  
  227. 2023-05-12 18:04:46 (1.10 MB/s) - ‘/tmp/tmp.OU9com6yXc’ saved [851968/851968]
  228.  
  229. 1664+0 records in
  230. 1664+0 records out
  231. 851968 bytes (852 kB, 832 KiB) copied, 0.1367 s, 6.2 MB/s
  232. Modifications complete. Press any key to shutdown. Once the green LED stops blinking and turns off for 10 seconds, remove power and move the MicroSD card to the Libre Computer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement