Petitboot, yet another bootloader based on KEXEC

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Thu Oct 31, 2019 2:04 am

loznic89 wrote:
Wed Oct 30, 2019 5:26 pm
Since run coreelec by petitboot i cant run any image android or ubuntu in petitboot or with "SPI" in eMMC.

Trying with petitboot 05/07 and 20/10

any help?? thanks
Are you meaning that CoreELEC is in uSD, Android or Ubuntu is in eMMC? But OS in eMMC is not booting by Petitboot? Are you able to see boot entries in Petitboot?

kardanadm
Posts: 67
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 20 times
Been thanked: 1 time
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by kardanadm » Thu Oct 31, 2019 9:57 pm

dualos now works well. img. I flashed without problems.

Manjaro-ARM-KDE-on2-19.08.img does not work with peititboot. I tried double os, I tried single os, it doesn't work with peititboot.

I tried the petitboot with the old version, did new other trials, the result is the same.

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Thu Oct 31, 2019 10:19 pm

kardanadm wrote:
Thu Oct 31, 2019 9:57 pm
dualos now works well. img. I flashed without problems.

Manjaro-ARM-KDE-on2-19.08.img does not work with peititboot. I tried double os, I tried single os, it doesn't work with peititboot.

I tried the petitboot with the old version, did new other trials, the result is the same.
That's strange, I just tested again Manjaro-ARM-kde-on2-19.08.img and it shows its face after Petitboot. Would you run blkid after booting any OS while a memory card contains Manjaro KDE image?

kardanadm
Posts: 67
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 20 times
Been thanked: 1 time
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by kardanadm » Fri Nov 01, 2019 4:05 am

tobetter wrote:
Thu Oct 31, 2019 10:19 pm
kardanadm wrote:
Thu Oct 31, 2019 9:57 pm
dualos now works well. img. I flashed without problems.

Manjaro-ARM-KDE-on2-19.08.img does not work with peititboot. I tried double os, I tried single os, it doesn't work with peititboot.

I tried the petitboot with the old version, did new other trials, the result is the same.
That's strange, I just tested again Manjaro-ARM-kde-on2-19.08.img and it shows its face after Petitboot. Would you run blkid after booting any OS while a memory card contains Manjaro KDE image?

Code: Select all

root@odroid:/home/odroid# blkid
/dev/mmcblk0p1: LABEL="VFAT" UUID="5DAB-3CC9" TYPE="vfat"
/dev/mmcblk0p2: UUID="bf78e9fb-5124-4416-a5c5-0b0c8e8a252c" TYPE="ext4"
/dev/mmcblk1p1: SEC_TYPE="msdos" LABEL="BOOT" UUID="F702-39CB" TYPE="vfat" PARTUUID="215bbf80-01"
/dev/mmcblk1p2: LABEL="rootfs" UUID="e139ce78-9841-40fe-8823-96a304a09859" TYPE="ext4" PARTUUID="215bbf80-02"
/dev/mmcblk1p3: SEC_TYPE="msdos" LABEL="COREELEC" UUID="2009-2145" TYPE="vfat" PARTUUID="215bbf80-03"
/dev/mmcblk1p4: LABEL="STORAGE" UUID="e05657f1-741f-42c7-9c6d-c4676dd1746b" TYPE="ext4" PARTUUID="215bbf80-04"
/dev/sda1: LABEL="1.5TB" UUID="1593106F63E32668" TYPE="ntfs" PTTYPE="dos" PARTUUID="00a607d8-01"
/dev/mmcblk0: PTTYPE="dos"
/dev/mmcblk1: PTUUID="215bbf80" PTTYPE="dos"
/dev/sdb1: SEC_TYPE="msdos" LABEL="BOOT" UUID="FBC7-FECF" TYPE="vfat" PARTUUID="eda3a068-01"
/dev/sdb2: LABEL="ROOT" UUID="28bd7a92-0522-468c-9589-404551be0325" TYPE="ext4" PARTUUID="eda3a068-02"
/dev/sdb3: UUID="e87b96cb-7c76-4329-9c84-6fa42f951b4f" TYPE="ext4" PARTUUID="eda3a068-03"
root@odroid:/home/odroid#

loznic89
Posts: 13
Joined: Tue May 07, 2019 8:01 am
languages_spoken: spanish
ODROIDs: Odroid N2
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by loznic89 » Fri Nov 01, 2019 10:01 am

tobetter wrote:
Thu Oct 31, 2019 2:04 am
loznic89 wrote:
Wed Oct 30, 2019 5:26 pm
Since run coreelec by petitboot i cant run any image android or ubuntu in petitboot or with "SPI" in eMMC.

Trying with petitboot 05/07 and 20/10

any help?? thanks
Are you meaning that CoreELEC is in uSD, Android or Ubuntu is in eMMC? But OS in eMMC is not booting by Petitboot? Are you able to see boot entries in Petitboot?
Thanks for reply

i think booting, but no image in display. white and black screens. with coreelec no problem with emmc and sd card

User avatar
mad_ady
Posts: 6780
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 163 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by mad_ady » Fri Nov 01, 2019 2:07 pm

Aree you using a dvi monitor? That is known not to work at this point...

loznic89
Posts: 13
Joined: Tue May 07, 2019 8:01 am
languages_spoken: spanish
ODROIDs: Odroid N2
Has thanked: 10 times
Been thanked: 1 time
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by loznic89 » Fri Nov 01, 2019 7:50 pm

mad_ady wrote:
Fri Nov 01, 2019 2:07 pm
Aree you using a dvi monitor? That is known not to work at this point...
now reading about that in post sorry...........i think yes haha (Samsung Monitor C24RG50FQU) but previously a weeks ago i can use android 64 bits with no problem out of petitboot

now black and white screens booting android/ubuntu out of petitboot too

thanks for reply :)

MattN
Posts: 3
Joined: Wed Apr 24, 2019 12:37 pm
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by MattN » Mon Nov 04, 2019 11:15 am

Hi, I have been playing with the latest petitboot and have been able to install armbian and manjaro on my terabyte hard drive. Problem is that each of these take over the whole hard drive which is NOT what I wanted. Is there some way to force either program to only take over the partition? I am pretty sure there is an easy answer, just that I'm not that familiar with a ARM system and UBOOT.

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Mon Nov 04, 2019 11:30 am

MattN wrote:
Mon Nov 04, 2019 11:15 am
Hi, I have been playing with the latest petitboot and have been able to install armbian and manjaro on my terabyte hard drive. Problem is that each of these take over the whole hard drive which is NOT what I wanted. Is there some way to force either program to only take over the partition? I am pretty sure there is an easy answer, just that I'm not that familiar with a ARM system and UBOOT.
I've written up this.
https://medium.com/@tobetter/installing ... 7bcaef0545
These users thanked the author tobetter for the post:
rooted (Mon Nov 04, 2019 7:00 pm)

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Tue Nov 05, 2019 3:32 am

@mad_ady, would you please share the U-boot log when your DVI monitor is connected? And the output of /proc/cmdline after Petitboot is started?

User avatar
mad_ady
Posts: 6780
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 163 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by mad_ady » Tue Nov 05, 2019 4:53 am

Sure. uboot output is here:
viewtopic.php?p=270997#p270997
cmdline is here: viewtopic.php?p=271424#p271424

Lensy
Posts: 4
Joined: Mon Nov 04, 2019 8:44 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by Lensy » Tue Nov 05, 2019 7:51 pm

tobetter wrote:
Mon Nov 04, 2019 11:30 am
MattN wrote:
Mon Nov 04, 2019 11:15 am
Hi, I have been playing with the latest petitboot and have been able to install armbian and manjaro on my terabyte hard drive. Problem is that each of these take over the whole hard drive which is NOT what I wanted. Is there some way to force either program to only take over the partition? I am pretty sure there is an easy answer, just that I'm not that familiar with a ARM system and UBOOT.
I've written up this.
https://medium.com/@tobetter/installing ... 7bcaef0545
Using @tobetter's script as inspiration, I did this manually yesterday where I wanted to install EmuElec alongside an existing Android installation; i.e. I had to shrink Android's partition, create new partitions, and clone the EmuElec data over.

If you need a hand with that feel free to drop me a PM.

( .. and thanks to @tobetter for providing the write-up in the first place!)

Lensy
Posts: 4
Joined: Mon Nov 04, 2019 8:44 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by Lensy » Tue Nov 05, 2019 7:57 pm

@tobetter - I believe I may have hit an issue with the current release over the weekend

What seemed to be happening was that with petitboot set to get an IP address via DHCP, attempting to start anything on the USB (linux) or MicroSD (Android) would fail and cause the system to reboot to petitboot. Booting to the EMMC (CoreElec) would work just fine. With the network cable unplugged everything worked fine, and with a static IP assigned everything seems to work fine.

I'm not sure how to get additional information / logging out of petitboot (without a serial adapter) - but if you can point me in the right direction I'm happy to try reproduce this again and share whatever info I find.

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Tue Nov 05, 2019 10:29 pm

Lensy wrote:@tobetter - I believe I may have hit an issue with the current release over the weekend

What seemed to be happening was that with petitboot set to get an IP address via DHCP, attempting to start anything on the USB (linux) or MicroSD (Android) would fail and cause the system to reboot to petitboot. Booting to the EMMC (CoreElec) would work just fine. With the network cable unplugged everything worked fine, and with a static IP assigned everything seems to work fine.

I'm not sure how to get additional information / logging out of petitboot (without a serial adapter) - but if you can point me in the right direction I'm happy to try reproduce this again and share whatever info I find.
Which OS image is installed to USB storage? I would be able to try later if I know.

"Tapatalk wishes you to have fun with ODROID"


Lensy
Posts: 4
Joined: Mon Nov 04, 2019 8:44 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by Lensy » Tue Nov 05, 2019 10:54 pm

tobetter wrote:
Tue Nov 05, 2019 10:29 pm
Which OS image is installed to USB storage? I would be able to try later if I know.
EMMC - CoreElec
USB - Ubuntu Minimal (https://wiki.odroid.com/odroid-n2/os_im ... u/20190806)
SD - Lineage Android (both ATV and normal - viewtopic.php?f=178&t=35484)

I'll also try it again tonight and see if I can reproduce it a couple of days later. Always a good test!

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Wed Nov 06, 2019 1:28 am

201911-rc1
Please let me share the new version with some bug fixes. Click spiboot-201911-rc1.img to download. The file must be copied as spiboot.img to the first partition in your SD card, not eMMC. In order to update properly, the boot select switch must be placed to SPI and must do a power cycle, unless ODROID-N2 will keep boot MMC cards.
https://wiki.odroid.com/odroid-n2/os_im ... grade_mode

Please enjoy the new version and welcome your feedback.

What's improved:
  • Fixed to use HK remote to navigate the boot menu.
  • Improved to support DVI monitor, reported by @mad_ady, and need to be verified.
These users thanked the author tobetter for the post (total 2):
xabolcs (Thu Nov 07, 2019 2:09 am) • odroid (Fri Nov 08, 2019 11:13 am)

User avatar
mad_ady
Posts: 6780
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 163 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by mad_ady » Wed Nov 06, 2019 3:08 am

Thanks tobetter! I'll check it in two days. I'm working from home tomorrow :)

User avatar
mad_ady
Posts: 6780
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 163 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by mad_ady » Thu Nov 07, 2019 10:05 pm

@tobetter: I tried your 201911-rc1 image and yay! The monitor works correctly! Thanks!

I also tested the HK remote. Navigation/Enter works. But the back key doesn't work. Can you map it to "x"? And maybe the menu key mapped to "h"?
These users thanked the author mad_ady for the post (total 2):
tobetter (Thu Nov 07, 2019 10:22 pm) • SirZevo (Sun Nov 10, 2019 4:38 am)

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Thu Nov 07, 2019 10:23 pm

mad_ady wrote:@tobetter: I tried your 201911-rc1 image and yay! The monitor works correctly! Thanks!

I also tested the HK remote. Navigation/Enter works. But the back key doesn't work. Can you map it to "x"? And maybe the menu key mapped to "h"?
Thank for testing...Let me check if remote can map and run with ncurses.

"Tapatalk wishes you to have fun with ODROID"


User avatar
mad_ady
Posts: 6780
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 163 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by mad_ady » Thu Nov 07, 2019 11:16 pm

Well, you have uinput support:

Code: Select all

/ # zcat /proc/config.gz | grep UINPUT
CONFIG_INPUT_UINPUT=y
/ # ls -l /dev/uinput
crw-------    1 0        0          10, 223 Jan  1 00:00 /dev/uinput
So, something like this should work:
https://unix.stackexchange.com/question ... ell-script

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Fri Nov 08, 2019 9:42 pm

I know UINPUT but it requires a module that triggers the event from the user space to kernel space whenever IR remote key is received, Petitboot does not have it. I believe remapping the IR remote keycode for menu and back buttons to another one would work. Let me test it and apply it on next version anyway.

Thank you for your suggestion. :)

"Tapatalk wishes you to have fun with ODROID"


User avatar
mad_ady
Posts: 6780
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 163 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by mad_ady » Fri Nov 08, 2019 9:56 pm

Doesn't /dev/uinput show that the module is already loaded? It's actually built-in.

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Fri Nov 08, 2019 10:04 pm

mad_ady wrote:Doesn't /dev/uinput show that the module is already loaded? It's actually built-in.
I meant the user space module or a service.

"Tapatalk wishes you to have fun with ODROID"


Lensy
Posts: 4
Joined: Mon Nov 04, 2019 8:44 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by Lensy » Sat Nov 09, 2019 4:27 am

Lensy wrote:
Tue Nov 05, 2019 10:54 pm
I'll also try it again tonight and see if I can reproduce it a couple of days later. Always a good test!
So I've now been running on DHCP for a couple of days and haven't been able to reproduce the issue - which means there must have been something else going on at the weekend.

Apologies @tobetter!

I think it's safe to ignore my earlier comment

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Sat Nov 09, 2019 4:59 am

@mad_ady, I am able to MENU key and BACK key to run with Petitboot by updating DTS. It works as expected and let me release in in the next image. :)

Code: Select all

diff --git a/arch/arm64/boot/dts/amlogic/meson64_odroidn2_spibios.dts b/arch/arm64/boot/dts/amlogic/meson64_odroidn2_spibios.dts
index be822b7750b4..f70189adcc56 100644
--- a/arch/arm64/boot/dts/amlogic/meson64_odroidn2_spibios.dts
+++ b/arch/arm64/boot/dts/amlogic/meson64_odroidn2_spibios.dts
@@ -219,8 +219,8 @@
                                REMOTE_KEY(0xCE, KEY_ENTER)
                                REMOTE_KEY(0x82, KEY_HOME)
                                REMOTE_KEY(0x88, KEY_MUTE)
-                               REMOTE_KEY(0xC5, KEY_MENU)
-                               REMOTE_KEY(0x9A, KEY_BACK)
+                               REMOTE_KEY(0xC5, KEY_H)
+                               REMOTE_KEY(0x9A, KEY_X)
                                REMOTE_KEY(0x81, KEY_VOLUMEDOWN)
                                REMOTE_KEY(0x80, KEY_VOLUMEUP)
                                REMOTE_KEY(0xDC, KEY_POWER)>;
These users thanked the author tobetter for the post (total 2):
mad_ady (Sat Nov 09, 2019 3:12 pm) • rooted (Sun Nov 10, 2019 11:53 pm)

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Sat Nov 09, 2019 5:03 am

Lensy wrote:
Sat Nov 09, 2019 4:27 am
Lensy wrote:
Tue Nov 05, 2019 10:54 pm
I'll also try it again tonight and see if I can reproduce it a couple of days later. Always a good test!
So I've now been running on DHCP for a couple of days and haven't been able to reproduce the issue - which means there must have been something else going on at the weekend.

Apologies @tobetter!

I think it's safe to ignore my earlier comment
No worries, nothing wrong. It was a good chance to check the network in Petitboot and I also found an issue that DNS lookup did not work.

STARSK
Posts: 2
Joined: Wed Nov 13, 2019 1:24 am
languages_spoken: english, French
ODROIDs: ODROID N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by STARSK » Wed Nov 13, 2019 2:26 am

Hi,

I received my Odroid N2 board one week ago and after hours of settings I need help from experts!

This is my Odroid N2 configuration:

Coreelec 9.2.0 on Emmc
Android Pie (from HK wiki) on µsd
petitboot 201907-RC1
TV : PANASONIC TX-55FZ800E (4k)
AVR : Yamaha RX-V681

I would like to be able to :

- use coreelec on Emmc, with spi switch set on "emmc" position, without removing the µsd card with Android => ("way 1") (I used Coreelec 90% of the time, so for best performance purpose I put it on Emmc)
- use petitboot, spi switch set on "spi" position, for mutli-booting with Corelec on Emmc + Android on µsd => ("way 2")
- use my harmony one remote with the odroid N2 board whatever using "way 1" or "way 2"



Issues :

Way 1 : When I plug the power cable, coreelec boots but just after the coreelec logo appears, the system reboot. If I removed the µsd card with android, it works fine (coreelec boots)

Way 2 : only petitboot 201907-RC1 works, older and newer versions don't boot any os after petitboot home screen. => black screen when I chose one of the both OS (coreelec or Android)

Way 1 and 2 : The remote works fine with :

- Android on µsd card ( Up down, right, left, ok, switch on, switch off...) everything works (on "way 2")
- Android on µsd card ( Up down, right, left, ok, switch on, switch off...) everything works ( on "way 2")

but with coreelec installed on Emmc, the remote works fine except the "switch on" touch. I need to unplug and plug the power cable for switching coreelec on. The problem occurs whatever the spi switch is set ( "Emmc" or "SPI") ( "way 1" or "way 2")

Thanks for your help

Starsk

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Wed Nov 13, 2019 2:56 am

201911-rc2
Please let me share the new version with some bug fixes. Click spiboot-201911-rc2.img to download. The file must be copied as spiboot.img to the first partition in your SD card, not eMMC. In order to update properly, the boot select switch must be placed to SPI and must do a power cycle, unless ODROID-N2 will keep boot MMC cards.
https://wiki.odroid.com/odroid-n2/os_im ... grade_mode

Please enjoy the new version and welcome your feedback.

What's improved:
  • HK stock remote can run 'Back' and 'Help' key on Petitboot.
  • Network configuration is fixed to support DNS lookup.
These users thanked the author tobetter for the post:
mad_ady (Wed Nov 13, 2019 3:30 am)

User avatar
tobetter
Posts: 4106
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: 46 times
Been thanked: 207 times
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by tobetter » Wed Nov 13, 2019 2:57 am

@STARRK, Can you please try to connect HDMI cable to TV without AVR using the method "Way 2"?

STARSK
Posts: 2
Joined: Wed Nov 13, 2019 1:24 am
languages_spoken: english, French
ODROIDs: ODROID N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by STARSK » Wed Nov 13, 2019 5:58 am

@ tobetter : thank you for helping me!

it's exactly the same behaviour without AVR using Way 2

Test 1:

1- I plug the power cable
2 - Petitboot starts (version 201907-RC1)
3 - boot from coreelec installed on EMMC =>Ok
4 - coreelec is started and works fine
5 - I power off corelec using remote =>Ok
6 - I try to power on coreelec with remote =>Ko nothing happens

Test 2 :

1- I plug the power cable
2 - Petitboot starts (version 201907-RC1)
3 - boot from Android Pie installed on µsd =>Ok
4 - Android pie is started and works fine
5 - I power off Android pie using remote =>Ok
6 - I power on Android pie with remote =>Ok

kardanadm
Posts: 67
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID N2
Has thanked: 20 times
Been thanked: 1 time
Contact:

Re: Petitboot, yet another bootloader based on KEXEC

Unread post by kardanadm » Wed Nov 13, 2019 7:15 am

I know it's off-topic, I'm sorry about that. How do I install triple OS on 64gb uSD? Can you help?

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest