Skip to content
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

Mass Storage not working pine64-pinephoneA64 #298

Open
realroot2185 opened this issue Jan 27, 2024 · 1 comment
Open

Mass Storage not working pine64-pinephoneA64 #298

realroot2185 opened this issue Jan 27, 2024 · 1 comment

Comments

@realroot2185
Copy link

realroot2185 commented Jan 27, 2024

When pressing volume up I see the blue led of mass storage but after it turns red.
I erased eMMC and reinstalled tow-boot.

Version: pine64-pinephoneA64-2022.07-006.

Can I flash the shared.disk-image.img without breaking the partition table?
I've made it using gdisk https://nixos.wiki/wiki/NixOS_on_ARM/Allwinner_GPT_Installation.

OS: Artix Linux aarch64 
Host: Pine64 PinePhone (1.2) 
Kernel: 6.6.6-1-danctnix 

I have u-boot package from Danctnix with this fix to allow booting from external TF card.
But it wasn't flashed with dd.

@realroot2185
Copy link
Author

That NixOS's wiki command breaks partition table and you don't need to make any hole.
I tried it with the hole.

I used dd to write zeros and reinstalled tow-boot again.
Now it works.

How can I remove u-boot if I have GPT?

I see that the Tow-Boot's wiki command won't work for GPT.

$ sudo dd if=/dev/zero of=/dev/[DEVICE] bs=8k seek=1 count=4
Some distributions target UEFI boot, and use GPT. Issuing this command will break the partition table.

u-boot was dded using:

sudo dd if=${TMPMOUNT}/boot/u-boot-sunxi-with-spl-${DEVICE}-552.bin of=${DISK_IMAGE} bs=128k seek=1 oflag=sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant