I run in boot command line on my m1
Code: Select all
fw_setenv skip_spiboot true
Code: Select all
fw_setenv skip_spiboot false
now any operating system not boot from sd card

Code: Select all
fw_setenv skip_spiboot true
Code: Select all
fw_setenv skip_spiboot false
Please check this thread,s.kachurin wrote: ↑Wed Oct 05, 2022 3:23 pmhi
I run in boot command line on my m1how can i run for revertCode: Select all
fw_setenv skip_spiboot true
?Code: Select all
fw_setenv skip_spiboot false
now any operating system not boot from sd card![]()
What link does not work? This one?s.kachurin wrote: ↑Wed Oct 05, 2022 4:31 pmthx I saw this post, but link (viewtopic.php?f=215&t=45255#:~:text=%D0 ... 5%20ODROID) not work
Not at all, since the Petitboot is a small Linux system sitting in 16MB SPI flash memory and there is not space to add huge application. Only ethernet is possible to support.
Basically the packages installed by Netboot Installer is almost same, difference is that OS image is created with a bit customized OS set up like a default user account. Other than that, feature wise, both are identical. Ubuntu 20.04 comes with 4.19 kernel while Ubuntu 22.04 comes with upstream kernel. Do not try to upgrade to 22.04 from 20.04 since 20.04 if you have Ubuntu desktop installed.Pyohwan wrote: ↑Fri Nov 11, 2022 12:35 pmThe official OS, Ubuntu 20.04, used Rockchip's BSP, and I know that the kernel version is 4.19 set by Rawchip.
After enabling Netboot Installer in Petitboot, Ubuntu 20.04 (Focal Fossa) appears. Is it the same as the official OS Ubuntu 20.04?
If there are any differences, please let me know what the differences are.
official OS : https://wiki.odroid.com/odroid-m1/os_im ... ntu/ubuntu
Does Ubuntu 20.04 also use the mainline kernel?
viewtopic.php?f=217&t=44462
That sounds not good, try to flash this image to SD card and boot from it http://ppa.linuxfactory.or.kr/images/pe ... 304.img.xz it will try to flash the SPI chip and you will have petitboot shell enabled again in case you have disabled it withmarcstraus wrote: ↑Sun Nov 27, 2022 5:16 amIt looks like I am now really up the creek without a paddle... PB doesn't like me anymore. After net install it will not show as a boot option anymore. I can't update my configuration anymore. If I use skip_spiboot option the only thing I see is the HardKernel logo but it won't boot from nvme. Tried erasing spi and booting from sd card with update, tried pb-update. At the end of the update it tells me there is a crc error and it will use default environment. pb-sos does not run. Is this a bug in the image or am I looking at a bad chip? At any rate, I cannot boot from nvme. Maybe I can from SD but that surely shouldn't happen.
fw_setenv skip_spiboot true
Did you talked already with HK for a replacement or how did that end up ?
Petitboot support multiple boot script, you can use Grub/SYSLINUX or Yaboot rather than boot.scr. Also boot.scr is a script of U-Boot, so if you use the commands that understand U-Boot in ODROID-M1 can understand, it will work. You do not need to understand how uboot-parser works.dhns wrote: ↑Mon Jan 09, 2023 12:56 amI thought I'd give it another try to port our LetuxOS to the Odroid M1 as a plug&play alternative.
The main barrier is getting a bootable SD card without relying on any of the hardkernel's tools and running any setup tools within Petitboot or a booted Odroid M1. This excludes all the flashing and fw_setenv tools and almost all documentation provided.
Therefore I've analyzed how the Odroid Petitboot is searching for a boot.scr and parsing its contents: https://github.com/JeonghwaCho/petitboo ... 1291435f0d by calling a tool /usr/bin/uboot-parser.
So far I could not locate the source code. I only found a hint in: https://github.com/JeonghwaCho/odroid_p ... _n2.sh#L90 where it seems to be packed into the Petitboot initrd.
That source tells that it should be downloaded and built from: https://github.com/tobetter/uboot-parser.git but that repository does not exist.
My question: where is the source of the /usr/bin/uboot-parser tool?
That is a pretty deflective response...tobetter wrote: ↑Mon Jan 09, 2023 1:03 amPetitboot support multiple boot script, you can use Grub/SYSLINUX or Yaboot rather than boot.scr. Also boot.scr is a script of U-Boot, so if you use the commands that understand U-Boot in ODROID-M1 can understand, it will work. You do not need to understand how uboot-parser works.dhns wrote: ↑Mon Jan 09, 2023 12:56 amI thought I'd give it another try to port our LetuxOS to the Odroid M1 as a plug&play alternative.
The main barrier is getting a bootable SD card without relying on any of the hardkernel's tools and running any setup tools within Petitboot or a booted Odroid M1. This excludes all the flashing and fw_setenv tools and almost all documentation provided.
Therefore I've analyzed how the Odroid Petitboot is searching for a boot.scr and parsing its contents: https://github.com/JeonghwaCho/petitboo ... 1291435f0d by calling a tool /usr/bin/uboot-parser.
So far I could not locate the source code. I only found a hint in: https://github.com/JeonghwaCho/odroid_p ... _n2.sh#L90 where it seems to be packed into the Petitboot initrd.
That source tells that it should be downloaded and built from: https://github.com/tobetter/uboot-parser.git but that repository does not exist.
My question: where is the source of the /usr/bin/uboot-parser tool?
Site is back up and Netboot is working. Guess I answered my own question!
Has the modified source code been released to the public like the GPL requires?tobetter wrote: ↑Mon Jan 09, 2023 1:03 amPetitboot support multiple boot script, you can use Grub/SYSLINUX or Yaboot rather than boot.scr. Also boot.scr is a script of U-Boot, so if you use the commands that understand U-Boot in ODROID-M1 can understand, it will work. You do not need to understand how uboot-parser works.dhns wrote: ↑Mon Jan 09, 2023 12:56 amI thought I'd give it another try to port our LetuxOS to the Odroid M1 as a plug&play alternative.
The main barrier is getting a bootable SD card without relying on any of the hardkernel's tools and running any setup tools within Petitboot or a booted Odroid M1. This excludes all the flashing and fw_setenv tools and almost all documentation provided.
Therefore I've analyzed how the Odroid Petitboot is searching for a boot.scr and parsing its contents: https://github.com/JeonghwaCho/petitboo ... 1291435f0d by calling a tool /usr/bin/uboot-parser.
So far I could not locate the source code. I only found a hint in: https://github.com/JeonghwaCho/odroid_p ... _n2.sh#L90 where it seems to be packed into the Petitboot initrd.
That source tells that it should be downloaded and built from: https://github.com/tobetter/uboot-parser.git but that repository does not exist.
My question: where is the source of the /usr/bin/uboot-parser tool?
In case Petitboot is completely out of work, flash the image below to SD card and boot with it. Then Petitboot will appear in the screen, then run udhcpc and pb-update.
Users browsing this forum: No registered users and 3 guests