20200224
Let me introduce a new version of the year 2020, please click
spiboot-20200224.img to download and copy the file to your uSD card as
spiboot.img or
you can update with pb-update command in shell of the Petitboot if you have the version after 20191127
https://wiki.odroid.com/odroid-n2/os_im ... grade_mode
What's improved:
- Blank screen issue on 4K TV is improved.
Many users using 4K TV had an issue that nothing shows after Petitboot due to a bug, that's been fixed but need more test with various TV vendors.[/list]
- UHS (Ultra High Speed) is off by default.
Some users with a certain micro SD card had a booting issue, specifically Samsung EVO, and this issue could be resolved after disabling UHS support since version 20200118. But more users start to use the same memory cards and due to the difficulty to set the flag, it's been disabled by default. Please visit the link for more detail,
viewtopic.php?f=182&t=33873&hilit=20200 ... 00#p278201
PXE is the very new feature that can support network booting if you have DHCP and TFTP/HTTP server. This is not necessary feature for a regular user but very helpful for a system with multiple N2.
Running PXE
I've set up the example PXE server at
http://ppa.linuxfactory.or.kr/installer ... ODROID-N2/, N2 will display multiple boot entries of Debian/Ubuntu Netboot installers like this.

- IMG_20200224_2236216.jpg (304.31 KiB) Viewed 10182 times
In order to run PXE, you need to set up DHCP server by default and TFTP or HTTP server is required. I've done using Apache for HTTP server and
dnsmasq for DHCP server. In order to make DHCP server to fetch the PXE configuration, DHCP configuration needs to be modified and this is my change for
dnsmasq. Most important change for PXE in the change is the lines that start with
dhcp-option-force= and these two lines offers the server where to fetch the PXE menus when Petitboot establish the dynamic IP address by the same DHCP server.
Code: Select all
--- dnsmasq.conf.orig 2020-02-15 03:43:46.828796708 +0900
+++ dnsmasq.conf 2020-02-22 00:18:47.845256410 +0900
@@ -64,6 +64,8 @@
# Add other name servers here, with domain specs if they are for
# non-public domains.
#server=/localnet/192.168.0.1
+server=8.8.8.8
+server=8.8.4.4
# Example of routing PTR queries to nameservers: this will send all
# address->name queries for 192.168.3/24 to nameserver 10.1.2.3
@@ -141,7 +143,7 @@
# 2) Sets the "domain" DHCP option thereby potentially setting the
# domain of all systems configured by DHCP
# 3) Provides the domain part for "expand-hosts"
-#domain=thekelleys.org.uk
+domain=linuxfactory.or.kr
# Set a different domain for a particular subnet
#domain=wireless.thekelleys.org.uk,192.168.2.0/24
@@ -160,7 +162,7 @@
# is needed for networks we reach the dnsmasq DHCP server via a relay
# agent. If you don't know what a DHCP relay agent is, you probably
# don't need to worry about this.
-#dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
+dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
# This is an example of a DHCP range which sets a tag, so that
# some DHCP options may be set only for this network.
@@ -328,7 +340,8 @@
# Override the default route supplied by dnsmasq, which assumes the
# router is the same machine as the one running dnsmasq.
-#dhcp-option=3,1.2.3.4
+dhcp-option=3,192.168.0.1
+dhcp-option=6,192.168.0.2
# Do the same thing, but using the option name
#dhcp-option=option:router,1.2.3.4
@@ -429,9 +442,9 @@
# Magic number - needed before anything else is recognised
#dhcp-option-force=208,f1:00:74:7e
# Configuration file name
-#dhcp-option-force=209,configs/common
+dhcp-option-force=209,pxeboot/ODROID-N2/default
# Path prefix
-#dhcp-option-force=210,/tftpboot/pxelinux/files/
+dhcp-option-force=210,http://ppa.linuxfactory.or.kr/installer/
# Reboot time. (Note 'i' to send 32-bit value)
#dhcp-option-force=211,30i
In order to achieve the same result or for quick testing, you can run this command in the shell prompt of the Petitboot and this command will fetch the PXE config file from my server directly without DHCP server setup.
Code: Select all
pb-event url@/net/eth0 url=http://ppa.linuxfactory.or.kr/installer/pxeboot/ODROID-N2/default
I have not tested to use TFTP instead of HTTP, but it will work for sure and if you have NFS server and set up the command line properly Linux kernel can mount a directory in the NFS server, this will make diskless ODROID-N2 system. Maybe PXE support is necessary to be forked to other threads?
Please keep sharing your experience with the Petitboot.