-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PP Pro support #12
Comments
Yes. So far the squash rootfs needs to be built, and the partition table needs to be changed too. |
I'm also interested in PPP support. It would be also nice to have keyboard-compatible DEs available |
Can https://github.com/dreemurrs-embedded/arch-pine64-build build the squash rootfs? What needs to be changed regarding partition table? |
Yes, there is an option |
I attempted to modify the script, but it does not appear to be working. I just used the pinephone-pro sqfs from
select OPTION in "PinePhone" "PinePhone Pro" "PineTab"; do
case $OPTION in
"PinePhone" ) DEVICE="pinephone"; break;;
"PinePhone Pro" ) DEVICE="pinephone-pro"; break;;
"PineTab" ) DEVICE="pinetab"; break;;
esac
done
sudo parted -a optimal ${DISK_IMAGE} mklabel msdos --script
if [ $DEVICE == "pinephone-pro" ]; then
sudo parted -a optimal ${DISK_IMAGE} mkpart primary fat32 32MB 256MB --script
else
sudo parted -a optimal ${DISK_IMAGE} mkpart primary fat32 '0%' 256MB --script
fi
sudo parted -a optimal ${DISK_IMAGE} mkpart primary ext4 256MB 100% --script
sudo parted ${DISK_IMAGE} set 1 boot on --script
if [ $DEVICE == "pinephone-pro" ]; then
sudo dd if=${TMPMOUNT}/boot/idbloader.img of=${DISK_IMAGE} seek=64 conv=notrunc,fsync
sudo dd if=${TMPMOUNT}/boot/u-boot.itb of=${DISK_IMAGE} seek=16384 conv=notrunc,fsync
else
sudo dd if=${TMPMOUNT}/boot/u-boot-sunxi-with-spl-${DEVICE}-552.bin of=${DISK_IMAGE} bs=8k seek=1
fi I get no errors when flashing an SD card with these changes to the script. When I try to start the phone, it hangs on the splash screen and does not go further. Am I on the right track here? |
I get the following error when trying to boot after installing with this modified script.
I'm not sure what needs to be modified to make this script work. I've also tried changing the partitions based on sectors, but I get the same result. sudo parted -a optimal ${DISK_IMAGE} mklabel msdos --script
if [ $DEVICE == "pinephone-pro" ]; then
sudo parted -a optimal ${DISK_IMAGE} mkpart primary fat32 65536s 589823s --script
sudo parted -a optimal ${DISK_IMAGE} mkpart primary ext4 589824s 100% --script
else
sudo parted -a optimal ${DISK_IMAGE} mkpart primary fat32 '0%' 256MB --script
sudo parted -a optimal ${DISK_IMAGE} mkpart primary ext4 256MB 100% --script
fi
sudo parted ${DISK_IMAGE} set 1 boot on --script |
Can this be updated to include PinePhone Pro as an option?
The text was updated successfully, but these errors were encountered: