updated orangepi_zero_2w_defconfig
This commit is contained in:
+5
-1
@@ -20,6 +20,7 @@ sdroot() {
|
||||
printf "$GREEN** Copy extlinux.conf\n$RESET"
|
||||
cp -v $root/extlinux/extlinux.conf $sdroot/boot/extlinux
|
||||
check $? "Copy extlinux.conf"
|
||||
[ "$ARCH" = "arm64" ] && sed -i "s/zImage/Image/g" $sdroot/boot/extlinux/extlinux.conf
|
||||
kernel_with_rootfs
|
||||
uboot
|
||||
printf "$GREEN** Creating rootfs.ext4\n$RESET"
|
||||
@@ -74,7 +75,9 @@ sdroot_usable() {
|
||||
|
||||
initramfs
|
||||
cp -v $build/initramfs.img $sdroot/boot
|
||||
cp -v $build/kernel/linux-6.13.3/arch/$ARCH/boot/zImage $sdroot/boot
|
||||
KIMAGE=zImage
|
||||
[ "$ARCH" = "arm64" ] && KIMAGE=Image
|
||||
cp -v $build/kernel/linux-6.13.3/arch/$ARCH/boot/$KIMAGE $sdroot/boot
|
||||
uboot
|
||||
printf "$GREEN** Creating rootfs.ext4\n$RESET"
|
||||
cd $out
|
||||
@@ -96,6 +99,7 @@ sdroot_usable() {
|
||||
check $? "Copy genimage.cfg"
|
||||
sed -i "s/FILEUUID/$uuid/g" genimage.cfg
|
||||
sed -i "s/ROOTUUID/$uuid/g" $sdroot/boot/extlinux/extlinux.conf
|
||||
[ "$ARCH" = "arm64" ] && sed -i "s/zImage/Image/g" $sdroot/boot/extlinux/extlinux.conf
|
||||
sed -i "s/sdcard.img/sdcard_usable.img/g" genimage.cfg
|
||||
mkdir -v rootmnt
|
||||
sudo mount -v rootfs.ext4 rootmnt
|
||||
|
||||
Reference in New Issue
Block a user