03-26-2020, 05:43 AM
Hi All
Thanks in advance for any advice. I am trying to bootstrap my own Debian install on my Pinephone and after alot of faffing and false starts I finally managed to boot a kernel I had build into a Debian install I had bootstrapped, cos why wouldn't you on FOSS phone!
The last hurdle I came across was the boot.scr script not being run by u-boot on my image, I had copied the one from the Debian+Phosh image and then updated the entries to point to my kernel/initramfs. There are some non-text bytes at the beginning of the file which I think is might be the reason its not booting (checksum/hash maybe) but once I had restored the original and copied my kernel/initramfs files to the to the names used in the boot.scr it booted without issue.
So, the question! How do I generate my own boot.scr correctly?
Thanks Again
hk135
Thanks in advance for any advice. I am trying to bootstrap my own Debian install on my Pinephone and after alot of faffing and false starts I finally managed to boot a kernel I had build into a Debian install I had bootstrapped, cos why wouldn't you on FOSS phone!
The last hurdle I came across was the boot.scr script not being run by u-boot on my image, I had copied the one from the Debian+Phosh image and then updated the entries to point to my kernel/initramfs. There are some non-text bytes at the beginning of the file which I think is might be the reason its not booting (checksum/hash maybe) but once I had restored the original and copied my kernel/initramfs files to the to the names used in the boot.scr it booted without issue.
So, the question! How do I generate my own boot.scr correctly?
Thanks Again
hk135