Updated Readme

This commit is contained in:
Gerben Jan Dijkman
2022-01-01 18:04:48 +01:00
parent 3ab5c76b2b
commit ab553dab04
17 changed files with 12 additions and 1246 deletions

View File

@@ -7,10 +7,10 @@ notice_uboot() {
create_config() {
mkdir -p /boot/extlinux
echo "LABEL Manjaro ARM
echo "LABEL Gentoo Linux 5.16.0 RC3
KERNEL /Image
FDT /dtbs/rockchip/rk3399-pinephone-pro.dtb
APPEND initrd=/initramfs-linux.img console=ttyS2,1500000 root=LABEL=ROOT_MNJRO rw rootwait quiet splash plymouth.ignore-serial-consoles" > /boot/extlinux/extlinux.conf
FDT /dtbs/5.16.0-rc3/rockchip/rk3399-pinephone-pro.dtb
APPEND initrd=/initramfs-linux.img console=ttyS2,1500000 root=/dev/mmcblk2p3 rw rootwait quiet splash plymouth.ignore-serial-consoles" > /boot/extlinux/extlinux.conf
}
post_install() {

View File

@@ -99,6 +99,8 @@ src_compile() {
src_test() { :; }
src_install() {
mkdir /boot/extlinux
insinto /boot/
doins ${S}/u-boot.itb
@@ -123,5 +125,9 @@ src_install() {
pkg_postinst() {
einfo "This U-Boot is only to be used for the PinePhone Pro."
einfo "After compiling a new Gentoo kernel, copy the resulting Image from /usr/src/linux/arch/arm64/boot/zImage to the boot partition (replacing the existing Image)."
einfo "After compiling a new Gentoo kernel, copy the resulting Image from /usr/src/linux/arch/arm64/boot/Image to the boot partition (replacing the existing Image)."
einfo "New version of U-Boot firmware can be flashed to your microSD card or eMMC module."
einfo "You can do that by running:"
einfo "# dd if=/boot/idbloader.img of=/dev/mmcblkX seek=64 conv=notrunc,fsync"
einfo "# dd if=/boot/u-boot.itb of=/dev/mmcblkX seek=16384 conv=notrunc,fsync"
}