Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt install -y git
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- The following additional packages will be installed:
- git-man liberror-perl
- Suggested packages:
- git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
- gitweb git-cvs git-mediawiki git-svn
- The following NEW packages will be installed:
- git git-man liberror-perl
- 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
- Need to get 7,282 kB of archives.
- After this operation, 37.7 MB of additional disk space will be used.
- Get:1 http://deb.debian.org/debian bullseye/main arm64 liberror-perl all 0.17029-1 [31.0 kB]
- Get:2 http://deb.debian.org/debian bullseye/main arm64 git-man all 1:2.30.2-1+deb11u2 [1,828 kB]
- Get:3 http://deb.debian.org/debian bullseye/main arm64 git arm64 1:2.30.2-1+deb11u2 [5,423 kB]
- Fetched 7,282 kB in 1s (8,578 kB/s)
- Selecting previously unselected package liberror-perl.
- (Reading database ... 37710 files and directories currently installed.)
- Preparing to unpack .../liberror-perl_0.17029-1_all.deb ...
- Unpacking liberror-perl (0.17029-1) ...
- Selecting previously unselected package git-man.
- Preparing to unpack .../git-man_1%3a2.30.2-1+deb11u2_all.deb ...
- Unpacking git-man (1:2.30.2-1+deb11u2) ...
- Selecting previously unselected package git.
- Preparing to unpack .../git_1%3a2.30.2-1+deb11u2_arm64.deb ...
- Unpacking git (1:2.30.2-1+deb11u2) ...
- Setting up liberror-perl (0.17029-1) ...
- Setting up git-man (1:2.30.2-1+deb11u2) ...
- Setting up git (1:2.30.2-1+deb11u2) ...
- Processing triggers for man-db (2.9.4-2) ...
- paolo@raspberrypi:~ $ git clone https://github.com/libre-computer-project/libretech-raspbian-portability.git lrp
- Cloning into 'lrp'...
- remote: Enumerating objects: 116, done.
- remote: Counting objects: 100% (116/116), done.
- remote: Compressing objects: 100% (84/84), done.
- remote: Total 116 (delta 43), reused 95 (delta 28), pack-reused 0
- Receiving objects: 100% (116/116), 24.73 KiB | 1.54 MiB/s, done.
- Resolving deltas: 100% (43/43), done.
- paolo@raspberrypi:~ $ sudo lrp/oneshot.sh aml-s905x-cc
- This script is designed to run on existing Raspbian images and enables them
- to boot on any Libre Computer board. It uses an upstream FOSS software stack
- developed by the community and Libre Computer to support booting Raspbian.
- It is a proof-of-concept and there are no warranties implied or otherwise.
- We highly recommend backing up the image if it holds important data in case
- something unexpected occurs. While the image should still boot on the original
- device, this is not fully tested or guaranteed so continue at your own risk.
- This script installs/configures/overwrites data on the device's MicroSD card.
- It is designed to run on Raspberry Pi(R)s and requires internet access to
- download additional necessary components. Once the script finishes, the card
- should still remain bootable on the original board.
- Once completed, move the MicroSD card to the selected Libre Computer Board.
- Please type 'continue' without quotes to acknowledge and start the script.
- :continue
- Removed /etc/systemd/system/multi-user.target.wants/rpi-eeprom-update.service.
- --2023-05-12 18:02:52-- https://deb.libre.computer/repo/libre-computer-deb.gpg
- Resolving deb.libre.computer (deb.libre.computer)... 192.53.162.101, 2600:3c00::f03c:93ff:fea1:358c
- Connecting to deb.libre.computer (deb.libre.computer)|192.53.162.101|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 3052 (3.0K) [application/octet-stream]
- Saving to: ‘/usr/share/keyrings/libre-computer-deb.gpg’
- /usr/share/keyrings 100%[===================>] 2.98K --.-KB/s in 0s
- 2023-05-12 18:02:53 (18.1 MB/s) - ‘/usr/share/keyrings/libre-computer-deb.gpg’ saved [3052/3052]
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
- Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
- Get:5 https://deb.libre.computer/repo linux InRelease [5,171 B]
- Get:6 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [235 kB]
- Get:7 http://security.debian.org/debian-security bullseye-security/main Translation-en [157 kB]
- Get:8 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [308 kB]
- Get:9 https://deb.libre.computer/repo linux/main arm64 Packages [17.4 kB]
- Fetched 837 kB in 3s (302 kB/s)
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- 1 package can be upgraded. Run 'apt list --upgradable' to see it.
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- The following additional packages will be installed:
- efibootmgr grub-common grub-efi-arm64-bin grub-efi-arm64-signed grub2-common
- libefiboot1 libefivar1 linux-headers-6.1.27-05172-gaba3610391c9
- linux-image-6.1.27-05172-gaba3610391c9 mokutil os-prober
- shim-helpers-arm64-signed shim-signed shim-signed-common shim-unsigned
- Suggested packages:
- multiboot-doc mtools xorriso desktop-base
- Recommended packages:
- secureboot-db
- The following NEW packages will be installed:
- efibootmgr grub-common grub-efi-arm64 grub-efi-arm64-bin
- grub-efi-arm64-signed grub2-common libefiboot1 libefivar1
- linux-headers-6.1.27-05172-gaba3610391c9 linux-headers-lc-lts-arm64
- linux-image-6.1.27-05172-gaba3610391c9 linux-image-lc-lts-arm64 mokutil
- os-prober shim-helpers-arm64-signed shim-signed shim-signed-common
- shim-unsigned
- 0 upgraded, 18 newly installed, 0 to remove and 1 not upgraded.
- Need to get 45.8 MB of archives.
- After this operation, 249 MB of additional disk space will be used.
- Get:1 http://deb.debian.org/debian bullseye/main arm64 libefivar1 arm64 37-6 [45.3 kB]
- Get:2 http://deb.debian.org/debian bullseye/main arm64 libefiboot1 arm64 37-6 [39.7 kB]
- Get:3 http://deb.debian.org/debian bullseye/main arm64 efibootmgr arm64 17-1 [30.6 kB]
- Get:4 http://deb.debian.org/debian bullseye/main arm64 grub-common arm64 2.06-3~deb11u5 [2,752 kB]
- Get:5 http://deb.debian.org/debian bullseye/main arm64 grub2-common arm64 2.06-3~deb11u5 [582 kB]
- Get:6 http://deb.debian.org/debian bullseye/main arm64 grub-efi-arm64-bin arm64 2.06-3~deb11u5 [1,403 kB]
- Get:7 http://deb.debian.org/debian bullseye/main arm64 grub-efi-arm64 arm64 2.06-3~deb11u5 [40.2 kB]
- Get:8 http://deb.debian.org/debian bullseye/main arm64 grub-efi-arm64-signed arm64 1+2.06+3~deb11u5 [1,219 kB]
- Get:9 http://deb.debian.org/debian bullseye/main arm64 mokutil arm64 0.6.0-2~deb11u1 [25.5 kB]
- Get:10 http://deb.debian.org/debian bullseye/main arm64 os-prober arm64 1.79 [28.2 kB]
- Get:11 http://deb.debian.org/debian bullseye/main arm64 shim-unsigned arm64 15.7-1~deb11u1 [339 kB]
- Get:12 http://deb.debian.org/debian bullseye/main arm64 shim-helpers-arm64-signed arm64 1+15.7+1~deb11u1 [236 kB]
- 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]
- Get:14 http://deb.debian.org/debian bullseye/main arm64 shim-signed arm64 1.39~1+deb11u1+15.7-1~deb11u1 [251 kB]
- 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]
- 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]
- 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]
- 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]
- Fetched 45.8 MB in 9s (4,930 kB/s)
- Preconfiguring packages ...
- Selecting previously unselected package libefivar1:arm64.
- (Reading database ... 38706 files and directories currently installed.)
- Preparing to unpack .../00-libefivar1_37-6_arm64.deb ...
- Unpacking libefivar1:arm64 (37-6) ...
- Selecting previously unselected package libefiboot1:arm64.
- Preparing to unpack .../01-libefiboot1_37-6_arm64.deb ...
- Unpacking libefiboot1:arm64 (37-6) ...
- Selecting previously unselected package efibootmgr.
- Preparing to unpack .../02-efibootmgr_17-1_arm64.deb ...
- Unpacking efibootmgr (17-1) ...
- Selecting previously unselected package grub-common.
- Preparing to unpack .../03-grub-common_2.06-3~deb11u5_arm64.deb ...
- Unpacking grub-common (2.06-3~deb11u5) ...
- Selecting previously unselected package grub2-common.
- Preparing to unpack .../04-grub2-common_2.06-3~deb11u5_arm64.deb ...
- Unpacking grub2-common (2.06-3~deb11u5) ...
- Selecting previously unselected package grub-efi-arm64-bin.
- Preparing to unpack .../05-grub-efi-arm64-bin_2.06-3~deb11u5_arm64.deb ...
- Unpacking grub-efi-arm64-bin (2.06-3~deb11u5) ...
- Selecting previously unselected package grub-efi-arm64.
- Preparing to unpack .../06-grub-efi-arm64_2.06-3~deb11u5_arm64.deb ...
- Unpacking grub-efi-arm64 (2.06-3~deb11u5) ...
- Selecting previously unselected package grub-efi-arm64-signed.
- Preparing to unpack .../07-grub-efi-arm64-signed_1+2.06+3~deb11u5_arm64.deb ...
- Unpacking grub-efi-arm64-signed (1+2.06+3~deb11u5) ...
- Selecting previously unselected package linux-headers-6.1.27-05172-gaba3610391c9.
- Preparing to unpack .../08-linux-headers-6.1.27-05172-gaba3610391c9_6.1.27-05172-gaba3610391c9-1_arm64.deb ...
- Unpacking linux-headers-6.1.27-05172-gaba3610391c9 (6.1.27-05172-gaba3610391c9-1) ...
- Selecting previously unselected package linux-headers-lc-lts-arm64.
- Preparing to unpack .../09-linux-headers-lc-lts-arm64_6.1.27-05172-gaba3610391c9-1_arm64.deb ...
- Unpacking linux-headers-lc-lts-arm64 (6.1.27-05172-gaba3610391c9-1) ...
- Selecting previously unselected package linux-image-6.1.27-05172-gaba3610391c9.
- Preparing to unpack .../10-linux-image-6.1.27-05172-gaba3610391c9_6.1.27-05172-gaba3610391c9-1_arm64.deb ...
- Unpacking linux-image-6.1.27-05172-gaba3610391c9 (6.1.27-05172-gaba3610391c9-1) ...
- Selecting previously unselected package linux-image-lc-lts-arm64.
- Preparing to unpack .../11-linux-image-lc-lts-arm64_6.1.27-05172-gaba3610391c9-1_arm64.deb ...
- Unpacking linux-image-lc-lts-arm64 (6.1.27-05172-gaba3610391c9-1) ...
- Selecting previously unselected package mokutil.
- Preparing to unpack .../12-mokutil_0.6.0-2~deb11u1_arm64.deb ...
- Unpacking mokutil (0.6.0-2~deb11u1) ...
- Selecting previously unselected package os-prober.
- Preparing to unpack .../13-os-prober_1.79_arm64.deb ...
- Unpacking os-prober (1.79) ...
- Selecting previously unselected package shim-unsigned.
- Preparing to unpack .../14-shim-unsigned_15.7-1~deb11u1_arm64.deb ...
- Unpacking shim-unsigned (15.7-1~deb11u1) ...
- Selecting previously unselected package shim-helpers-arm64-signed.
- Preparing to unpack .../15-shim-helpers-arm64-signed_1+15.7+1~deb11u1_arm64.deb ...
- Unpacking shim-helpers-arm64-signed (1+15.7+1~deb11u1) ...
- Selecting previously unselected package shim-signed-common.
- Preparing to unpack .../16-shim-signed-common_1.39~1+deb11u1+15.7-1~deb11u1_all.deb ...
- Unpacking shim-signed-common (1.39~1+deb11u1+15.7-1~deb11u1) ...
- Selecting previously unselected package shim-signed:arm64.
- Preparing to unpack .../17-shim-signed_1.39~1+deb11u1+15.7-1~deb11u1_arm64.deb ...
- Unpacking shim-signed:arm64 (1.39~1+deb11u1+15.7-1~deb11u1) ...
- Setting up linux-image-6.1.27-05172-gaba3610391c9 (6.1.27-05172-gaba3610391c9-1) ...
- update-initramfs: Generating /boot/initrd.img-6.1.27-05172-gaba3610391c9
- Setting up linux-image-lc-lts-arm64 (6.1.27-05172-gaba3610391c9-1) ...
- Setting up linux-headers-6.1.27-05172-gaba3610391c9 (6.1.27-05172-gaba3610391c9-1) ...
- Setting up libefivar1:arm64 (37-6) ...
- Setting up shim-unsigned (15.7-1~deb11u1) ...
- Setting up mokutil (0.6.0-2~deb11u1) ...
- Setting up shim-helpers-arm64-signed (1+15.7+1~deb11u1) ...
- Setting up libefiboot1:arm64 (37-6) ...
- Setting up grub-common (2.06-3~deb11u5) ...
- Setting up os-prober (1.79) ...
- Setting up linux-headers-lc-lts-arm64 (6.1.27-05172-gaba3610391c9-1) ...
- Setting up shim-signed-common (1.39~1+deb11u1+15.7-1~deb11u1) ...
- No DKMS packages installed: not changing Secure Boot validation state.
- Setting up grub-efi-arm64-bin (2.06-3~deb11u5) ...
- Setting up efibootmgr (17-1) ...
- Setting up grub-efi-arm64-signed (1+2.06+3~deb11u5) ...
- Setting up grub2-common (2.06-3~deb11u5) ...
- Setting up shim-signed:arm64 (1.39~1+deb11u1+15.7-1~deb11u1) ...
- Setting up grub-efi-arm64 (2.06-3~deb11u5) ...
- Creating config file /etc/default/grub with new version
- Processing triggers for man-db (2.9.4-2) ...
- Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
- Processing triggers for shim-signed:arm64 (1.39~1+deb11u1+15.7-1~deb11u1) ...
- Installing for arm64-efi platform.
- Installation finished. No error reported.
- Generating grub configuration file ...
- Found linux image: /boot/vmlinuz-6.1.27-05172-gaba3610391c9
- Found initrd image: /boot/initrd.img-6.1.27-05172-gaba3610391c9
- Warning: os-prober will be executed to detect other bootable partitions.
- Its output will be used to detect bootable binaries on them and create new boot entries.
- Found Debian GNU/Linux 11 (bullseye) on /dev/mmcblk0p2
- done
- --2023-05-12 18:04:44-- http://boot.libre.computer/ci/aml-s905x-cc
- Resolving boot.libre.computer (boot.libre.computer)... 192.53.162.101, 2600:3c00::f03c:93ff:fea1:358c
- Connecting to boot.libre.computer (boot.libre.computer)|192.53.162.101|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 851968 (832K) [application/octet-stream]
- Saving to: ‘/tmp/tmp.OU9com6yXc’
- /tmp/tmp.OU9com6yXc 100%[===================>] 832.00K 1.10MB/s in 0.7s
- 2023-05-12 18:04:46 (1.10 MB/s) - ‘/tmp/tmp.OU9com6yXc’ saved [851968/851968]
- 1664+0 records in
- 1664+0 records out
- 851968 bytes (852 kB, 832 KiB) copied, 0.1367 s, 6.2 MB/s
- 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