Petitboot, yet another bootloader based on KEXEC

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by pepeEL » Wed Jan 22, 2020 5:29 pm

On hasson with card in usb card Reader show me this
IMG_20200122_092721.jpg
IMG_20200122_092721.jpg (176.11 KiB) Viewed 3610 times

But yesterday i disabled it and after power off i must again disable it?

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Wed Jan 22, 2020 5:36 pm

pepeEL wrote:
Wed Jan 22, 2020 5:29 pm
On hasson with card in usb card Reader show me this
But yesterday i disabled it and after power off i must again disable it?
I don't know what happens since yesterday, but you have not an error since disable_uhs is not set as you posted. So you have to do run the command again and run fw_printenv disable_uhs if you like to confirm. Also, again even if you do this, this won't make you run HASSSO, the screen what you have is the different problem other than what you are trying to set disable_uhs thing.

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by pepeEL » Wed Jan 22, 2020 5:37 pm

ok i done it with disable uhs and now i have:
/ # fw_printenv disable_uhs
disable_uhs=true

and Samsung SDCard still no boot from slot card in Odroid.

HASSOS i have write on other microSD card not Samsung which works ok, but Hassos no boot.

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Wed Jan 22, 2020 5:50 pm

pepeEL wrote:
Wed Jan 22, 2020 5:37 pm
ok i done it with disable uhs and now i have:
/ # fw_printenv disable_uhs
disable_uhs=true

and Samsung SDCard still no boot from slot card in Odroid.

HASSOS i have write on other microSD card not Samsung which works ok, but Hassos no boot.
You are having two different problems and trying to solve them at a time.
It's not worth to try to boot HASSOS on your Samsung EVO Pro with the Petitboot since the Petitboot cannot boot HASSOS now as I had mentioned already. You must figure out why your SD card does not boot with your ODROID-N2. Please flash the Ubuntu image to Samsung EVO Pro, not HASSOS and try to boot from SD card slot or USB stick through the Petitboot or boot from SD card slot directly. And you must power off and on again once disable_uhs option is applied.

Since, if I am not wrong, the Petitboot can show you the OS menu and have tried to parse the boot script, at least SD card slot is not damaged yet and only the problem is that your memory card may not compatible with the kernel. In my experience, even the same colour as the Samsung EVO SD card gives a different behaviour and I need to find out the same memory card to test.

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by pepeEL » Wed Jan 22, 2020 6:20 pm

I have now disable uhs True.
I have installed on Samsung Pro Ubuntu. And i try:
1. Samsung Pro(not Evo) in slot card in Odroid N2. Ubuntu no boot. Show menu Petitboot and then show only black screen.

2. When use Samsung Pro by USB card Reader all works ok and Ubuntu start ok.

3. Use other card no name with Ubuntu by slot card in Odroid N2 also works ok. Summary that slot card is ok.

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Wed Jan 22, 2020 6:29 pm

pepeEL wrote:
Wed Jan 22, 2020 6:20 pm
I have now disable uhs True.
I have installed on Samsung Pro Ubuntu. And i try:
1. Samsung Pro(not Evo) in slot card in Odroid N2. Ubuntu no boot. Show menu Petitboot and then show only black screen.

2. When use Samsung Pro by USB card Reader all works ok and Ubuntu start ok.

3. Use other card no name with Ubuntu by slot card in Odroid N2 also works ok. Summary that slot card is ok.
Sorry, I was thinking that it's Samsung EVO Pro...
Anyway, please try to run with disable_uhs as false, not true, and do power off and power on again.
And let me know if Petitboot shows the boot menu and can boot it up. If it does not work, since SD card slot is not a problem, I suspect the kernel must be changed. I've tried to find out the SD card box, but the same SD card is not, need to purchase one in the market for testing.

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by pepeEL » Wed Jan 22, 2020 6:52 pm

On disable_uhs as false also no boot. This was my first test...
But if you tell that kernel must be change. You can do it ?


And why on my ubuntu on SDCard i have NOLABEL ? I see on youtube that all user has label like as ARMBIAN, COREELE, and UBUNTU ?

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Wed Jan 22, 2020 6:56 pm

pepeEL wrote:
Wed Jan 22, 2020 6:52 pm
On disable_uhs as false also no boot. This was my first test...
But if you tell that kernel must be change. You can do it ?


And why on my ubuntu on SDCard i have NOLABEL ? I see on youtube that all user has label like as ARMBIAN, COREELE, and UBUNTU ?
I cannot before I have the same memory card and will take some time anyway.
For the label, you can add one line setenv bootlabel "Ubuntu in boot.ini around line 2-3 by yourself. Whatever you say with the line, it will come to the Petitboot. Other distros add it by default while Ubuntu is not or a user did manually. Petitboot is not capable to figure out which OS is installed.

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by pepeEL » Wed Jan 22, 2020 7:01 pm

OK summary at the moment use card Samsung Pro is impossible. ?

And also Hassos also is impossible to use. :(
No looks good for me . I buy Odroid N2 to use it with Hassos with Home Assistant. Now hardware will be freez for some time.

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Wed Jan 22, 2020 7:27 pm

pepeEL wrote:
Wed Jan 22, 2020 7:01 pm
OK summary at the moment use card Samsung Pro is impossible. ?

And also Hassos also is impossible to use. :(
No looks good for me . I buy Odroid N2 to use it with Hassos with Home Assistant. Now hardware will be freez for some time.
In order to run HASSOS, I suggest you contact or visit them to check if their current release for ODROID-N2 works on USB storage. I guess it's not or you will still need SD card or eMMC, that's my understanding from their boot script. At least, if you use another SD card, HASSOS will work for sure. Then later, if I have a chance to update the Petitboot and kernel, you can switch to USB storage. Just I don't know what's the advantage to run HASSOS on USB storage.

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by pepeEL » Wed Jan 22, 2020 7:31 pm

From other SDCard i also can not run Hassos.

Use Hassos on USB SSD is more preformance and more durable than use eMMC. SSD disk is beter in my opinion.

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by pepeEL » Wed Jan 22, 2020 8:16 pm

Update

Hassos boot from SDCard. But to boot from SDCard i must switch to MMC not SPI.

istanbulls
Posts: 191
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 89 times
Been thanked: 10 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by istanbulls » Wed Jan 22, 2020 9:35 pm

pepeEL wrote:
Wed Jan 22, 2020 8:16 pm
Update

Hassos boot from SDCard. But to boot from SDCard i must switch to MMC not SPI.
Have you tried Petitboot 20191127 version?
If you haven't tried it, it may be helpful to try it.

viewtopic.php?p=273785#p273785

pepeEL
Posts: 35
Joined: Fri Jan 17, 2020 4:03 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by pepeEL » Wed Jan 22, 2020 9:37 pm

I try and also try newer 20200118

baalho
Posts: 22
Joined: Tue Nov 19, 2019 4:24 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by baalho » Tue Jan 28, 2020 10:15 am

Wanted to see if Testing version : 20200118 would fix my mmc/SD dual boot issue.
I was on Stable version : 20191127
Earlier I tried to update by executing "pb-update" from shell. I had removed both emmc and sdcard.
Looked like things were going well, multiple 100% steps was displayed. So I went to eat dinner in the next room.
Came back about 20 minutes later, the tv was off.

Unsure what had happened, I power cycled N2, but just got blank screen. Tried booting Android from sdcard, with spi switch on emmc, again blank screen.
Tried emmc only with CoreElec, booted just fine.

Thankfully I was able to use recovery image to restore Petitboot.
Was so excited to c if the latest version solved the SD card issue.
BTW I have read every single comment in this thread, even the tip to run SD card with Android with emmc removed lol
Last edited by baalho on Tue Jan 28, 2020 11:25 am, edited 1 time in total.

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Tue Jan 28, 2020 10:28 am

baalho wrote:Wanted to see if Testing version : 20200118 would fix my mmc/SD dual boot issue.
I was on Stable version : 20191127
Earlier I tried to update by executing "pb-update" from shell. I had removed both emmc and sdcard.
Looked like things were going well, multiple 100% steps was displayed. So I went to eat dinner in the next room.
Came back about 20 minutes later, the tv was off.

Unsure what had happened, I power cycled N2, bit just got blank screen. Tried booting Android from sdcard, with spi switch on emmc, again blank screen.
Tried emmc only with CoreElec, booted just fine.

Thankfully I was able to use recovery image to restore Petitboot.
Was so excited to c if I solved the SD card issue.
BTW I have read comment in this thread, even the tip to run SD card with Android with emmc removed lol
So...what's the Petitboot version running now? 20200118 does not work at all?

"Tapatalk wishes you to have fun with ODROID"


baalho
Posts: 22
Joined: Tue Nov 19, 2019 4:24 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by baalho » Tue Jan 28, 2020 11:21 am

Only recovery I could successful do was 20190408, that's where it's at now.

I didn't have any more time to mess around today as my folks needed to watch TV and they were panicking when I told them the TV was broken lol

roterdrachen
Posts: 10
Joined: Fri Jan 31, 2020 10:32 pm
languages_spoken: english deutsch
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by roterdrachen » Fri Jan 31, 2020 10:41 pm

Hi, I´ve got Petitboot 20191127 running. Emmc CoreElec boots, but sdcard Android 9 Lineage OS not.
I only want to use these two OS because of Kodi, Plex and Emby with my NAS.
Does the new Petitboot version work with Android? Is there a workaround?

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Fri Jan 31, 2020 10:57 pm

roterdrachen wrote:Hi, I´ve got Petitboot 20191127 running. Emmc CoreElec boots, but sdcard Android 9 Lineage OS not.
I only want to use these two OS because of Kodi, Plex and Emby with my NAS.
Does the new Petitboot version work with Android? Is there a workaround?
Does the blue LED blinks after boots Android 9?

"Tapatalk wishes you to have fun with ODROID"


Sholander
Posts: 126
Joined: Wed Jun 05, 2019 1:02 am
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 0
Been thanked: 12 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Sholander » Fri Jan 31, 2020 11:40 pm

Deleted
Last edited by Sholander on Fri Jan 31, 2020 11:41 pm, edited 1 time in total.

Sholander
Posts: 126
Joined: Wed Jun 05, 2019 1:02 am
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 0
Been thanked: 12 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Sholander » Fri Jan 31, 2020 11:41 pm

roterdrachen wrote:
Fri Jan 31, 2020 10:41 pm
Hi, I´ve got Petitboot 20191127 running. Emmc CoreElec boots, but sdcard Android 9 Lineage OS not.
I only want to use these two OS because of Kodi, Plex and Emby with my NAS.
Does the new Petitboot version work with Android? Is there a workaround?
I also have CE on eMMC and run same Petitboot (20191127) to boot Android from uSD card. It boots all Android(TV) Pie versions I tried, 32 and 64 bit without problem.

Some people have problems using Samsung Evo uSD cards. I use only Sandisk cards and they work OK for me...

roterdrachen
Posts: 10
Joined: Fri Jan 31, 2020 10:32 pm
languages_spoken: english deutsch
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by roterdrachen » Sat Feb 01, 2020 3:03 am

I bought a Sandisk sdcard, Petitboot doesn´t boot Android9 from sdcard. After a while there is a text: Can´t load Android system. Your data naybe corrupt.... I can then choose between: Try again or factory reset. Without Petitboot (EMMC instead of SPI) Android boots flawless.

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Sat Feb 01, 2020 3:07 am

roterdrachen wrote:
Sat Feb 01, 2020 3:03 am
I bought a Sandisk sdcard, Petitboot doesn´t boot Android9 from sdcard. After a while there is a text: Can´t load Android system. Your data naybe corrupt.... I can then choose between: Try again or factory reset. Without Petitboot (EMMC instead of SPI) Android boots flawless.
If you do not have any specific reason, I gently recommend swapping the OSes so that Android on eMMC and CoreELEC on SD since running Android on SD card would be a bit slow while CoreELEC on SD is not.

roterdrachen
Posts: 10
Joined: Fri Jan 31, 2020 10:32 pm
languages_spoken: english deutsch
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by roterdrachen » Sat Feb 01, 2020 3:28 am

First of all i wrote this into my config.ini of my emmc to change boot order towards sdcard prior to emmc.

ODROIDN2-UBOOT-CONFIG

setenv mmc_list "1 0"
saveenv
reset

How can I undone that? It doesn´t work for my, either. Does that change Petitboot? Is this overwritten when I flash new Petitboot?

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Sat Feb 01, 2020 3:50 am

roterdrachen wrote:
Sat Feb 01, 2020 3:28 am
First of all i wrote this into my config.ini of my emmc to change boot order towards sdcard prior to emmc.

ODROIDN2-UBOOT-CONFIG

setenv mmc_list "1 0"
saveenv
reset

How can I undone that? It doesn´t work for my, either. Does that change Petitboot? Is this overwritten when I flash new Petitboot?
No, Petitboot does not care about the value mmc_list at all in order word it only affects when you boot from eMMC or SD card directly without Petitboot. If Petitboot is involved to manage the multiple OS on ODROID-N2, you can select one by keyboard or remote as well as change the boot priority in the configuration menu.

baalho
Posts: 22
Joined: Tue Nov 19, 2019 4:24 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by baalho » Sat Feb 01, 2020 1:20 pm

tobetter wrote:
Tue Jan 28, 2020 10:28 am
baalho wrote:Wanted to see if Testing version : 20200118 would fix my mmc/SD dual boot issue.
I was on Stable version : 20191127
Earlier I tried to update by executing "pb-update" from shell. I had removed both emmc and sdcard.
Looked like things were going well, multiple 100% steps was displayed. So I went to eat dinner in the next room.
Came back about 20 minutes later, the tv was off.

Unsure what had happened, I power cycled N2, bit just got blank screen. Tried booting Android from sdcard, with spi switch on emmc, again blank screen.
Tried emmc only with CoreElec, booted just fine.

Thankfully I was able to use recovery image to restore Petitboot.
Was so excited to c if I solved the SD card issue.
BTW I have read comment in this thread, even the tip to run SD card with Android with emmc removed lol
So...what's the Petitboot version running now? 20200118 does not work at all?

"Tapatalk wishes you to have fun with ODROID"
Just tried updating to 20200118 again.
The update process completed successfully. But still not working for me.

I have everything removed, no emmc, no SD card or usb drives.
switch is on SPI. I remove power, and connect power to power cycle.
Nothing happens. Solid Red LED light, and i see nothing on the TV.

Has anybody else have success updating to 20200118? I have N2 with 4GB ram, hard wired ethernet. 1080P TV.

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Sat Feb 01, 2020 3:22 pm

baalho wrote:
Sat Feb 01, 2020 1:20 pm
tobetter wrote:
Tue Jan 28, 2020 10:28 am
baalho wrote:Wanted to see if Testing version : 20200118 would fix my mmc/SD dual boot issue.
I was on Stable version : 20191127
Earlier I tried to update by executing "pb-update" from shell. I had removed both emmc and sdcard.
Looked like things were going well, multiple 100% steps was displayed. So I went to eat dinner in the next room.
Came back about 20 minutes later, the tv was off.

Unsure what had happened, I power cycled N2, bit just got blank screen. Tried booting Android from sdcard, with spi switch on emmc, again blank screen.
Tried emmc only with CoreElec, booted just fine.

Thankfully I was able to use recovery image to restore Petitboot.
Was so excited to c if I solved the SD card issue.
BTW I have read comment in this thread, even the tip to run SD card with Android with emmc removed lol
So...what's the Petitboot version running now? 20200118 does not work at all?

"Tapatalk wishes you to have fun with ODROID"
Just tried updating to 20200118 again.
The update process completed successfully. But still not working for me.

I have everything removed, no emmc, no SD card or usb drives.
switch is on SPI. I remove power, and connect power to power cycle.
Nothing happens. Solid Red LED light, and i see nothing on the TV.

Has anybody else have success updating to 20200118? I have N2 with 4GB ram, hard wired ethernet. 1080P TV.
If you are not able to see the screen of the Petitboot, can you add this to your SD card, must be in the first partition, as a filename petitboot.cfg and do power cycle again? If the screen does not come even after changing the values of hdmimode, please do try with you SD card without Petitboot if screen comes.

Code: Select all

[u-boot]
#hdmimode=800x480p60hz
#hdmimode=800x600p60hz
#hdmimode=1280x1024p60hz
hdmimode=480p60hz
#hdmimode=1080p50hz
#hdmimode=1080p60hz
overwrite=false

Sholander
Posts: 126
Joined: Wed Jun 05, 2019 1:02 am
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 0
Been thanked: 12 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Sholander » Sat Feb 01, 2020 8:37 pm

baalho wrote:
Sat Feb 01, 2020 1:20 pm

Has anybody else have success updating to 20200118? I have N2 with 4GB ram, hard wired ethernet. 1080P TV.
Yes, I can use test version 20200118 on my 4GB N2 connected to my 1080p LG TV, without any problems...
Without any device connected to N2 with switch in SPI position it boots Petitboot as it should.

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by CoolGames » Sun Feb 02, 2020 2:58 am

Help in Feb 2020, with dual boot uSD and eMMC after 15+ forum pages of work done already.

I am new here and have Ubuntu on 32gb eMMc with added user leetdavy.
I ran CoreELEC off of Samsung EVO 32gb before inserting eMMC.
SPI/MMC switches to installed petitboot but no switch over to eMMC Ubuntu or uSD CoreElec.
Only way is MMC switch and eMMC removed (untested) for uSD CoreELEC.

TV is no auto 1080p Insignia.
Network is hardwired and dropping Wifi when Ubuntu.
OUYA controller is bluetooth paired and tested with js-test on Ubuntu.
Only Power on IR works and hk config added while exploring lirc issues.

Goal is WebMidi NodeJS and LMMS app for eMMC Ubuntu Studio , dual boot to CoreELEC or Android 9 on uSD using IR and OUYA game control.
I have ordered Odroid GO advance for pocket version on battery, small screen.

WebMIDI will be Midi juke box on Akai via USB.
Anyone remember when Midi met video games in the 1980's ?

Progress so far.
"play" has General Midi (C64/Atari) and speaker / headphone added to mini.

https://www.akaipro.com/mpk-mini-play-mpkminiplay
Using Akai MPK mini play with Akai MPK mini editor start point is working.
Image

Bubblefish0815
Posts: 5
Joined: Tue Dec 31, 2019 3:54 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Bubblefish0815 » Sun Feb 02, 2020 6:26 am

need help

After so many attempts to get petitboot to work, no chance. Recovery img installed, update etc.
Petitpoot is booting - Hardcernel logo - boot menu - corelec (emmc) - or emuelec (sd) all boots correctly - BUT - blank screen on my 4k lcds.

anyone an idea what I could try - no one else has a 4K LCD with this problem?

baalho
Posts: 22
Joined: Tue Nov 19, 2019 4:24 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by baalho » Sun Feb 02, 2020 8:07 pm

tobetter wrote:
Sat Feb 01, 2020 3:22 pm
If you are not able to see the screen of the Petitboot, can you add this to your SD card, must be in the first partition, as a filename petitboot.cfg and do power cycle again? If the screen does not come even after changing the values of hdmimode, please do try with you SD card without Petitboot if screen comes.

Code: Select all

[u-boot]
#hdmimode=800x480p60hz
#hdmimode=800x600p60hz
#hdmimode=1280x1024p60hz
hdmimode=480p60hz
#hdmimode=1080p50hz
#hdmimode=1080p60hz
overwrite=false
Thanks for he information @tobette.
Just so I understand the steps, can you please verify the following steps i have outlined to properly follow your instructions:
1. Flash 20200118 Petitboot.
2. Take CoreElec SD card and place petitboot.cfg in the first partition
3. Turn on N2 with boot select switch set to SPI
4. change hdmimode until screen is not blank

My current petitboot.cfg is 20191127, so i can just run pb-update and follow the above steps.
I am gonna try now, report back if successful. I am still confused about what SD card to use, initially i was going to use an empty SD card to follow your steps.

baalho
Posts: 22
Joined: Tue Nov 19, 2019 4:24 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by baalho » Sun Feb 02, 2020 8:50 pm

Ya, I totally dont now what I am doing.
Tried few different variation, of the above steps and didnt work.

I did pb-update, successfully updated to 20201118. Placed petitboot.cfg in root of sd card, power up with switch in SPI.
Got blank screen
changed hdmiode in petitboot.cfg, tried all different resolution, still got blank screen.

Repeated the above step with spiboot.img and petitboot.cfg in root of the sd card (figured i needed to have the .img file, it was 20201018). still got blank screen.

Restored 20190417, successfully restored.

placed spiboot.img (20200118) and petitboot.cfg in sd card, with switch on EMMC it booted to Corelec. With switch on SPI, it flashed 20200118 successfully, then N2 rebooted, still got blank screen.


when i say blank screen, the TV is NOT get any signal from N2.
N2 just had red LED solidly lit.
hope the solution is not as silly as using an HK remote to turn it on lol. I dont have HK ir remote.

roterdrachen
Posts: 10
Joined: Fri Jan 31, 2020 10:32 pm
languages_spoken: english deutsch
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by roterdrachen » Sun Feb 02, 2020 10:18 pm

Hi I installed latest Petitboot 20200118. I also disabled uhs and made a power recyle, now it´s set after reboot:
spimmc.sh
fw_printenv disable_uhs -> disable_uhs=true is displaying.
Sadly it also hasn´t a positive effect, I use a Sandisk Extreme 128GB uSD card. I still can´t boot Android. I used 2 different Android images, Android Pie secuflag and Lineage 17 alpha 0.2.
Attachments
IMG_20200202_143746[1].jpg
IMG_20200202_143746[1].jpg (277.24 KiB) Viewed 2932 times

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Mon Feb 03, 2020 1:02 am

roterdrachen wrote:
Sun Feb 02, 2020 10:18 pm
Hi I installed latest Petitboot 20200118. I also disabled uhs and made a power recyle, now it´s set after reboot:
spimmc.sh
fw_printenv disable_uhs -> disable_uhs=true is displaying.
Sadly it also hasn´t a positive effect, I use a Sandisk Extreme 128GB uSD card. I still can´t boot Android. I used 2 different Android images, Android Pie secuflag and Lineage 17 alpha 0.2.
Is it only an Android problem? Can other OS boot up?

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Mon Feb 03, 2020 1:06 am

baalho wrote:
Sun Feb 02, 2020 8:50 pm
Ya, I totally dont now what I am doing.
Tried few different variation, of the above steps and didnt work.

I did pb-update, successfully updated to 20201118. Placed petitboot.cfg in root of sd card, power up with switch in SPI.
Got blank screen
changed hdmiode in petitboot.cfg, tried all different resolution, still got blank screen.

Repeated the above step with spiboot.img and petitboot.cfg in root of the sd card (figured i needed to have the .img file, it was 20201018). still got blank screen.

Restored 20190417, successfully restored.

placed spiboot.img (20200118) and petitboot.cfg in sd card, with switch on EMMC it booted to Corelec. With switch on SPI, it flashed 20200118 successfully, then N2 rebooted, still got blank screen.


when i say blank screen, the TV is NOT get any signal from N2.
N2 just had red LED solidly lit.
hope the solution is not as silly as using an HK remote to turn it on lol. I dont have HK ir remote.
Do you have a screen when boot with the OS from eMMC or SD without the Petitboot?
Does the blue LED blink when the Petitboot is started?
What's the model of your display hardware?
Also do not try the different version of Petitboot other than 20191127 or 20200118, it won't help you.

Bubblefish0815
Posts: 5
Joined: Tue Dec 31, 2019 3:54 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Bubblefish0815 » Mon Feb 03, 2020 1:43 am

Today I testet my n2 on 4 different 4K LCDs ( 50 - 65 zoll ) / Two different uSD card ( first with emuelec - 64GB Scandisk ultra , second with 128GB Thosiba ubunto ) + Emmc 64GB with Coreelec.
All systems work if switch is in emmc mode.
Petitboot ( 20191127 ) in SPI - switch to SPI - petitboot menu is visible and with the keyboard I can select emmc or sd and also boot, blue light flashes quickly - but only blank screen.
LCD on off - then I also have a picture no matter whether Ubunto or CE or Emuelc. ( all systems work )
I test petitboot.cfg to change the resolution - it works fine by first boot - bigger letters in petitboot - but next time after rebooting - petitboot does not work ( also bank screen )

Test with Toshiba 4K , Sharp 4K , Philips 4K , Medion 4K - always the same result - bank screen CE / Ubunto / Emuelec

Sav
Posts: 206
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 42 times
Been thanked: 17 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Sav » Mon Feb 03, 2020 2:50 am

roterdrachen wrote:Hi I installed latest Petitboot 20200118. I also disabled uhs and made a power recyle, now it´s set after reboot:
spimmc.sh
fw_printenv disable_uhs -> disable_uhs=true is displaying.
Sadly it also hasn´t a positive effect, I use a Sandisk Extreme 128GB uSD card. I still can´t boot Android. I used 2 different Android images, Android Pie secuflag and Lineage 17 alpha 0.2.
I have the same card and on Petit boot 20191111 got no problems at all.
How do you flash the card?


Inviato dal mio iPad utilizzando Tapatalk

roterdrachen
Posts: 10
Joined: Fri Jan 31, 2020 10:32 pm
languages_spoken: english deutsch
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by roterdrachen » Mon Feb 03, 2020 2:59 am

I flash all images with balenaEtcher connected to a Lexar Multi-Card 25in1 USB3.0 Reader.
I flashed now 2x Coreelec, 1 to emmc, 1 to sdcard.
The Coreelec boot procedure is a little bit unstable, sometimes it boots, sometimes it crashes during boot. Currently disable_uhs is true.

baalho
Posts: 22
Joined: Tue Nov 19, 2019 4:24 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by baalho » Mon Feb 03, 2020 3:06 am

tobetter wrote:
Mon Feb 03, 2020 1:06 am
baalho wrote:
Sun Feb 02, 2020 8:50 pm
Ya, I totally dont now what I am doing.
Tried few different variation, of the above steps and didnt work.

I did pb-update, successfully updated to 20201118. Placed petitboot.cfg in root of sd card, power up with switch in SPI.
Got blank screen
changed hdmiode in petitboot.cfg, tried all different resolution, still got blank screen.

Repeated the above step with spiboot.img and petitboot.cfg in root of the sd card (figured i needed to have the .img file, it was 20201018). still got blank screen.

Restored 20190417, successfully restored.

placed spiboot.img (20200118) and petitboot.cfg in sd card, with switch on EMMC it booted to Corelec. With switch on SPI, it flashed 20200118 successfully, then N2 rebooted, still got blank screen.


when i say blank screen, the TV is NOT get any signal from N2.
N2 just had red LED solidly lit.
hope the solution is not as silly as using an HK remote to turn it on lol. I dont have HK ir remote.
Do you have a screen when boot with the OS from eMMC or SD without the Petitboot?
Does the blue LED blink when the Petitboot is started?
What's the model of your display hardware?
Also do not try the different version of Petitboot other than 20191127 or 20200118, it won't help you.
Blue LED does not blink for the latest Petitboot, 20200118.

I have absolutely no problem with 20191127
I have no problem with Petitboot or running CoreElec from emmc, emuelec, Android etc. My TV is LG, LED 1080p. I have never had any problem with N2 or my TV.

I wanted to update Petitboot to test to see if I can use my Samsung SD card. But like I said in my last few post, on the latest Petitboot, with boot switch on SPI, I get sold red LED lit, and TV says no signal. It's like N2 is not booting.
I have no problem with older Petitboot. Maybe I give up this update.
Can u share ur MD5 hash for the image file for the latest image.

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Mon Feb 03, 2020 3:26 am

baalho wrote:
Mon Feb 03, 2020 3:06 am
tobetter wrote:
Mon Feb 03, 2020 1:06 am
baalho wrote:
Sun Feb 02, 2020 8:50 pm
Ya, I totally dont now what I am doing.
Tried few different variation, of the above steps and didnt work.

I did pb-update, successfully updated to 20201118. Placed petitboot.cfg in root of sd card, power up with switch in SPI.
Got blank screen
changed hdmiode in petitboot.cfg, tried all different resolution, still got blank screen.

Repeated the above step with spiboot.img and petitboot.cfg in root of the sd card (figured i needed to have the .img file, it was 20201018). still got blank screen.

Restored 20190417, successfully restored.

placed spiboot.img (20200118) and petitboot.cfg in sd card, with switch on EMMC it booted to Corelec. With switch on SPI, it flashed 20200118 successfully, then N2 rebooted, still got blank screen.


when i say blank screen, the TV is NOT get any signal from N2.
N2 just had red LED solidly lit.
hope the solution is not as silly as using an HK remote to turn it on lol. I dont have HK ir remote.
Do you have a screen when boot with the OS from eMMC or SD without the Petitboot?
Does the blue LED blink when the Petitboot is started?
What's the model of your display hardware?
Also do not try the different version of Petitboot other than 20191127 or 20200118, it won't help you.
Blue LED does not blink for the latest Petitboot, 20200118.

I have absolutely no problem with 20191127
I have no problem with Petitboot or running CoreElec from emmc, emuelec, Android etc. My TV is LG, LED 1080p. I have never had any problem with N2 or my TV.

I wanted to update Petitboot to test to see if I can use my Samsung SD card. But like I said in my last few post, on the latest Petitboot, with boot switch on SPI, I get sold red LED lit, and TV says no signal. It's like N2 is not booting.
I have no problem with older Petitboot. Maybe I give up this update.
Can u share ur MD5 hash for the image file for the latest image.
This is the hash values for the images.

Code: Select all

bd80c388cda875953a66cb1ed01b2360  spiboot-20200118.img
322ae0747f2163075d4dbceb26c97cca  spiboot-20191127.img
If the blue LED is not blinking, Linux kernel is not booted and stuck at U-boot.
If your Samsung SD card does not have Android image, you can use the SD card with Petitboot by attaching USB card reader alternatively.

baalho
Posts: 22
Joined: Tue Nov 19, 2019 4:24 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by baalho » Mon Feb 03, 2020 5:02 am

I was not even testing the Samsung card for this particular problem.
I am sorry, I do not understand your instructions. I have few different SD card, and I can load any OS you woul like me to test.

So basically, after flashing the latest Petitboot, i am stuck at u-boot. Feels like Irrespective of what boot media i am using, this issue is different.

I can use Etcher to flash SD card with any OS you want me to try. I can take emmc out and boot said SD card, with BOOT switch on eMMC.

Cosmicbase
Posts: 54
Joined: Tue Nov 26, 2019 2:31 am
languages_spoken: german
ODROIDs: Odroid N2
Has thanked: 7 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Cosmicbase » Mon Feb 03, 2020 6:30 am

Hello, is there an easy way to switch between Android and CE without restarting the Odroid N2?
Possibly with the assignment of 2 keys (blue and red?) where a script for starting the respective system is stored.
At the moment I use Petitboot with CE on USB 3.0 Stick and Android 9 on mSD.
Gruß / Greatings Cosmicbase
Ich bin nicht blöd, auch wenn ich nur so tue! :lol:

Sav
Posts: 206
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 42 times
Been thanked: 17 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Sav » Mon Feb 03, 2020 7:15 am

roterdrachen wrote:I flash all images with balenaEtcher connected to a Lexar Multi-Card 25in1 USB3.0 Reader.
I flashed now 2x Coreelec, 1 to emmc, 1 to sdcard.
The Coreelec boot procedure is a little bit unstable, sometimes it boots, sometimes it crashes during boot. Currently disable_uhs is true.
It's strange. Do you have others sd cards?
Maybe the one you are using is flawed.
I got one this summer wich behaved just like yours. Turned out it was damaged.


Inviato dal mio iPad utilizzando Tapatalk

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Mon Feb 03, 2020 9:12 am

baalho wrote:
Mon Feb 03, 2020 5:02 am
I was not even testing the Samsung card for this particular problem.
I am sorry, I do not understand your instructions. I have few different SD card, and I can load any OS you woul like me to test.

So basically, after flashing the latest Petitboot, i am stuck at u-boot. Feels like Irrespective of what boot media i am using, this issue is different.

I can use Etcher to flash SD card with any OS you want me to try. I can take emmc out and boot said SD card, with BOOT switch on eMMC.
Can you grab the logs from U-boot?

roterdrachen
Posts: 10
Joined: Fri Jan 31, 2020 10:32 pm
languages_spoken: english deutsch
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by roterdrachen » Mon Feb 03, 2020 8:04 pm

I´ve got these 3 uSD. The 128 GB Sandisk is brand-new ~ 3 days old. With the 8GB Sandisk I only make Petitboot updates. I use the 128GB Sandisk and 32GB Samsung to test. I don´t think that they both are faulty because I can flash every single one and boot up e.g. Android without problems with eMMC switch enabled (without eMMC inserted). I just can´t boot the same sd cards with Petitboot enabled (with switch set to SPI) That´s the one problem with Petitboot + sd cards.
The other problem is that if I flash e.g. Android to eMMC, SPI=Petitboot=enabled, I also can´t boot up. But I can boot up the eMMC Android image with eMMC switch=enabled. Perhaps I have a different firmware or hardware revision? (I need a...) Is there a full image with "factory reset" and stable working Petitboot?
Attachments
sd.jpg
sd.jpg (211.45 KiB) Viewed 2729 times
Last edited by roterdrachen on Mon Feb 03, 2020 8:23 pm, edited 1 time in total.

Sholander
Posts: 126
Joined: Wed Jun 05, 2019 1:02 am
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 0
Been thanked: 12 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Sholander » Mon Feb 03, 2020 8:21 pm

roterdrachen wrote:
Mon Feb 03, 2020 8:04 pm
Is there a full image with "factory reset" and stable working Petitboot?
Yes, there is. Download "https://dn.odroid.com/S922X/ODROID-N2/S ... 417+95.img" recovery image and
"http://bit.ly/2XQS9bC" upgrade image.
Burn recovery image to uSD card. When done you'll see "spiboot.img" file on the uSD card. Replace this file with the upgrade image, the one you downloaded (version 20191127) taking care about proper name/extension.
Put the switch to SPI position, insert uSD card and power N2. This should reset your SPI internal memory and flash the latest stable Petitboot image.

roterdrachen
Posts: 10
Joined: Fri Jan 31, 2020 10:32 pm
languages_spoken: english deutsch
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by roterdrachen » Mon Feb 03, 2020 9:08 pm

I flashed the image (recovery with spiboot update). Now Petitboot version is 20191127. I installed also Android PIE-R.06 4GB image from secuflag to the 128GB Sandisk sd card. I booted and installed it with switch=eMMC until desktop appeared. After resetting the N2 with SPI=on Petitboot boots up, but Android from sd card doesn´t start, I get an error screen.
Attachments
IMG_20200203_130354.jpg
IMG_20200203_130354.jpg (274.04 KiB) Viewed 2721 times
IMG_20200203_130429.jpg
IMG_20200203_130429.jpg (268.73 KiB) Viewed 2721 times

Sholander
Posts: 126
Joined: Wed Jun 05, 2019 1:02 am
languages_spoken: english
ODROIDs: ODROID N2
Has thanked: 0
Been thanked: 12 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by Sholander » Mon Feb 03, 2020 9:44 pm

Does this Android version start normaly with only uSD card inserted and SPI switch=eMMC ?

baalho
Posts: 22
Joined: Tue Nov 19, 2019 4:24 am
languages_spoken: english
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by baalho » Mon Feb 03, 2020 10:27 pm

tobetter wrote:
Mon Feb 03, 2020 9:12 am
baalho wrote:
Mon Feb 03, 2020 5:02 am
I was not even testing the Samsung card for this particular problem.
I am sorry, I do not understand your instructions. I have few different SD card, and I can load any OS you would like me to test.

So basically, after flashing the latest Petitboot, i am stuck at u-boot. Feels like Irrespective of what boot media i am using, this issue is different.

I can use Etcher to flash SD card with any OS you want me to try. I can take emmc out and boot said SD card, with BOOT switch on eMMC.
Can you grab the logs from U-boot?
I need to connect via UART to get U-boot logs right? Will have to buy a USB-UART Module for it, i dont current own one.

User avatar
tobetter
Posts: 5082
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 159 times
Been thanked: 486 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Post by tobetter » Mon Feb 03, 2020 11:11 pm

Yes, I thought you have one since you said you are stuck at U-boot. Can you please test to boot from eMMC after remove the SD card?

"Tapatalk wishes you to have fun with ODROID"


Last edited by tobetter on Mon Feb 03, 2020 11:11 pm, edited 1 time in total.

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests