Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Share here your ideas for new projects
User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Tue May 01, 2018 4:14 pm

I spent some time to hack the Debian Stretch Installer to run on ODROID-C2 and XU4, you can set up your ODROID boards with up to date packages and set up disk partitions and other stuff what Debian installer supports.

ODROID-XU3/4 ODROID-C2 Instruction to start Debian Installer
  • 1. The installer image size only about 30MB, you can flash it to uSD with dd or other flashing tools.
    2. After flashing the image, insert your uSD to the slot on your ODROID board
    3. Attach HDMI and USB keyboard to run Debian Installer menus
    4. Attach other storage devices (eMMC or USB storages) to the board
    5. After power-up, text-based Debian Installer screen will come to HDMI display
    6. You will be asked to setup partitions or user/password and packages to install
    7. After everything is done, Debian Installer will ask you to reboot your board then you will have new Debian Stretch as you set up
This installer is intended to set up Debian Stretch with upstream U-boot (2018.01) and Linux kernel (4.17-rc3), but not tested to run full desktop environment with OpenGL yet. I think this installer is ok to run the upstream kernel for the headless system, would keep updating the upstream kernel, possibly weekly basis, through my Launchpad.

If you are interested to use this installer and want to have other kernel configuration to add, please request to here or my Launchpad (https://launchpad.net/odroid-image)
Last edited by tobetter on Sun Mar 17, 2019 8:47 pm, edited 3 times in total.

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

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by mad_ady » Tue May 01, 2018 5:06 pm

Nice. What did you do about selecting a video mode suitable for most users? Is the resolution autodetected, or did you force something like 640x480?
I think you should submit a short article/guide for odroid magazine

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by tobetter » Tue May 01, 2018 8:32 pm

mad_ady wrote:Nice. What did you do about selecting a video mode suitable for most users? Is the resolution autodetected, or did you force something like 640x480?
I think you should submit a short article/guide for odroid magazine
Thanks, currently it supports 1920x1280 only by default. I was thinking of spending some time to set 640x480 as normal installer but I didn't yet, it's worth to get some feedback for this before adding more hacks such add preseeding or U-boot config. I'm already kind of exhausted to make this. :)

User avatar
rooted
Posts: 6515
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 37 times
Been thanked: 13 times
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by rooted » Wed May 02, 2018 6:39 am

Very nice, I will test this on my clouds hell ( <-- nice autocorrect) soon.

OMV has got to go!

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by tobetter » Wed May 02, 2018 6:47 am

rooted wrote:Very nice, I will test this on my clouds hell ( <-- nice autocorrect) soon.

OMV has got to go!
Thank you for your interesting, please let me know the problems you encounter later and please keep in mind that this is sort of trivial yet, not same as pre-built images. By the way, I've tried to install and set up OMV from the installation itself but seems Stretch doesn't like OMV. If there is a way to install OMV on Stretch, we can add it to installer menu.

User avatar
rooted
Posts: 6515
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 37 times
Been thanked: 13 times
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by rooted » Wed May 02, 2018 8:00 am

I know mate, I only used OMV (Armbian) for convenience but it isn't convenient when things constantly break and it isn't done the Debian way but the way they (Armbian) think is correct. Makes fixing things hard.

Shouldn't confuse Armbian with OMV, but since it's the base OS I often do.

moon.linux
Posts: 1163
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by moon.linux » Wed May 02, 2018 1:21 pm

@tobetter I tried your c2 image and it failed to bootup.

Code: Select all

GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
TE: 377235
no sdio debug board detected

BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao@wonton

Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
src: 0x00020200, des: 0x10100000, size: 0x00011130


--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng@droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: ef Load bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00063340
be ad de d f0 ad ba ef be ad de not ES chip
[0.492095 Inits done]
secure task start!
high task start!
low task start!
NOTICE:  BL3-1: v1.0(debug):4d2e34d
NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2018.01-00003-ge1065cb8c6-dirty (Mar 17 2018 - 03:37:31 +0000) odroid-c2

DRAM:  2 GiB
MMC:   mmc@72000: 0, mmc@74000: 1
Using default environment

In:    serial@4c0
Out:   serial@4c0
Err:   serial@4c0
Net:   eth0: ethernet@c9410000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
566 bytes read in 2 ms (276.4 KiB/s)
## Executing script at 1f000000
reading /install.a64/uInitrd
12745767 bytes read in 558 ms (21.8 MiB/s)
reading /install.a64/uImage
17809984 bytes read in 771 ms (22 MiB/s)
reading /install.a64/meson-gxbb-odroidc2.dtb
22745 bytes read in 4 ms (5.4 MiB/s)
## Booting kernel from Legacy Image at 01080000 ...
   Image Name:
   Image Type:   AArch64 Linux Kernel Image (uncompressed)
   Data Size:    17809920 Bytes = 17 MiB
   Load Address: 01080000
   Entry Point:  01080000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    12745703 Bytes = 12.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
   Loading Kernel Image ... OK
   Loading Ramdisk to 7d343000, end 7df6abe7 ... OK
   Loading Device Tree to 000000007d33a000, end 000000007d3428d8 ... OK

Starting kernel ...

[    0.573340] meson_gx_pwrc_vpu c8100000.sys-ctrl:power-controller-vpu: failed to get reset lines
[    1.754557] phy phy-c0000000.phy.0: phy poweron failed --> -22

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by tobetter » Wed May 02, 2018 1:25 pm

moon.linux wrote:@tobetter I tried your c2 image and it failed to bootup.

Code: Select all

GXBB:BL1:08dafd:0a8993;FEAT:EDFC318C;POC:3;RCY:0;EMMC:800;NAND:81;SD:0;READ:0;CHK:0;
TE: 377235
no sdio debug board detected

BL2 Built : 11:44:26, Nov 25 2015.
gxb gfb13a3b-c2 - jcao@wonton

Board ID = 8
set vcck to 1100 mv
set vddee to 1050 mv
CPU clk: 1536MHz
DDR channel setting: DDR0 Rank0+1 same
DDR0: 2048MB(auto) @ 912MHz(2T)-13
DataBus test pass!
AddrBus test pass!
Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x000000b0
Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x00009ef0
Sending bl30........................................OK.
Run bl30...
Load bl301 from SD, src: 0x0001c200, des: 0x01000000, size: 0x000018c0
Wait bl30...Done
Sending bl301.......OK.
Run bl301...
src: 0x00020200, des: 0x10100000, size: 0x00011130


--- UART initialized after reboot ---
[Reset cause: unknown]
[Image: unknown, amlogic_v1.1.3046-00db630-dirty 2016-08-31 09:24:14 tao.zeng@droid04]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: ef Load bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x00063340
be ad de d f0 ad ba ef be ad de not ES chip
[0.492095 Inits done]
secure task start!
high task start!
low task start!
NOTICE:  BL3-1: v1.0(debug):4d2e34d
NOTICE:  BL3-1: Built : 17:08:35, Oct 29 2015
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2018.01-00003-ge1065cb8c6-dirty (Mar 17 2018 - 03:37:31 +0000) odroid-c2

DRAM:  2 GiB
MMC:   mmc@72000: 0, mmc@74000: 1
Using default environment

In:    serial@4c0
Out:   serial@4c0
Err:   serial@4c0
Net:   eth0: ethernet@c9410000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
566 bytes read in 2 ms (276.4 KiB/s)
## Executing script at 1f000000
reading /install.a64/uInitrd
12745767 bytes read in 558 ms (21.8 MiB/s)
reading /install.a64/uImage
17809984 bytes read in 771 ms (22 MiB/s)
reading /install.a64/meson-gxbb-odroidc2.dtb
22745 bytes read in 4 ms (5.4 MiB/s)
## Booting kernel from Legacy Image at 01080000 ...
   Image Name:
   Image Type:   AArch64 Linux Kernel Image (uncompressed)
   Data Size:    17809920 Bytes = 17 MiB
   Load Address: 01080000
   Entry Point:  01080000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    12745703 Bytes = 12.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
   Loading Kernel Image ... OK
   Loading Ramdisk to 7d343000, end 7df6abe7 ... OK
   Loading Device Tree to 000000007d33a000, end 000000007d3428d8 ... OK

Starting kernel ...

[    0.573340] meson_gx_pwrc_vpu c8100000.sys-ctrl:power-controller-vpu: failed to get reset lines
[    1.754557] phy phy-c0000000.phy.0: phy poweron failed --> -22
Probably you should check your HDMI display if it shows 1920x1080 resolution screen. Debian installer doesn't proceed in serial console at all.

moon.linux
Posts: 1163
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by moon.linux » Wed May 02, 2018 2:03 pm

Opps thanks for your tip: Yep thanks now it's installing the debain packages

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by tobetter » Wed May 16, 2018 8:31 pm

I've updated kernel package with v4.14-rc5. If you have Debian Stretch installed with my installer, please do run two apt commands and reboot your ODROID-C2 or ODROID-XU4.

Code: Select all

$ sudo apt update
$ sudo apt upgrade
If you like to change the kernel configuration, please post your request to here.
https://answers.launchpad.net/odroid-image

andrewufrank
Posts: 31
Joined: Sun Nov 15, 2015 6:16 pm
languages_spoken: english
ODROIDs: xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by andrewufrank » Tue Oct 23, 2018 3:25 am

I tried a download of your image today, but the installation failed with "no kernel found on this mirror". Could you indicate on which mirror one of the required kernels are found or update the image to include an available kernel.
I like the idea to use the standard debian installer - feels familiar. Interesting approach!
andrew

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by tobetter » Thu Feb 07, 2019 1:07 am

Somehow my server was ruined and have not been working for a while. So I've rebuilt the server and correct the build farm to run daily basis build and keep the installer up-to-date.

You can download the Debian Stretch Installer from "http://ppa.linuxfactory.or.kr/installer/", you can flash them to MicroSD using 'dd' command or 'Etcher'.
For ODROID-XU4 : http://ppa.linuxfactory.or.kr/installer ... _armhf.img
For ODROID-C2 : http://ppa.linuxfactory.or.kr/installer ... _arm64.img

Once the installation is started, you would be asked to select a kernel version to install. Here, you can select 'linux-image-odroid-upstream' package. This package will install the recent kernel uploaded to my PPA server. The current kernel version is vanilla Linux kernel 5.0.0-rc5.

For ODROID-XU4, there is another upstream package built from Memeka's branch, this can be installed after installation is completed.

Please note that for the installation, you need to connect HDMI display and USB keyboard.

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch) Installer for ODROID-XU4/C2

Unread post by tobetter » Sun Feb 17, 2019 10:40 pm

Debian (Stretch) Netinst for ODROID-N2 is ready

You can download the installer image from the link, please do flash the image to your Micro SD card to boot from it.
http://ppa.linuxfactory.or.kr/installer ... _arm64.img
  • Known issues
    - The installer must be boot from Micro SD and must be attached even after the installation is completely finished. This is because the installer erases the boot loader if root file system is the same as the storage where the Debian installer is copied to. I expected to replace the bootloader from Micro SD or eMMC. But it's not finished yet.
    - The /boot partition must be selected and configured to be in eMMC or Micro SD even though the whole system is being installed to USB storage. This is because of the lack of U-boot feature that the current U-boot does not load the boot script 'boot.ini' or 'boot.scr' from the USB storage by default.
    - Other than this, all installation steps are the same as genuine Debian Netboot Installer.
  • Before the installation
    - USB keyboard and HDMI display must be attached, USB-serial port is not required.
    - Ethernet cable must be attached since this installer installs and update the packages through the network only. After the installation is done, all system will have up-to-date packages.
    - You can select packages as original Debian installer, but graphics accelerator or multimedia packages are not yet supported.
    - The kernel version of ODROID-N2 will keep updating from Hardkernel's kernel branch and can add a kernel flavor (kvm or headless) build if requested.
    - For the kernel version, the current version is based on 4.9 and upstream kernel is not ready yet.
Please note that this is the unofficial Debian installer image which has the hack for ODROID boards and is built to install the Debian Stretch natively on the ODROID boards. Once your ODROID is installed with this Image, your system will work like a regular Debian system and some Debian packages will be updated - especially Linux kernel packages - from my personal package repository ppa.linuxfactory.or.kr and most of the packages will be updated from genuine Debian repositories.

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Sun Mar 17, 2019 8:46 pm

Debian (Buster) Netinst for ODROID-N2 is ready
The installer can be downloaded from this link.
http://ppa.linuxfactory.or.kr/installer/ODROID-N2/

The installer will offer you a bare minimal Debian installation and will keep updating the kernel packages built from Hardkernel's kernel branch.

Since new Debian Buster is still in testing, it might be unstable enough. Still, be good to use as a headless system.

* EDIT *
U-boot will be installed by default once the installation is completed and will be updated with the package u-boot-odroidn2.
Last edited by tobetter on Mon Mar 18, 2019 7:04 pm, edited 1 time in total.
These users thanked the author tobetter for the post (total 2):
Berzemus (Mon May 20, 2019 9:01 pm) • etcetera (Wed May 29, 2019 4:11 am)

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Sun Mar 17, 2019 9:09 pm

nice i am going to try your approach flash an emmc and see how it goes on my N-2...will report any significant or relevant feedback
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Mon Mar 18, 2019 12:13 pm

i have an issue with the configuration text multi-choice boxes...
i could not input some software inputs that it wanted

also i could not get it to load a kernel or u-boot..it appeared to boot as per the flashing heartbeat but i had no video..my video choice was kubuntu

a few other text boxes i could not give it web addresses ..i flashed buster image have not tried stretch as yet..

p.s which is the newer image op sys....buster or stretch..????

p.ss..i wil try stretch later today see how i go with that...thanks for any fb...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Mon Mar 18, 2019 12:27 pm

phaseshifter wrote:
Mon Mar 18, 2019 12:13 pm
i have an issue with the configuration text multi-choice boxes...
i could not input some software inputs that it wanted

also i could not get it to load a kernel or u-boot..it appeared to boot as per the flashing heartbeat but i had no video..my video choice was kubuntu

a few other text boxes i could not give it web addresses ..i flashed buster image have not tried stretch as yet..

p.s which is the newer image op sys....buster or stretch..????

p.ss..i wil try stretch later today see how i go with that...thanks for any fb...
Thank you for your testing...
Debian installer does not offer an interface to input software packages, as far as I know, it gives bare minimal system after installation is completed. One thing what you can select software package is about the desktop environment like Kubuntu or LXCE which are not accelerated to be used yet. I am not capable to resolve them yet or it would be nice if someone else can help me out. :) I think Stretch would be same, currently, the installation would be good to use for the headless system.
Buster is Debian 10 and Stretch is Debian 9, so Buster is newer one but not officially released.

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Mon Mar 18, 2019 3:24 pm

ok thank you...it asks for internet addresses in the setting up procedure there are about a dozen "dos box screens"
if that makes sense..like the question you used to get asked when upgrading the kernel red backing screen with choices,,,
i know that i cannot remember what there called..my memory is not as good as it used to be i am 53 years old and had a few heart attacks which i recently had one it scrambled my memory ...any way

so it told me it could not load/install u-boot..and so it told me that the image might fail
a few times and was falling back to some generic kernel..
the board did boot the dmesg went as it should i could minicom into it and i could do command line actions....
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Mon Mar 18, 2019 4:18 pm

phaseshifter wrote:
Mon Mar 18, 2019 3:24 pm
ok thank you...it asks for internet addresses in the setting up procedure there are about a dozen "dos box screens"
if that makes sense..like the question you used to get asked when upgrading the kernel red backing screen with choices,,,
i know that i cannot remember what there called..my memory is not as good as it used to be i am 53 years old and had a few heart attacks which i recently had one it scrambled my memory ...any way

so it told me it could not load/install u-boot..and so it told me that the image might fail
a few times and was falling back to some generic kernel..
the board did boot the dmesg went as it should i could minicom into it and i could do command line actions....
Oh, I see. I hope you manage your health.,

The installer asks many questions, but for most of the questions, you can ignore or say "yes" except username/password and partition table. Other than that, the installer will use the default values, install the kernel and Uboot as well. Next time, if you have a chance to give it a try, just do not give a complicated answer.

I understand that the installer is quite a bit different from other distros which we've used so far because everything is already set in the image while the installer should get answered by the user. In addition, in order to capture the error log, you can get into a shell if you exit from the menu screen. Then you can run the command cat /var/log/syslog, this will explain to you why it's failed. It would be nice if you can share the log file.

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Mon Mar 18, 2019 4:23 pm

it would not let me install kernel or u-boot..it said it was not possible.it would not allow it..i don't remember exactly y..
.but i went with generic kernel that it allowed and it then stated that the install could fail...

ok i will try to debug it i will have to flash the chip again..ok..tonite ..i`ll post back later..////
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Mon Mar 18, 2019 4:25 pm

i am familiar with diet-pi..armbiam..so i dont have problems with them but this either allows my choice or it does not ..if it does not i try the next best thing on the menu that i can...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Mon Mar 18, 2019 6:19 pm

well no matter what i do i cannot install the u-boot not even from minicom at a command line root user..it keeps failing the kernel loading ..however it returns sub process dpkg errors and also states some files and or directories are not injstalled ..with the gui i still cannot install u-boot..it keeps going round and round..not loading stuff..i tried to keep it simple but it complicates the install..ok i will get the log file for you shortly...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Mon Mar 18, 2019 7:07 pm

phaseshifter wrote:
Mon Mar 18, 2019 6:19 pm
well no matter what i do i cannot install the u-boot not even from minicom at a command line root user..it keeps failing the kernel loading ..however it returns sub process dpkg errors and also states some files and or directories are not injstalled ..with the gui i still cannot install u-boot..it keeps going round and round..not loading stuff..i tried to keep it simple but it complicates the install..ok i will get the log file for you shortly...
That's strange, I don't get why and when are you trying to install u-boot since the latest installer will flash U-boot at the end of the installation. Really appreciate to try it out. Wished to work easily, but seems not. :(

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Mon Mar 18, 2019 7:50 pm

ok i dont have the log file just yet but now i see 6 entries in your download list..which one should i use..??
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Tue Mar 19, 2019 12:42 am

phaseshifter wrote:
Mon Mar 18, 2019 7:50 pm
ok i dont have the log file just yet but now i see 6 entries in your download list..which one should i use..??
All they were built by build machine and anyone latest version would be fine. For example, you can download this image and flash it with dd or etcher. Once the flashing is done, insert your SD card to ODROID-N2 and boot up, then installation will start.
http://ppa.linuxfactory.or.kr/installer ... etinst.img

Code: Select all

dd if=buster-odroid-n2_201903181017_arm64_netinst.img of=<your/memory/card> conv=fsync,notrunc
Once everything is ready, you will have an installation screen at 1:57 in this video. Everything is pretty much similar.
https://www.youtube.com/watch?v=30vFbRqXIEE

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Tue Mar 19, 2019 5:29 am

i get error 404 when i try to download from that link

http://ppa.linuxfactory.or.kr/installer ... etinst.img
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Tue Mar 19, 2019 8:06 am

phaseshifter wrote:i get error 404 when i try to download from that link

http://ppa.linuxfactory.or.kr/installer ... etinst.img
@phaseshifter, the link is fine for me.
http://ppa.linuxfactory.or.kr/installer/ODROID-N2/

Tapatalk wishes you to have fun with ODROID.


phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Tue Mar 19, 2019 1:11 pm

this keeps popping up with failed to install/download kernel modules .. every time i i download even a fresh image i get this same fault..i have no idea why..sorry..
i`ll try get you the sis log.. i need a bigger bench atm i have to do something about this space problem...i`ll try flash it to an sd-card this might be an issue but i doubt it
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Tue Mar 19, 2019 1:15 pm

phaseshifter wrote:
Tue Mar 19, 2019 1:11 pm
this keeps popping up with failed to install/download kernel modules .. every time i i download even a fresh image i get this same fault..i have no idea why..sorry..
i`ll try get you the sis log.. i need a bigger bench atm i have to do something about this space problem...
No worries, maybe I need to prepare the installation guide. Probably it's because of unclear step whether or not you have to proceed or skip. :)
Maybe the step what you are saying "download kernel modules", you should skip the step since all device drivers for the installer is already in the kernel binary.
Really appreciate, sorry not to success this time.

phaseshifter
Posts: 3410
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 31 times
Been thanked: 34 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by phaseshifter » Tue Mar 19, 2019 6:43 pm

ok well it`s now installing mate desktop so i dont know what i exactly did but it loaded 126 kernel..etc..etc..hope it continues to finish.tell more later..phase..i did change out the emmc up to a 32 GB maybe i have another failed emmc..running low on these thing`s..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Tue Mar 19, 2019 6:57 pm

phaseshifter wrote:
Tue Mar 19, 2019 6:43 pm
ok well it`s now installing mate desktop so i dont know what i exactly did but it loaded 126 kernel..etc..etc..hope it continues to finish.tell more later..phase..i did change out the emmc up to a 32 GB maybe i have another failed emmc..running low on these thing`s..
Good luck! Please note that any desktop is not being accelerated with the installer yet as I stated in the previous post.

Berzemus
Posts: 3
Joined: Mon May 20, 2019 8:59 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by Berzemus » Mon May 20, 2019 9:01 pm

This is just great! Received my N2 just today, I'll make sure to inform you if I encounter any difficulties while setting it up. Thanks a lot ;)

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Mon May 20, 2019 9:03 pm

Berzemus wrote:This is just great! Received my N2 just today, I'll make sure to inform you if I encounter any difficulties while setting it up. Thanks a lot ;)
Glad to see someone is going to try out this. :) Please let me know if you have any difficulties.

"Tapatalk wishes you to have fun with ODROID"


Berzemus
Posts: 3
Joined: Mon May 20, 2019 8:59 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by Berzemus » Mon May 20, 2019 11:48 pm

Well, I flashed the image to uSD, and did the install without thinking very much about it, as I was busy monitoring something else. Standard issue Debian install, without a hitch (except for me wanting the fully encrypted LVM, and trying to get a SWAP partition too), except for the "skip when no kernels found" issue mentioned above.

So, Standard tools and ssh, added X11 + i3, works like a charm, ready to install the rest of my env (this is meant to be a mobile workstation, I already use buster on all my other stations). Excellent job !

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Mon May 20, 2019 11:56 pm

Berzemus wrote:
Mon May 20, 2019 11:48 pm
Well, I flashed the image to uSD, and did the install without thinking very much about it, as I was busy monitoring something else. Standard issue Debian install, without a hitch (except for me wanting the fully encrypted LVM, and trying to get a SWAP partition too), except for the "skip when no kernels found" issue mentioned above.

So, Standard tools and ssh, added X11 + i3, works like a charm, ready to install the rest of my env (this is meant to be a mobile workstation, I already use buster on all my other stations). Excellent job !
Thanks for the update.
I'm wondering how you were able to install Linux kernel if you have encountered skip when no kernels found?
What's the kernel version installed and running now?

Berzemus
Posts: 3
Joined: Mon May 20, 2019 8:59 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by Berzemus » Tue May 21, 2019 6:16 am

Code: Select all

~> uname -r
4.9.177-odroidn2-arm64

~> dpkg --list | grep linux-image
ii  linux-image-4.9.177-odroidn2-arm64  4.9.177-201905171607~buster         arm64        Linux 4.9 for ODROID (64-bit ARMv8 machines)
ii  linux-image-odroidn2                5:2019.05+hkdk2+201905202247~buster arm64        Kernel package for ODROID-N2
looks good

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Tue May 21, 2019 7:38 am

Berzemus wrote:
Tue May 21, 2019 6:16 am

Code: Select all

~> uname -r
4.9.177-odroidn2-arm64

~> dpkg --list | grep linux-image
ii  linux-image-4.9.177-odroidn2-arm64  4.9.177-201905171607~buster         arm64        Linux 4.9 for ODROID (64-bit ARMv8 machines)
ii  linux-image-odroidn2                5:2019.05+hkdk2+201905202247~buster arm64        Kernel package for ODROID-N2
looks good
Thanks, this is perfectly installed as expected with the latest kernel image.
Please do apt update and apt upgrade in order to update the kernel version, the kernel package is uploaded without the notice whenever the branch is updated.
Thank you for trying the one and good to know your installation works perfectly. :D

dshay
Posts: 2
Joined: Sat Apr 20, 2019 11:33 am
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by dshay » Mon May 27, 2019 11:39 am

Used the buster net installer for N2. Worked fine. Was going to get docker/kubernetes going but there were several kernel tweaks that I would want to make. Can you either point me to your kernel source tree/etc, or can you enable a few more params in your kernel?

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Mon May 27, 2019 12:13 pm

dshay wrote:
Mon May 27, 2019 11:39 am
Used the buster net installer for N2. Worked fine. Was going to get docker/kubernetes going but there were several kernel tweaks that I would want to make. Can you either point me to your kernel source tree/etc, or can you enable a few more params in your kernel?
Thank you for your interesting, the kernel source is my Github here and you can use kernel config in the /boot directory.
https://github.com/tobetter/linux/commi ... idn2-4.9.y

If you know the kernel features to enable for your purpose, I can add them to my build firm.

dshay
Posts: 2
Joined: Sat Apr 20, 2019 11:33 am
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by dshay » Tue May 28, 2019 8:44 am

Thanks. Compiling now...
I've attached my config file.

These were the params enabled:

MEMCG_SWAP
MEMCG_SWAP_ENABLED
BLK_CGROUP
BLK_DEV_THROTTLING
CFG_GROUP_IOSCHED
CGROUP_PERF
CGROUP_HUGETLB
CGROUP_NET_PRIO
CFS_BANDWIDTH
IPVLAN

They were either desired/required for docker or kubernetes.
Never dealt with uboot and replacing kernel image on an odroid / debian. Done this a lot on gentoo x86_64 systems with grub. Will have to figure out what to do once I've got it compiled..
Attachments
odroidn2-kernel-k8.config.gz
Config file for Odroid N2 - additional Kubernetes/Docker params set
(35.23 KiB) Downloaded 17 times

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Tue May 28, 2019 8:47 am

dshay wrote:Thanks. Compiling now...
I've attached my config file.

These were the params enabled:

MEMCG_SWAP
MEMCG_SWAP_ENABLED
BLK_CGROUP
BLK_DEV_THROTTLING
CFG_GROUP_IOSCHED
CGROUP_PERF
CGROUP_HUGETLB
CGROUP_NET_PRIO
CFS_BANDWIDTH
IPVLAN

They were either desired/required for docker or kubernetes.
Never dealt with uboot and replacing kernel image on an odroid / debian. Done this a lot on gentoo x86_64 systems with grub. Will have to figure out what to do once I've got it compiled..
Thanks, I would add the features today and put into my build firm. Out of curiosity, I already have a multiple N2 running Dockers, are the features for the extended features? I recall that I've enabled mandatory kernel features for Docker.

"Tapatalk wishes you to have fun with ODROID"

EDIT: new kernel image has been updated, please do "apt update" and "apt upgrade". The kernel change will be applied on next boot.

sha256
Posts: 81
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Sat Jun 01, 2019 3:23 am

Hey, is there any major functional difference between this installer and installing Buster by upgrading Meveric's Debian Stretch image? I have to pick one. I know an installer is better (I'm used to the Debian installer) but sounds like Meveric's image was tested a lot more (and last time I tried it it worked well enough)... Sorry if it's repeat info, impossible for me to keep up with this forum.

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Sat Jun 01, 2019 5:48 am

sha256 wrote:
Sat Jun 01, 2019 3:23 am
Hey, is there any major functional difference between this installer and installing Buster by upgrading Meveric's Debian Stretch image? I have to pick one. I know an installer is better (I'm used to the Debian installer) but sounds like Meveric's image was tested a lot more (and last time I tried it it worked well enough)... Sorry if it's repeat info, impossible for me to keep up with this forum.
In terms of the functionality or packages can be installable, I believe Meveric's one might be better since he maintained the Debian images and installers for a long time with many various packages. Whilst my approach is to install and set up Debian on your flavors, such as account and file system which can add or set up on installation, and install very minimal packages such that everything else is up to you. I am also keeping and updating the kernel update from Hardkernel's official kernel repo, my intention is building and maintaining as much as genuine Debian does. You are also able to install Debian to USB driver directly, not flashing the image file.

sha256
Posts: 81
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Sat Jun 01, 2019 6:09 am

Thanks, I'm interested in your approach (full vanilla), and since you're explicitly trying Buster rather than Stretch, I might try this. I don't need the media packages he supplied. For now I'm glad there are 2 options but I hope in the future you guys can combine your efforts or something, maybe make an official alternative to the Ubuntu image (which has worked for awhile when I just needed stability, but if hardkernel can't even really support the full 5-year LTS lifespan of 16.04, then I might as well follow Debian). I'm going to try to install Buster with MATE. That's the main unknown: I ran Meveric's image but only headless, I have no idea if this will hold up with a DE - had problems before.

I also hope in the future we might be able to do LUKS system encryption easily on odroids through the Debian installer. Haven't even tried, I just assume that doesn't work lol. There has to be a will.

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Sat Jun 01, 2019 6:18 am

sha256 wrote:
Sat Jun 01, 2019 6:09 am
Thanks, I'm interested in your approach (full vanilla), and since you're explicitly trying Buster rather than Stretch, I might try this. I don't need the media packages he supplied. For now I'm glad there are 2 options but I hope in the future you guys can combine your efforts or something, maybe make an official alternative to the Ubuntu image (which has worked for awhile when I just needed stability, but if hardkernel can't even really support the full 5-year LTS lifespan of 16.04, then I might as well follow Debian). I'm going to try to install Buster with MATE. That's the main unknown: I ran Meveric's image but only headless, I have no idea if this will hold up with a DE - had problems before.

I also hope in the future we might be able to do LUKS system encryption easily on odroids through the Debian installer. Haven't even tried, I just assume that doesn't work lol. There has to be a will.
I am glad to hear your suggestion and please let me know if you found something missing or willing to be supported. I would not help you quickly but will try to keep updating. Also, for sure that my installer is more likely for the headless system since my kernel build does not have GPU acceleration packages which I am willing to do later after resolving DKMS errors. The current kernel version is 4.9.177 same as the HK's official one and some point when 5.x kernel is available and ready, I am going to put into my build firm and easily can switch between 4.9.x and 5.x.

sha256
Posts: 81
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Sat Jun 01, 2019 6:26 am

That's good to know - I don't need the GPU for the time being, just basic DE (MATE is just because it's what hardkernel uses; I tried XFCE on ubuntu image but it kept rebooting randomly). I'll let you know how it goes. If it's too hard I'll try Meveric's instead and delay this (time is the factor). I'm also looking forward to that 5.x (anything 4.19 or above, i.e. to match Buster's 4.19).

sha256
Posts: 81
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Sat Jun 01, 2019 7:21 am

P.S. I think it's an important feature for odroids to have (at least some) images that are as "vanilla" as possible... My one complaint with all these images is the security practices on them are pretty relaxed, teams are small and half these people are just running media so they don't particularly care... it's smarter security-wise to keep your images as small and trivial as possible, so that it's harder for them to be compromised by anyone and can be reviewed more easily. (Your images could use some checksums and signing keys, but even some major distros fail at this, I know the drill) This is far more important to me than the media/gpu/etc. Nevermind the package maintenance.

sha256
Posts: 81
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Tue Jun 04, 2019 9:17 am

Hey,

I took me 3 attempts (yeah, the instructions could be a little clearer) but I got Buster MATE fully installed and working on N2 using Guided Partitioning on the eMMC card. It reads my encrypted disks fine and runs basic fullscreen X11 apps no problem. The time from power on to login screen is maybe 3-4 seconds. Then 4-5 seconds to fully load the desktop. I even was able to play a 1080p mp4 video without any drivers in VLC under MATE, but a little choppy (I won't be using it for this purpose).

I plan to leave this running for 2 weeks to see how it fares and to see how it handles backups and various loads. For now this is fully usable.

Good job.

User avatar
tobetter
Posts: 3544
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: 24 times
Been thanked: 96 times
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by tobetter » Tue Jun 04, 2019 9:41 am

sha256 wrote:
Tue Jun 04, 2019 9:17 am
Hey,

I took me 3 attempts (yeah, the instructions could be a little clearer) but I got Buster MATE fully installed and working on N2 using Guided Partitioning on the eMMC card. It reads my encrypted disks fine and runs basic fullscreen X11 apps no problem. The time from power on to login screen is maybe 3-4 seconds. Then 4-5 seconds to fully load the desktop. I even was able to play a 1080p mp4 video without any drivers in VLC under MATE, but a little choppy (I won't be using it for this purpose).

I plan to leave this running for 2 weeks to see how it fares and to see how it handles backups and various loads. For now this is fully usable.

Good job.
Glad to hear you have successfully installed Debian Buster and even Desktop. Since every packages are from Debian repository except some, the features are very same as other Debian images.

sha256
Posts: 81
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Debian (Stretch/Buster) Netboot installer for ODROID-XU4/C2/N2

Unread post by sha256 » Thu Jun 06, 2019 12:11 pm

The only issue I've seen so far is that MATE (x11?) doesn't detect any monitor type. So there are no refresh rate options and the monitor display never fully shuts off from inactivity (it goes black due to screensaver, but the backlight remains on forever). It's no dealbreaker but it'd be nice to fix at some point. Just reporting.

Post Reply

Return to “The Ideas”

Who is online

Users browsing this forum: No registered users and 1 guest