Updated Readme
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user