N2 Boot Sequence

Yes I have, Android on eMMC, CE stable on uSD and CE nightly on USB. In fact I have triple boot :slight_smile:
You are a little confused and are mixing 2 different things. Your above quote refers to installing two operating systems on the same media.
Here we talk about dual boot between two OSes on two different media.

Ahh you’re right haha! I was definitely confusing the two. When I wrote my original reply I was thinking in my head that I’d like to be able to dual boot both from the eMMC, but dual boot from eMMC and uSD will be just fine if it’s working. Thanks for pointing that out :wink:

Thanks…:sweat_smile:

If you have Android installed on eMMC and CoreElec on uSD card, then you don’t need SPI-Petitboot to dual boot. You just (like on any other Amlogic box) pull out uSD card and system will boot to Android with SPI switch in eMMC position.
With uSD card inserted system will boot to CoreElec.

Thank you for the explanation :wink:

Hello. I would like to ask for some help. I just received my N2 and prepared a microSD card with Coreelec 9.0.3(imaging with Rufus on Windows). I changed also the device tree. However when I try to start the system from the SPI interface(selecting the CoreElec entry), I get the following message all the time:
“Cannot determine the file type of /usr/var/petitboot/mnt/dev/mmcblk1p1/kernel.img”
I reflashed the card many times, tried another card but no success. The cards are 2GB and 16 GB big but I think it shouldn’t make any difference.
When I start in “MMC” setting of the switch, then nothing happens, just black screen, no blue blinking on the board. Could anybody help out, what am I missing? Thanks in advance for your help.

  1. If you make the N2 image you don’t have to change dtb.
  2. Put your SPI switch to the right (MMC) position.

Thanks for your answer Pelican, I will check in the evening.

Hello. I managed to make it working. Unfortunately the uSD to SD card adapter was faulty. I tried with different ones that I had at home, and suddenly it started working. However there was no sign of this problem, Rufus managed to do the imaging all the time. Thanks for the help!

I have CoreELEC installed on eMMC and Android installed on uSD card. If I remove eMMC I am able to boot Android, however with eMMC in place it just keeps rebooting. Do I have to setup something to get it work?
Is this combination even possible? Thanks

Yes it’s possible via SPI-Petitboot, but it is not recommended. Recomended is Android on eMMC and any other OS on uSD card or USB stick.

Same as pete113, just keeps rebooting, and petiboot doesnt seem to do anything?

Which version of Petitboot are you using ?
To remember your settings in flash memory you need the latest version “20191020-rc1”
For details read this post, and ask then your questions on that forum.

Looks like im running an old version.
I just dont understand it, no idea how to install it, i burned it to a card like it says and nothing happens?

You did something wrong. It says there just to copy downloaded file to root of the uSD card and rename it to spiboot.img. Power off N2, remove eMMC module, insert uSD card with spiboot.img, put the SPI switch in left position and turn on the power. The update process will start automatically.

If it does not work that way, there is another way, but first try this way, it’s simpler…

1 Like

Tried that and nothing happens? what format for the sd card?

Fat32.
If you have a very old, first Petitboot version, then I think this method might not work for you…
You’ll have do do it “the old way”:
Download this Petitboot Recovery image. Burn it on uSD card with Etcher. After the image is burned it will contain an old version of spiboot.img. Replace that old one with the new one and power off N2, remove eMMC module, insert uSD card with burned Recovery image, put the SPI switch in left position and turn on the power.
The update of SPI Petitboot should start automatically.

3 Likes

Excellent, that seems to have worked a treat, well done!.

A few menu issues, think it has a bug but works.

Booting CE From emmc
Android TV from uSD
And an emulation package from USB,
Although might stick Android TV on A ssd.

Now to install multiple items on an ssd and boot :slight_smile:

So from now on i can just drop the image on a fat 32 to upgrade.

Sorted.

Only problem now i need to enable a on off ir code from remote, as have now way to turn it on and off.

Yes, and now all settings that you change will be saved to internal SPI memory. On older versions settings were saved to root of uSD card and you had to have it inserted all the time to use them.

2 Likes

Coolness, well that`s that sorted out, thank you for your help.