Flash dhivael's SPI uboot (risky) - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Pinebook Pro Tutorials (https://forum.pine64.org/forumdisplay.php?fid=117) +--- Thread: Flash dhivael's SPI uboot (risky) (/showthread.php?tid=9053) |
RE: Flash dhivael's SPI uboot (risky) - clover - 02-08-2020 (02-08-2020, 02:02 PM)Wizzard Wrote: I have Toshiba RC100, 240 GB. Will try Manjaro too So happy to hear that. Do you know what the issue was? RE: Flash dhivael's SPI uboot (risky) - Wizzard - 02-08-2020 Just flashed Manjaro on SD card and it boots Now I just have to set my Armbian on NVMe to boot, cause I did not care about that /boot/boot.txt cause the previous SPI did not need that. Seems that it only works with Manjaro or it does not work with Armbian. I edited boot.scr in Armbian and renamed it to boot.txt but it does not boot... RE: Flash dhivael's SPI uboot (risky) - as400 - 02-08-2020 (02-08-2020, 02:19 PM)Wizzard Wrote: Just flashed Manjaro on SD card and it boots You have to edit boot.txt and than run mkscr script or mkimage command to create boot.scr. Do not edit boot.scr directly. RE: Flash dhivael's SPI uboot (risky) - Wizzard - 02-08-2020 Thanks! Just trying Manjaro again and it is not that bad. Anyway, Armbian had only boot.scr file and no boot.txt, so maybe it works different way on this distro. RE: Flash dhivael's SPI uboot (risky) - Wizzard - 02-09-2020 Thank you very much guys for the help. It just seems that it only supports Manjaro. Neither Armbian not Ubuntu boots. Armbian has the boot.scr generated, but Ubuntu does not. Can I create it manually? RE: Flash dhivael's SPI uboot (risky) - as400 - 02-09-2020 (02-09-2020, 01:48 AM)Wizzard Wrote: Thank you very much guys for the help. It just seems that it only supports Manjaro. Neither Armbian not Ubuntu boots. Armbian has the boot.scr generated, but Ubuntu does not. Can I create it manually? Yes you can but it might be that Ubuntu uses extlinux.conf instead of boot.scr. Which is perfectly ok. Maybe even better since you can do whatever changes you want to the extlinux.conf and you don't have to generate anything, In case you want to create boot.scr you have to create a text file (eg. boot.txt) with all the stuff you want. And then: Code: mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d boot.txt boot.scr RE: Flash dhivael's SPI uboot (risky) - belfastraven - 02-09-2020 (02-09-2020, 01:55 PM)as400 Wrote:Armbian should have both a boot.cmd file and also an armbianEnv.txt file. The Armbian boot.scr is generated from the boot.cmd, but many changes can be made by editing the armbianEnv.txt file. See the armbian Documentation for more info. You might just want to try writing the armbian build to an sd card, seeing if you can boot that way, and if so, using armbian-config to enable boot from SPI the NVME.(02-09-2020, 01:48 AM)Wizzard Wrote: Thank you very much guys for the help. It just seems that it only supports Manjaro. Neither Armbian not Ubuntu boots. Armbian has the boot.scr generated, but Ubuntu does not. Can I create it manually? RE: Flash dhivael's SPI uboot (risky) - Wizzard - 02-09-2020 Yes, it uses extlinux.conf but it does not boot. What if I do not want any change, just want it to boot? If I do not provide boot.txt, it does not create boot.scr. (02-09-2020, 02:16 PM)belfastraven Wrote: Armbian should have both a boot.cmd file and also an armbianEnv.txt file. The Armbian boot.scr is generated from the boot.cmd, but many changes can be made by editing the armbianEnv.txt file. See the armbian Documentation for more info. You might just want to try writing the armbian build to an sd card, seeing if you can boot that way, and if so, using armbian-config to enable boot from SPI the NVME. Armbian does NOT boot from SD card RE: Flash dhivael's SPI uboot (risky) - as400 - 02-09-2020 (02-09-2020, 02:19 PM)Wizzard Wrote: Yes, it uses extlinux.conf but it does not boot. What if I do not want any change, just want it to boot? If I do not provide boot.txt, it does not create boot.scr. Out of curiosity - try to remove uboot on this Armbian SD card. And then try boot once more. Code: dd if=/dev/zero bs=32k seek=1 count=1 of=<microSD> RE: Flash dhivael's SPI uboot (risky) - Wizzard - 02-09-2020 Still the same, green LED, blank screen with backlight. |