Pine64-Arch
Pine64-Arch copied to clipboard
[Feature Removal] Remove uboot from pinephone image
- Device: (PinePhone or PineTab?) Pinephone
- Kernel Version : $(uname -r) N/A
- UI: N/A
Perhaps we should follow the mobian route of removing the bootloader from the image all together so users can flash tow-boot to the emmc on the pinephone and not have it be overwritten every time they need to flash archlinux again. This will allow the users to keep towboot on the pinephone so we can chose to boot from the emmc or the sd card should other OS follow along.
We've been thinking of doing that, the issue now is that U-Boot PinePhone (OG) package also includes PineTab, so we need a PineTab build for Tow-Boot, which some people in the community are looking to do it.
So until then, U-Boot support will remains. But the good news is that you can remove it with a couple of dd commands.
On Tue, 17 May 2022 10:53:00 -0700 Luigi311 @.***> wrote:
- Device: (PinePhone or PineTab?) Pinephone
- Kernel Version : $(uname -r) N/A
- UI: N/A
Perhaps we should follow the mobian route of removing the bootloader from the image all together so users can flash tow-boot to the emmc on the pinephone and not have it be overwritten every time they need to flash archlinux again. This will allow the users to keep towboot on the pinephone so we can chose to boot from the emmc or the sd card should other OS follow along.
-- Reply to this email directly or view it on GitHub: https://github.com/dreemurrs-embedded/Pine64-Arch/issues/391 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
-- Danct12 @.***>
is there a dd command you can use on the img? Is it literally the same as if you are doing it to a disk?
sudo dd if=/dev/zero of=archlinux-pinephone-sxmo-20220502.img bs=8k seek=1 count=4
and then flashing that to the pinephone? That doesnt seem right as it seems like it would then copy over zeros to the pinephone wiping out tow-boot.
Danct12
i tried your dd commands but the phone doesn't boot from the sd card (the boot procces moove to the sd but nothing happens ezik
i read somewhere that u-boot has tow parts bootloader and firmware and i think we have to wipe only the bootloader and leave the firmware ezik
is it hard to make an image without boot loader for the pinephone and leave u-boot for pinetab?
ezik
ArenM did it but you ignore his PR ezik