NetBSD on the Odroid-C2

Post Reply
hominoid
Posts: 319
Joined: Tue Feb 28, 2017 3:55 am
languages_spoken: english
ODROIDs: C2, XU4, MC1, N1, N2
Location: Lake Superior Basin, USA
Has thanked: 11 times
Been thanked: 24 times
Contact:

NetBSD on the Odroid-C2

Unread post by hominoid » Mon Apr 08, 2019 12:30 pm

Ever since I learned that NetBSD had announced that they were making ARM a Tier 1 Architecture I have been following their development work. A few weeks ago on the NetBSD’s ARM developers mailing list, Jared McNeill stated “...the GENERIC64 kernel now supports the Amlogic S905 SoC used in the ODROID-C2 board. Ethernet, USB, and SD/eMMC are all working...”. I immediately obtained an image and started some testing. I want to report my findings and encourage others to try it out. It is not often that Odroid’s get a new non-Linux operating system.

Code: Select all

odroid-c2$ uname -a
NetBSD odroid-c2 8.99.37 NetBSD 8.99.37 (GENERIC64) #0: Sat Apr  6 17:42:28 UTC 2019  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
In the couple of weeks I have been using it, even though it is a development image (refered to as Current), it does appear to be stable. I have not had any problems with the Ethernet, USB or SD/eMMC. There is no frame buffer driver yet, so all interaction has been done through the serial console or ssh. More recently both Armv7 and Arm64 have been moved over to an EFI boot using the latest U-Boot and what looks like the U-Boot Driver Model (DM), I think. There was a recent FOSDEM'19 U-Boot presentation and slides that covers some of the detail of these features.

NetBSD Odroid-C2 U-Boot

Code: Select all

=> version
U-Boot 2019.04-rc1-00141-g63f7e3fca3 (Feb 15 2019 - 20:11:48 -0400) odroid-c2

=> printenv
arch=arm
baudrate=115200
board=odroid-c2
board_name=odroid-c2
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devti
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_source=emmc
boot_syslinux_conf=extlinux/extlinux.conf
boot_targets=romusb mmc0 mmc1 mmc2 pxe dhcp 
bootcmd=run distro_bootcmd
bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old;
bootcmd_mmc0=devnum=0; run mmc_boot
bootcmd_mmc1=devnum=1; run mmc_boot
bootcmd_mmc2=devnum=2; run mmc_boot
bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi
bootcmd_romusb=if test "${boot_source}" = "usb" && test -n "${scriptaddr}"; then echo '(ROM USB boot)'; source ${scriptaddr}; fi
bootdelay=2
cpu=armv8
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
efi_dtb_prefixes=/ /dtb/ /dtb/current/
ethaddr=00:1e:06:35:c0:f0
fdt_addr_r=0x08008000
fdtcontroladdr=7df5b318
fdtfile=amlogic/meson-gxbb-odroidc2.dtb
kernel_addr_r=0x08080000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
pxefile_addr_r=0x01080000
ramdisk_addr_r=0x13000000
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_ext;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_boott
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_boote
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}$i
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then e
scriptaddr=0x08000000
serial#=HKC213254DFF7470�
soc=meson
stderr=serial
stdin=serial
stdout=serial
vendor=amlogic

Environment size: 3642/8188 bytes

Code: Select all

=> dm tree
 Class     Index  Probed  Driver                Name
-----------------------------------------------------------
 root         0  [ + ]   root_driver           root_driver
 firmware     0  [   ]   psci                  |-- psci
 clk          0  [   ]   fixed_rate_clock      |-- xtal-clk
 simple_bus   0  [ + ]   generic_simple_bus    |-- soc
 simple_bus   1  [   ]   generic_simple_bus    |   |-- bus@c1100000
 reset        0  [   ]   meson_reset           |   |   |-- reset-controller@4404
 i2c          0  [   ]   i2c_meson             |   |   `-- i2c@8500
 simple_bus   2  [ + ]   generic_simple_bus    |   |-- bus@c8100000
 simple_bus   3  [   ]   generic_simple_bus    |   |   |-- sys-ctrl@0
 syscon       0  [   ]   syscon                |   |   |-- ao-secure@140
 serial       0  [ + ]   serial_meson          |   |   |-- serial@4c0
 pinctrl      0  [ + ]   meson-gxbb-pinctrl    |   |   `-- pinctrl@14
 pinconfig    0  [   ]   pinconfig             |   |       |-- bank@14
 pinconfig    1  [   ]   pinconfig             |   |       |   `-- usb-hub
 pinconfig    2  [ + ]   pinconfig             |   |       |-- uart_ao_a
 pinconfig    3  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig    4  [   ]   pinconfig             |   |       |-- uart_ao_a_cts_rts
 pinconfig    5  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig    6  [   ]   pinconfig             |   |       |-- uart_ao_b
 pinconfig    7  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig    8  [   ]   pinconfig             |   |       |-- uart_ao_b_cts_rts
 pinconfig    9  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   10  [   ]   pinconfig             |   |       |-- remote_input_ao
 pinconfig   11  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   12  [   ]   pinconfig             |   |       |-- i2c_ao
 pinconfig   13  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   14  [   ]   pinconfig             |   |       |-- pwm_ao_a_3
 pinconfig   15  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   16  [   ]   pinconfig             |   |       |-- pwm_ao_a_6
 pinconfig   17  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   18  [   ]   pinconfig             |   |       |-- pwm_ao_a_12
 pinconfig   19  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   20  [   ]   pinconfig             |   |       |-- pwm_ao_b
 pinconfig   21  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   22  [   ]   pinconfig             |   |       |-- i2s_am_clk
 pinconfig   23  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   24  [   ]   pinconfig             |   |       |-- i2s_out_ao_clk
 pinconfig   25  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   26  [   ]   pinconfig             |   |       |-- i2s_out_lr_clk
 pinconfig   27  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   28  [   ]   pinconfig             |   |       |-- i2s_out_ch01_ao
 pinconfig   29  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   30  [   ]   pinconfig             |   |       |-- i2s_out_ch23_ao
 pinconfig   31  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   32  [   ]   pinconfig             |   |       |-- i2s_out_ch45_ao
 pinconfig   33  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   34  [   ]   pinconfig             |   |       |-- spdif_out_ao_6
 pinconfig   35  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   36  [   ]   pinconfig             |   |       |-- spdif_out_ao_13
 pinconfig   37  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   38  [   ]   pinconfig             |   |       |-- ao_cec
 pinconfig   39  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   40  [   ]   pinconfig             |   |       |-- ee_cec
 pinconfig   41  [   ]   pinconfig             |   |       |   `-- mux
 gpio         0  [   ]   meson-gx-gpio         |   |       `-- meson-gpio
 simple_bus   4  [ + ]   generic_simple_bus    |   |-- periphs@c8834000
 pinctrl      1  [ + ]   meson-gxbb-pinctrl    |   |   `-- pinctrl@4b0
 pinconfig   42  [   ]   pinconfig             |   |       |-- bank@4b0
 pinconfig   43  [ + ]   pinconfig             |   |       |-- emmc
 pinconfig   44  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   45  [ + ]   pinconfig             |   |       |-- emmc-ds
 pinconfig   46  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   47  [   ]   pinconfig             |   |       |-- emmc_clk_gate
 pinconfig   48  [   ]   pinconfig             |   |       |   |-- mux
 pinconfig   49  [   ]   pinconfig             |   |       |   `-- cfg-pull-down
 pinconfig   50  [   ]   pinconfig             |   |       |-- nor
 pinconfig   51  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   52  [   ]   pinconfig             |   |       |-- spi-pins
 pinconfig   53  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   54  [   ]   pinconfig             |   |       |-- spi-ss0
 pinconfig   55  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   56  [ + ]   pinconfig             |   |       |-- sdcard
 pinconfig   57  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   58  [   ]   pinconfig             |   |       |-- sdcard_clk_gate
 pinconfig   59  [   ]   pinconfig             |   |       |   |-- mux
 pinconfig   60  [   ]   pinconfig             |   |       |   `-- cfg-pull-down
 pinconfig   61  [   ]   pinconfig             |   |       |-- sdio
 pinconfig   62  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   63  [   ]   pinconfig             |   |       |-- sdio_clk_gate
 pinconfig   64  [   ]   pinconfig             |   |       |   |-- mux
 pinconfig   65  [   ]   pinconfig             |   |       |   `-- cfg-pull-down
 pinconfig   66  [   ]   pinconfig             |   |       |-- sdio_irq
 pinconfig   67  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   68  [   ]   pinconfig             |   |       |-- uart_a
 pinconfig   69  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   70  [   ]   pinconfig             |   |       |-- uart_a_cts_rts
 pinconfig   71  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   72  [   ]   pinconfig             |   |       |-- uart_b
 pinconfig   73  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   74  [   ]   pinconfig             |   |       |-- uart_b_cts_rts
 pinconfig   75  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   76  [   ]   pinconfig             |   |       |-- uart_c
 pinconfig   77  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   78  [   ]   pinconfig             |   |       |-- uart_c_cts_rts
 pinconfig   79  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   80  [   ]   pinconfig             |   |       |-- i2c_a
 pinconfig   81  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   82  [   ]   pinconfig             |   |       |-- i2c_b
 pinconfig   83  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   84  [   ]   pinconfig             |   |       |-- i2c_c
 pinconfig   85  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   86  [ + ]   pinconfig             |   |       |-- eth-rgmii
 pinconfig   87  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   88  [   ]   pinconfig             |   |       |-- eth-rmii
 pinconfig   89  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   90  [   ]   pinconfig             |   |       |-- pwm_a_x
 pinconfig   91  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   92  [   ]   pinconfig             |   |       |-- pwm_a_y
 pinconfig   93  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   94  [   ]   pinconfig             |   |       |-- pwm_b
 pinconfig   95  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   96  [   ]   pinconfig             |   |       |-- pwm_d
 pinconfig   97  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   98  [   ]   pinconfig             |   |       |-- pwm_e
 pinconfig   99  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   100  [   ]   pinconfig             |   |       |-- pwm_f_x
 pinconfig   101  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   102  [   ]   pinconfig             |   |       |-- pwm_f_y
 pinconfig   103  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   104  [   ]   pinconfig             |   |       |-- hdmi_hpd
 pinconfig   105  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   106  [   ]   pinconfig             |   |       |-- hdmi_i2c
 pinconfig   107  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   108  [   ]   pinconfig             |   |       |-- i2sout_ch23_y
 pinconfig   109  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   110  [   ]   pinconfig             |   |       |-- i2sout_ch45_y
 pinconfig   111  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   112  [   ]   pinconfig             |   |       |-- i2sout_ch67_y
 pinconfig   113  [   ]   pinconfig             |   |       |   `-- mux
 pinconfig   114  [   ]   pinconfig             |   |       |-- spdif_out_y
 pinconfig   115  [   ]   pinconfig             |   |       |   `-- mux
 gpio         1  [ + ]   meson-gx-gpio         |   |       `-- meson-gpio
 simple_bus   5  [   ]   generic_simple_bus    |   |-- bus@c8838000
 simple_bus   6  [ + ]   generic_simple_bus    |   |-- bus@c883c000
 simple_bus   7  [ + ]   generic_simple_bus    |   |   `-- system-controller@0
 clk          1  [ + ]   meson_clk             |   |       |-- clock-controller
 syscon       1  [ + ]   syscon                |   |       `-- system-controller@0
 clk          2  [   ]   meson_clk             |   |           `-- clock-controller
 eth          0  [ + ]   eth_designware        |   |-- ethernet@c9410000
 simple_bus   8  [ + ]   generic_simple_bus    |   `-- apb@d0000000
 mmc          0  [ + ]   meson_gx_mmc          |       |-- mmc@72000
 blk          0  [   ]   mmc_blk               |       |   `-- mmc@72000.blk
 mmc          1  [ + ]   meson_gx_mmc          |       `-- mmc@74000
 blk          1  [   ]   mmc_blk               |           `-- mmc@74000.blk
 regulator    0  [   ]   fixed regulator       |-- regulator-usb-pwrs
 regulator    1  [   ]   fixed regulator       |-- regulator-tflash_vdd
 regulator    2  [   ]   fixed regulator       |-- regulator-vcc1v8
 regulator    3  [   ]   fixed regulator       `-- regulator-vcc3v3

Code: Select all

=> dm uclass
uclass 0: root
0 * root_driver @ 7df62050, seq 0, (req -1)

uclass 17: blk
0   mmc@72000.blk @ 7df684f0
1   mmc@74000.blk @ 7df68860

uclass 20: clk
0   xtal-clk @ 7df62250
1 * clock-controller @ 7df67f80, seq 0, (req -1)
2   clock-controller @ 7df69bc0

EFI: Initializing UCLASS_EFI
uclass 25: efi
uclass 26: eth
0 * ethernet@c9410000 @ 7df68090, seq 0, (req 0)

uclass 27: firmware
0   psci @ 7df62160

uclass 29: gpio
0   meson-gpio @ 7df69020
1 * meson-gpio @ 7df691d0, seq 0, (req -1)

uclass 31: i2c
0   i2c@8500 @ 7df62650, seq -1, (req 0)

uclass 33: i2c_generic
uclass 44: mmc
0 * mmc@72000 @ 7df68280, seq 0, (req -1)
1 * mmc@74000 @ 7df68630, seq 1, (req -1)

uclass 55: pinconfig
0   bank@14 @ 7df62bd0
1   usb-hub @ 7df62c80
2 * uart_ao_a @ 7df62d30, seq 0, (req -1)
3   mux @ 7df62de0
4   uart_ao_a_cts_rts @ 7df62e90
5   mux @ 7df62f40
6   uart_ao_b @ 7df62ff0
7   mux @ 7df630a0
8   uart_ao_b_cts_rts @ 7df63150
9   mux @ 7df63200
10   remote_input_ao @ 7df632b0
11   mux @ 7df63360
12   i2c_ao @ 7df63410
13   mux @ 7df634c0
14   pwm_ao_a_3 @ 7df63570
15   mux @ 7df63620
16   pwm_ao_a_6 @ 7df636d0
17   mux @ 7df63780
18   pwm_ao_a_12 @ 7df63830
19   mux @ 7df638e0
20   pwm_ao_b @ 7df63990
21   mux @ 7df63a40
22   i2s_am_clk @ 7df63af0
23   mux @ 7df63ba0
24   i2s_out_ao_clk @ 7df63c50
25   mux @ 7df63d00
26   i2s_out_lr_clk @ 7df63db0
27   mux @ 7df63e60
28   i2s_out_ch01_ao @ 7df63f10
29   mux @ 7df63fc0
30   i2s_out_ch23_ao @ 7df64070
31   mux @ 7df64120
32   i2s_out_ch45_ao @ 7df641d0
33   mux @ 7df64280
34   spdif_out_ao_6 @ 7df64330
35   mux @ 7df643e0
36   spdif_out_ao_13 @ 7df64490
37   mux @ 7df64540
38   ao_cec @ 7df645f0
39   mux @ 7df646a0
40   ee_cec @ 7df64750
41   mux @ 7df64800
42   bank@4b0 @ 7df64a30
43 * emmc @ 7df64ae0, seq 2, (req -1)
44   mux @ 7df64b90
45 * emmc-ds @ 7df64c40, seq 3, (req -1)
46   mux @ 7df64cf0
47   emmc_clk_gate @ 7df64da0
48   mux @ 7df64e50
49   cfg-pull-down @ 7df64f00
50   nor @ 7df64fb0
51   mux @ 7df65060
52   spi-pins @ 7df65110
53   mux @ 7df651c0
54   spi-ss0 @ 7df65270
55   mux @ 7df65320
56 * sdcard @ 7df653d0, seq 1, (req -1)
57   mux @ 7df65480
58   sdcard_clk_gate @ 7df65530
59   mux @ 7df655e0
60   cfg-pull-down @ 7df65690
61   sdio @ 7df65740
62   mux @ 7df657f0
63   sdio_clk_gate @ 7df658a0
64   mux @ 7df65950
65   cfg-pull-down @ 7df65a00
66   sdio_irq @ 7df65ab0
67   mux @ 7df65b60
68   uart_a @ 7df65c10
69   mux @ 7df65cc0
70   uart_a_cts_rts @ 7df65d70
71   mux @ 7df65e20
72   uart_b @ 7df65ed0
73   mux @ 7df65f80
74   uart_b_cts_rts @ 7df66030
75   mux @ 7df660e0
76   uart_c @ 7df66190
77   mux @ 7df66240
78   uart_c_cts_rts @ 7df662f0
79   mux @ 7df663a0
80   i2c_a @ 7df66450
81   mux @ 7df66500
82   i2c_b @ 7df665b0
83   mux @ 7df66660
84   i2c_c @ 7df66710
85   mux @ 7df667c0
86 * eth-rgmii @ 7df66870, seq 4, (req -1)
87   mux @ 7df66920
88   eth-rmii @ 7df669d0
89   mux @ 7df66a80
90   pwm_a_x @ 7df66b30
91   mux @ 7df66be0
92   pwm_a_y @ 7df66c90
93   mux @ 7df66d40
94   pwm_b @ 7df66df0
95   mux @ 7df66ea0
96   pwm_d @ 7df66f50
97   mux @ 7df67000
98   pwm_e @ 7df670b0
99   mux @ 7df67160
100   pwm_f_x @ 7df67210
101   mux @ 7df672c0
102   pwm_f_y @ 7df67370
103   mux @ 7df67420
104   hdmi_hpd @ 7df674d0
105   mux @ 7df67580
106   hdmi_i2c @ 7df67630
107   mux @ 7df676e0
108   i2sout_ch23_y @ 7df67790
109   mux @ 7df67840
110   i2sout_ch45_y @ 7df678f0
111   mux @ 7df679a0
112   i2sout_ch67_y @ 7df67a50
113   mux @ 7df67b00
114   spdif_out_y @ 7df67bb0
115   mux @ 7df67c60

uclass 56: pinctrl
0 * pinctrl@14 @ 7df62ae0, seq 0, (req -1)
1 * pinctrl@4b0 @ 7df64980, seq 1, (req -1)

uclass 62: regulator
0   regulator-usb-pwrs @ 7df689e0
1   regulator-tflash_vdd @ 7df68b00
2   regulator-vcc1v8 @ 7df68c20
3   regulator-vcc3v3 @ 7df68d40

uclass 64: reset
0   reset-controller@4404 @ 7df62540

uclass 67: serial
0 * serial@4c0 @ 7df629d0, seq 0, (req 0)

uclass 68: simple_bus
0 * soc @ 7df62360, seq 0, (req -1)
1   bus@c1100000 @ 7df62430
2 * bus@c8100000 @ 7df62700, seq 1, (req -1)
3   sys-ctrl@0 @ 7df627d0
4 * periphs@c8834000 @ 7df648b0, seq 3, (req -1)
5   bus@c8838000 @ 7df67d10
6 * bus@c883c000 @ 7df67de0, seq 4, (req -1)
7 * system-controller@0 @ 7df67eb0, seq 5, (req -1)
8 * apb@d0000000 @ 7df68170, seq 2, (req -1)

uclass 75: syscon
0   ao-secure@140 @ 7df628e0
1 * system-controller@0 @ 7df69b10, seq 0, (req -1)

=> coninfo
List of available devices:
serial@4c0 00000007 IO 
serial   00000003 IO stdin stdout stderr 
Screenshot_2019-04-07_19-09-39.png
Screenshot_2019-04-07_19-09-39.png (100.74 KiB) Viewed 927 times
Basic Tests
In testing Wifi I found Hard Kernel’s WiFi module 3 worked well and module 0 is recognized but has an issue connecting. I have not spent much time trying to debug the issue. I did not have Module 4 to try and Modules 5 and 5a were not recognized. I suspect it is because there are no kernel drivers for them.

Code: Select all

odroid-c2# ifconfig -a
awge0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ec_capabilities=1<VLAN_MTU>
        ec_enabled=0
        address: 00:1e:06:35:c0:f0
        media: Ethernet autoselect (none)
        status: no carrier
urtwn0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ssid ****** nwkey 65536:"",0x291c3794cf1854d5f41885763b2b0200,"",""
        powersave off
        bssid 84:c9:bf:48:fb:25 chan 1
        address: 00:13:cf:80:e7:28
        media: IEEE802.11 autoselect (OFDM54 mode 11g)
        status: active
        inet6 fe80::213:efff:fe80:1729%urtwn0/64 flags 0x0 scopeid 0x2
        inet 192.168.0.106/24 broadcast 192.168.0.255 flags 0x0
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
        inet6 ::1/128 flags 0x20<NODAD>
        inet6 fe80::1%lo0/64 flags 0x0 scopeid 0x3
        inet 127.0.0.1/8 flags 0x0
LAN GB speed

Code: Select all

odroid-c2# iperf -c 192.168.0.103 -w 400KB
------------------------------------------------------------
Client connecting to 192.168.0.103, TCP port 5001
TCP window size: 32.5 KByte (WARNING: requested  400 KByte)
------------------------------------------------------------
[  4] local 192.168.0.109 port 65533 connected with 192.168.0.103 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec   577 MBytes   483 Mbits/sec
WiFi

Code: Select all

odroid-c2# iperf -c 192.168.103 -w 85.3KB
------------------------------------------------------------
Client connecting to 192.168.103, TCP port 5001
TCP window size: 86.3 KByte (WARNING: requested 85.3 KByte)
------------------------------------------------------------
[  4] local 192.168.0.106 port 65526 connected with 192.168.0.103 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  31.6 MBytes  26.4 Mbits/sec
Hard Kernel Red eMMC 64GB FFS Filesystem

Code: Select all

iozone -a -b NetBSD_Odorid-C2_emmc.xls -O
odroid-c2# iozone -a -b NetBSD_Odorid-C2_emmc.xls -O
        Iozone: Performance Test of File I/O
                Version $Revision: 3.430 $
                Compiled for 64 bit mode.
                Build: netbsd 

        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa.

        Run began: Fri Apr  5 02:32:23 2019

        Auto Mode
        OPS Mode. Output is in operations per second.
        Command line used: iozone -a -b NetBSD_Odorid-C2_emmc.xls -O
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
              64       4    19849    39226   202864   249655   161783     6451   145318     56498    168697    35643    37286   156867   181962
              64       8    11937    32394   185582   195304   135406     4828   114206     50321    142902    30537    30648   122997   135954
              64      16     6152    20097   111250   117482    93307     1499    68813     36095     93307    19604    20121    74299    83135
              64      32     3425    11902    64624    66679    57140    11293    42623     19608     57140    11369    11768    41774    48826
              64      64     3057     8068    33339    37181    32312     7147     7872      7246      8633     6535     8195     7452    24413
             128       4    19837    33758   220823   250030   164926     5419   153777     57857    163320    36444    31686   171020   179722
             128       8    13780    32127   192949   205347   141637     2987   126906     53481    145633    30604    30534   125953   137855
             128      16     7086    20350   107959   119493    95377     1734    79361     40830     97597    19705    19998    74103    83509
             128      32     4639    11799    58701    65585    56336     1121    46499     25160     57103    10332    10667    40839    45989
             128      64     4114     8130    12339    35725    31678     6821     8098       881     13711     7195     8193     7116    24118
             128     128     2028     4018    16144    18574    16144     3355     3546      3057      3772     2660     3534     3135    10111
             256       4    22751    37382   217743   242531   162805     4850   150907     57606    159991    30260    30376   165414   176276
             256       8    14739    31041   172116   189357   140423     3472   119858     53054    133310    29172    29820   123044   130080
             256      16     7674    19652    96447   113588    93491     1776    77599     42106     99302    16493    17111    71407    77599
             256      32     5589    11332    43930    62507    55942      914    44161     28586     58375    11034    11363    37583    42323
             256      64     4994     7844     9219    32029    29651     5821     7767       566     19332     6341     7103     6369    20615
             256     128     2447     3898     5715    15984    15147     2870     3636       490      6448     2994     3453     3104     9260
             256     256     1161     1653     5843     6800     6027     1368     1653      1444      1692     1333     1732     1479     3582
             512       4    21622    30768   171370   199076   144794     4481   134190     55675    139890    28674    34857   141289   151666
             512       8    15313    30131   130384   149146   124286     2714   105983     52895    113273    23950    24457    99538   111116
             512      16     7958    16887    74781    86047    78042     1498    64255     42719     70351    17660    17345    56852    62636
             512      32     5914     9994    39902    45197    45565     1025    36535     30465     59293    10652    10898    30646    33982
             512      64     5539     7691     7554    22860    23256     6308     7116       517     24300     6791     7610     6168    16596
             512     128     2675     3724     4167    10613    11733     3098     3490       314      9363     3090     3478     3043     8113
             512     256     1245     1686     2465     5570     4949     1392     1686       230      2758     1419     1643     1470     3539
             512     512      607      780     2074     2087     2028      656      789       659       805      670      771      667     1381
            1024       4    12601    34505   163386   176057   127495     4181   125557     56079    127616    32474    33198   133752   136316
            1024       8     6269    28130   113077   125121   104575     2394    99460     53801    101741    26408    27049    96165    97634
            1024      16     3541    17947    67721    70256    63179     1606    61598     43899     60955    17002    16190    55077    56730
            1024      32     1881    10346    37078    38002    36653      889    31368     31530     35201     9931    10296    29434    30387
            1024      64     1201     7302     7023    19826    19022     6092     6995       490     28022     6277     7184     6104    15843
            1024     128      628     3538     3651     9684     9963     3137     3464       273     11920     3084     3369     3054     7999
            1024     256      302     1542     1960     5154     4778     1383     1704       153      3932     1393     1552     1461     3630
            1024     512      133      752     1062     2019     1987      657      795       116      1192      667      747      652     1385
            1024    1024       64      368     1017     1036     1013      334      383       336       388      335      365      310      615
            2048       4    16684    32649   163061   174396   125857     4104   124876     55416    125732    31122    30651   134169   135378
            2048       8    10096    23400   123081   125249   100267     2305    98763     51990     99146    23813    25981    95991    96787
            2048      16     5388    15515    68271    69302    61661     1328    58154     43988     58154    16414    15786    55008    55768
            2048      32     3123     9503    36364    37057    34406      993    33681     33698     33988     9640     8949    29398    29959
            2048      64     2012     6938     6765    19265    18464     6027     6936       458     17392     6077     6570     6071    15694
            2048     128      961     3403     3484     9918     9661     2981     3478       247     14045     3014     3345     3041     7874
            2048     256      480     1521     1797     4950     4750     1372     1720       125      4869     1347     1474     1454     3584
            2048     512      214      735      897     2024     1998      668      799        76      1493      659      725      650     1387
            2048    1024      122      366      537      994      990      331      390        60       571      330      362      309      611
            2048    2048       59      182      498      498      495      165      192       167       193      167      180      156      315
            4096       4    20043    30327   169568   173584   125320     4204   124894     53702    125382    30056    30139   135181   134952
            4096       8    13512    24108   124514   125029    98763     2402    98464     51430     99550    24876    24354    96642    96621
            4096      16     7454    16477    68231    68759    60835     1491    60981     44358     60636    16266    16311    55471    55471
            4096      32     4209     9751    36739    36835    34005      918    33827     34270     33996     9586     9574    29753    29738
            4096      64     2826     6794     6856    19097    18253     5966     6906       452     17763     5885     6740     6248    15674
            4096     128     1442     3361     3489     9767     9540     2969     3483       236      8911     2970     3326     3096     7856
            4096     256      683     1492     1765     4863     4753     1350     1721       121      6111     1368     1486     1492     3584
            4096     512      320      728      860     2061     2043      660      807        68      1730      665      710      671     1395
            4096    1024      171      378      476     1049     1045      339      408        40       756      345      371      327      654
            4096    2048      109      190      288      525      523      173      202        60       298      174      190      162      320
            4096    4096       42       96      262      264      263       85      101        86       101       85       96       81      160
            8192       4    23948    31307   171624   172375   125250     5241   125061     53587    125245    30440    30119   133167   133716
            8192       8    16204    25649   124727   124528    97597     2247    97711     50808     97989    24743    24733    95629    95692
            8192      16    10670    16874    67245    67546    59868     1685    59598     43978     60355    16461    16484    54589    54707
            8192      32     5379     9693    36137    36066    33512      939    33251     34901     33303     9569     9579    29358    29364
            8192      64     3853     6684     6878    18681    18061     5853     6891       448     17642     5927     6572     6296    15399
            8192     128     2152     3354     3338     2943     8068     2803     3459       401      9017     2967     3314     3130     7767
            8192     256      903     1460     1752     4729     4628     1323     1723       118      4438     1327     1442     1506     3555
            8192     512      491      718      827     1972     1943      653      799       104      1834      654      714      668     1362
            8192    1024      227      360      429      965      966      327      396        33       815      326      357      329      656
            8192    2048      105      183      232      486      484      165      198        30       354      165      180      163      323
            8192    4096       56       90      140      242      242       82       99        14       140       81       90       81      158
            8192    8192       28       45      121      122      121       41       49        41        49       41       45       40       79
           16384       4    23327    29652    75620    75618    53243     3987    55454     52985     66404    28590    28485    65523    65630
           16384       8    17775    23753    43194    43185    42515     2868    44545     51892     42783    23097    23050    38835    38857
           16384      16    10536    15324    22917    22868    23925     1282    24413     44637     24289    15187    15034    20844    20848
           16384      32     6487     9128    11789    11793    12522     1523    12960     35251     12970     9072     9012    10888    10898
           16384      64     4616     6672     6367     5974     6411     5984     6366       429      6689     6149     6566     5917     5578
           16384     128     2289     3316     3216     3014     3375     3069     3198       238      3382     3060     3287     2969     2798
           16384     256     1021     1479     1619     1523     1541     1362     1603       115      1702     1375     1463     1424     1348
           16384     512      564      738      773      730      773      683      756       130       826      681      730      636      606
           16384    1024      262      366      395      375      388      337      380        38       965      349      364      310      295
           16384    2048      141      185      204      195      194      172      188        34       439      177      185      154      147
           16384    4096       64       92      111      107      108       85       95        11       189       87       91       77       73
           16384    8192       35       46       66       66       44       43       47        14        73       44       46       38       36
           16384   16384       16       23       22       22       22       21       23        21        23       21       23       19       18
           32768      64     5270     6763     6166     5976     6014     6119     6120       582      6020     6447     6665     5721     5560
           32768     128     2649     3374     3114     3024     3001     3090     3096       479      3066     3211     3336     2881     2793
           32768     256     1211     1492     1562     1516     1530     1392     1544       175      1521     1422     1475     1382     1350
           32768     512      600      731      747      726      719      700      736       111       731      702      729      622      607
           32768    1024      299      367      376      367      364      353      367        54       382      354      367      303      295
           32768    2048      148      184      191      187      186      175      184        31       477      180      184      151      147
           32768    4096       73       92       99       98       98       88       92        17       219       90       92       74       73
           32768    8192       36       46       53       53       44       44       46        10        94       45       46       37       37
           32768   16384       18       23       22       22       22       22       23         7        23       22       23       18       18
           65536      64     5356     6668     6069     5981     5893     6223     6040       445      5913     6473     6638     5639     5581
           65536     128     2567     3226     3045     2999     2965     3106     3031       233      2977     3136     3195     2847     2805
           65536     256     1189     1469     1524     1501     1477     1395     1516       116      1493     1425     1450     1362     1342
           65536     512      574      706      723      714      704      688      716        60       706      690      703      614      608
           65536    1024      292      363      364      359      349      348      358        45       356      355      361      300      296
           65536    2048      144      178      184      182      181      175      180        15       182      175      175      149      147
           65536    4096       72       89       94       93       93       88       91         8       238       88       89       74       73
           65536    8192       37       45       48       48       44       44       45         8       108       45       45       37       36
           65536   16384       18       22       22       22       22       22       22         2        22       22       22       18       18
          131072      64     5389     6659     6019     5974     5857     6211     5978       824      5882     6536     6616     5602     5567
          131072     128     2603     3211     3024     3004     2952     3109     3010       233      2962     3151     3183     2812     2795
          131072     256     1206     1458     1507     1492     1472     1401     1500       229      1471     1427     1440     1310     1340
          131072     512      582      705      717      713      699      689      711        60       698      695      700      609      605
          131072    1024      300      361      360      357      352      355      356        61       351      358      360      296      294
          131072    2048      147      177      181      180      174      176      179        15       176      175      177      147      147
          131072    4096       75       90       91       91       91       90       89        16        89       90       90       73       73
          131072    8192       36       43       46       46       44       44       45         4       118       44       44       37       36
          131072   16384       18       22       22       22       22       22       22         4        22       22       22       18       18
          262144      64     5230     6412     5941     5937     5806     6109     5926       441      5861     6315     6315     5557     5548
          262144     128     2656     3219     2997     2987     2928     3154     2989       449      2961     3221     3228     2801     2794
          262144     256     1177     1421     1498     1493     1465     1386     1494       119      1470     1399     1408     1345     1340
          262144     512      594      713      714      711      701      701      710       108       696      706      710      606      604
          262144    1024      292      353      357      356      349      346      354        30       351      350      351      295      294
          262144    2048      149      180      179      179      177      178      178        30       177      179      179      146      146
          262144    4096       73       88       90       90       88       88       89         7        89       88       88       73       73
          262144    8192       37       45       45       45       44       44       44         7        44       44       45       36       36
          262144   16384       18       22       22       22       22       21       22         2        22       22       22       18       18
          524288      64     5273     6503     5924     5914     5773     6100     5902       442      5823     6427     6453     5544     5537
          524288     128     2599     3209     2986     2979     2918     3108     2964       450      2943     3186     3191     2771     2764
          524288     256     1174     1422     1492     1490     1459     1372     1475       228      1471     1401     1408     1333     1331
          524288     512      581      700      704      703      690      686      699       109       695      695      695      601      600
          524288    1024      292      353      350      351      346      345      349        58       348      351      351      295      295
          524288    2048      146      175      175      175      173      171      175        21       175      176      176      146      146
          524288    4096       73       88       88       88       88       88       87        15        88       88       88       73       73
          524288    8192       36       44       44       44       43       44       44         7        44       44       44       36       36
          524288   16384       18       22       22       22       22       22       22         3        22       22       22       18       18

iozone test complete.
Excel output is below:

"Writer report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   19849  11937  6152  3425  3057 
"128"   19837  13780  7086  4639  4114  2028 
"256"   22751  14739  7674  5589  4994  2447  1161 
"512"   21622  15313  7958  5914  5539  2675  1245  607 
"1024"   12601  6269  3541  1881  1201  628  302  133  64 
"2048"   16684  10096  5388  3123  2012  961  480  214  122  59 
"4096"   20043  13512  7454  4209  2826  1442  683  320  171  109  42 
"8192"   23948  16204  10670  5379  3853  2152  903  491  227  105  56  28 
"16384"   23327  17775  10536  6487  4616  2289  1021  564  262  141  64  35  16 
"32768"   0  0  0  0  5270  2649  1211  600  299  148  73  36  18 
"65536"   0  0  0  0  5356  2567  1189  574  292  144  72  37  18 
"131072"   0  0  0  0  5389  2603  1206  582  300  147  75  36  18 
"262144"   0  0  0  0  5230  2656  1177  594  292  149  73  37  18 
"524288"   0  0  0  0  5273  2599  1174  581  292  146  73  36  18 

"Re-writer report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   39226  32394  20097  11902  8068 
"128"   33758  32127  20350  11799  8130  4018 
"256"   37382  31041  19652  11332  7844  3898  1653 
"512"   30768  30131  16887  9994  7691  3724  1686  780 
"1024"   34505  28130  17947  10346  7302  3538  1542  752  368 
"2048"   32649  23400  15515  9503  6938  3403  1521  735  366  182 
"4096"   30327  24108  16477  9751  6794  3361  1492  728  378  190  96 
"8192"   31307  25649  16874  9693  6684  3354  1460  718  360  183  90  45 
"16384"   29652  23753  15324  9128  6672  3316  1479  738  366  185  92  46  23 
"32768"   0  0  0  0  6763  3374  1492  731  367  184  92  46  23 
"65536"   0  0  0  0  6668  3226  1469  706  363  178  89  45  22 
"131072"   0  0  0  0  6659  3211  1458  705  361  177  90  43  22 
"262144"   0  0  0  0  6412  3219  1421  713  353  180  88  45  22 
"524288"   0  0  0  0  6503  3209  1422  700  353  175  88  44  22 

"Reader report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   202864  185582  111250  64624  33339 
"128"   220823  192949  107959  58701  12339  16144 
"256"   217743  172116  96447  43930  9219  5715  5843 
"512"   171370  130384  74781  39902  7554  4167  2465  2074 
"1024"   163386  113077  67721  37078  7023  3651  1960  1062  1017 
"2048"   163061  123081  68271  36364  6765  3484  1797  897  537  498 
"4096"   169568  124514  68231  36739  6856  3489  1765  860  476  288  262 
"8192"   171624  124727  67245  36137  6878  3338  1752  827  429  232  140  121 
"16384"   75620  43194  22917  11789  6367  3216  1619  773  395  204  111  66  22 
"32768"   0  0  0  0  6166  3114  1562  747  376  191  99  53  22 
"65536"   0  0  0  0  6069  3045  1524  723  364  184  94  48  22 
"131072"   0  0  0  0  6019  3024  1507  717  360  181  91  46  22 
"262144"   0  0  0  0  5941  2997  1498  714  357  179  90  45  22 
"524288"   0  0  0  0  5924  2986  1492  704  350  175  88  44  22 

"Re-Reader report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   249655  195304  117482  66679  37181 
"128"   250030  205347  119493  65585  35725  18574 
"256"   242531  189357  113588  62507  32029  15984  6800 
"512"   199076  149146  86047  45197  22860  10613  5570  2087 
"1024"   176057  125121  70256  38002  19826  9684  5154  2019  1036 
"2048"   174396  125249  69302  37057  19265  9918  4950  2024  994  498 
"4096"   173584  125029  68759  36835  19097  9767  4863  2061  1049  525  264 
"8192"   172375  124528  67546  36066  18681  2943  4729  1972  965  486  242  122 
"16384"   75618  43185  22868  11793  5974  3014  1523  730  375  195  107  66  22 
"32768"   0  0  0  0  5976  3024  1516  726  367  187  98  53  22 
"65536"   0  0  0  0  5981  2999  1501  714  359  182  93  48  22 
"131072"   0  0  0  0  5974  3004  1492  713  357  180  91  46  22 
"262144"   0  0  0  0  5937  2987  1493  711  356  179  90  45  22 
"524288"   0  0  0  0  5914  2979  1490  703  351  175  88  44  22 

"Random read report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   161783  135406  93307  57140  32312 
"128"   164926  141637  95377  56336  31678  16144 
"256"   162805  140423  93491  55942  29651  15147  6027 
"512"   144794  124286  78042  45565  23256  11733  4949  2028 
"1024"   127495  104575  63179  36653  19022  9963  4778  1987  1013 
"2048"   125857  100267  61661  34406  18464  9661  4750  1998  990  495 
"4096"   125320  98763  60835  34005  18253  9540  4753  2043  1045  523  263 
"8192"   125250  97597  59868  33512  18061  8068  4628  1943  966  484  242  121 
"16384"   53243  42515  23925  12522  6411  3375  1541  773  388  194  108  44  22 
"32768"   0  0  0  0  6014  3001  1530  719  364  186  98  44  22 
"65536"   0  0  0  0  5893  2965  1477  704  349  181  93  44  22 
"131072"   0  0  0  0  5857  2952  1472  699  352  174  91  44  22 
"262144"   0  0  0  0  5806  2928  1465  701  349  177  88  44  22 
"524288"   0  0  0  0  5773  2918  1459  690  346  173  88  43  22 

"Random write report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   6451  4828  1499  11293  7147 
"128"   5419  2987  1734  1121  6821  3355 
"256"   4850  3472  1776  914  5821  2870  1368 
"512"   4481  2714  1498  1025  6308  3098  1392  656 
"1024"   4181  2394  1606  889  6092  3137  1383  657  334 
"2048"   4104  2305  1328  993  6027  2981  1372  668  331  165 
"4096"   4204  2402  1491  918  5966  2969  1350  660  339  173  85 
"8192"   5241  2247  1685  939  5853  2803  1323  653  327  165  82  41 
"16384"   3987  2868  1282  1523  5984  3069  1362  683  337  172  85  43  21 
"32768"   0  0  0  0  6119  3090  1392  700  353  175  88  44  22 
"65536"   0  0  0  0  6223  3106  1395  688  348  175  88  44  22 
"131072"   0  0  0  0  6211  3109  1401  689  355  176  90  44  22 
"262144"   0  0  0  0  6109  3154  1386  701  346  178  88  44  21 
"524288"   0  0  0  0  6100  3108  1372  686  345  171  88  44  22 

"Backward read report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   145318  114206  68813  42623  7872 
"128"   153777  126906  79361  46499  8098  3546 
"256"   150907  119858  77599  44161  7767  3636  1653 
"512"   134190  105983  64255  36535  7116  3490  1686  789 
"1024"   125557  99460  61598  31368  6995  3464  1704  795  383 
"2048"   124876  98763  58154  33681  6936  3478  1720  799  390  192 
"4096"   124894  98464  60981  33827  6906  3483  1721  807  408  202  101 
"8192"   125061  97711  59598  33251  6891  3459  1723  799  396  198  99  49 
"16384"   55454  44545  24413  12960  6366  3198  1603  756  380  188  95  47  23 
"32768"   0  0  0  0  6120  3096  1544  736  367  184  92  46  23 
"65536"   0  0  0  0  6040  3031  1516  716  358  180  91  45  22 
"131072"   0  0  0  0  5978  3010  1500  711  356  179  89  45  22 
"262144"   0  0  0  0  5926  2989  1494  710  354  178  89  44  22 
"524288"   0  0  0  0  5902  2964  1475  699  349  175  87  44  22 

"Record rewrite report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   56498  50321  36095  19608  7246 
"128"   57857  53481  40830  25160  881  3057 
"256"   57606  53054  42106  28586  566  490  1444 
"512"   55675  52895  42719  30465  517  314  230  659 
"1024"   56079  53801  43899  31530  490  273  153  116  336 
"2048"   55416  51990  43988  33698  458  247  125  76  60  167 
"4096"   53702  51430  44358  34270  452  236  121  68  40  60  86 
"8192"   53587  50808  43978  34901  448  401  118  104  33  30  14  41 
"16384"   52985  51892  44637  35251  429  238  115  130  38  34  11  14  21 
"32768"   0  0  0  0  582  479  175  111  54  31  17  10  7 
"65536"   0  0  0  0  445  233  116  60  45  15  8  8  2 
"131072"   0  0  0  0  824  233  229  60  61  15  16  4  4 
"262144"   0  0  0  0  441  449  119  108  30  30  7  7  2 
"524288"   0  0  0  0  442  450  228  109  58  21  15  7  3 

"Stride read report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   168697  142902  93307  57140  8633 
"128"   163320  145633  97597  57103  13711  3772 
"256"   159991  133310  99302  58375  19332  6448  1692 
"512"   139890  113273  70351  59293  24300  9363  2758  805 
"1024"   127616  101741  60955  35201  28022  11920  3932  1192  388 
"2048"   125732  99146  58154  33988  17392  14045  4869  1493  571  193 
"4096"   125382  99550  60636  33996  17763  8911  6111  1730  756  298  101 
"8192"   125245  97989  60355  33303  17642  9017  4438  1834  815  354  140  49 
"16384"   66404  42783  24289  12970  6689  3382  1702  826  965  439  189  73  23 
"32768"   0  0  0  0  6020  3066  1521  731  382  477  219  94  23 
"65536"   0  0  0  0  5913  2977  1493  706  356  182  238  108  22 
"131072"   0  0  0  0  5882  2962  1471  698  351  176  89  118  22 
"262144"   0  0  0  0  5861  2961  1470  696  351  177  89  44  22 
"524288"   0  0  0  0  5823  2943  1471  695  348  175  88  44  22 

"Fwrite report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   35643  30537  19604  11369  6535 
"128"   36444  30604  19705  10332  7195  2660 
"256"   30260  29172  16493  11034  6341  2994  1333 
"512"   28674  23950  17660  10652  6791  3090  1419  670 
"1024"   32474  26408  17002  9931  6277  3084  1393  667  335 
"2048"   31122  23813  16414  9640  6077  3014  1347  659  330  167 
"4096"   30056  24876  16266  9586  5885  2970  1368  665  345  174  85 
"8192"   30440  24743  16461  9569  5927  2967  1327  654  326  165  81  41 
"16384"   28590  23097  15187  9072  6149  3060  1375  681  349  177  87  44  21 
"32768"   0  0  0  0  6447  3211  1422  702  354  180  90  45  22 
"65536"   0  0  0  0  6473  3136  1425  690  355  175  88  45  22 
"131072"   0  0  0  0  6536  3151  1427  695  358  175  90  44  22 
"262144"   0  0  0  0  6315  3221  1399  706  350  179  88  44  22 
"524288"   0  0  0  0  6427  3186  1401  695  351  176  88  44  22 

"Re-Fwrite report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   37286  30648  20121  11768  8195 
"128"   31686  30534  19998  10667  8193  3534 
"256"   30376  29820  17111  11363  7103  3453  1732 
"512"   34857  24457  17345  10898  7610  3478  1643  771 
"1024"   33198  27049  16190  10296  7184  3369  1552  747  365 
"2048"   30651  25981  15786  8949  6570  3345  1474  725  362  180 
"4096"   30139  24354  16311  9574  6740  3326  1486  710  371  190  96 
"8192"   30119  24733  16484  9579  6572  3314  1442  714  357  180  90  45 
"16384"   28485  23050  15034  9012  6566  3287  1463  730  364  185  91  46  23 
"32768"   0  0  0  0  6665  3336  1475  729  367  184  92  46  23 
"65536"   0  0  0  0  6638  3195  1450  703  361  175  89  45  22 
"131072"   0  0  0  0  6616  3183  1440  700  360  177  90  44  22 
"262144"   0  0  0  0  6315  3228  1408  710  351  179  88  45  22 
"524288"   0  0  0  0  6453  3191  1408  695  351  176  88  44  22 

"Fread report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   156867  122997  74299  41774  7452 
"128"   171020  125953  74103  40839  7116  3135 
"256"   165414  123044  71407  37583  6369  3104  1479 
"512"   141289  99538  56852  30646  6168  3043  1470  667 
"1024"   133752  96165  55077  29434  6104  3054  1461  652  310 
"2048"   134169  95991  55008  29398  6071  3041  1454  650  309  156 
"4096"   135181  96642  55471  29753  6248  3096  1492  671  327  162  81 
"8192"   133167  95629  54589  29358  6296  3130  1506  668  329  163  81  40 
"16384"   65523  38835  20844  10888  5917  2969  1424  636  310  154  77  38  19 
"32768"   0  0  0  0  5721  2881  1382  622  303  151  74  37  18 
"65536"   0  0  0  0  5639  2847  1362  614  300  149  74  37  18 
"131072"   0  0  0  0  5602  2812  1310  609  296  147  73  37  18 
"262144"   0  0  0  0  5557  2801  1345  606  295  146  73  36  18 
"524288"   0  0  0  0  5544  2771  1333  601  295  146  73  36  18 

"Re-Fread report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   181962  135954  83135  48826  24413 
"128"   179722  137855  83509  45989  24118  10111 
"256"   176276  130080  77599  42323  20615  9260  3582 
"512"   151666  111116  62636  33982  16596  8113  3539  1381 
"1024"   136316  97634  56730  30387  15843  7999  3630  1385  615 
"2048"   135378  96787  55768  29959  15694  7874  3584  1387  611  315 
"4096"   134952  96621  55471  29738  15674  7856  3584  1395  654  320  160 
"8192"   133716  95692  54707  29364  15399  7767  3555  1362  656  323  158  79 
"16384"   65630  38857  20848  10898  5578  2798  1348  606  295  147  73  36  18 
"32768"   0  0  0  0  5560  2793  1350  607  295  147  73  37  18 
"65536"   0  0  0  0  5581  2805  1342  608  296  147  73  36  18 
"131072"   0  0  0  0  5567  2795  1340  605  294  147  73  36  18 
"262144"   0  0  0  0  5548  2794  1340  604  294  146  73  36  18 
"524288"   0  0  0  0  5537  2764  1331  600  295  146  73  36  18 
Adata 32GB USB3 Flash Drive in a USB2 port

Code: Select all

odroid-c2# iozone -a -b ~/NetBSD_Odorid-C2_USBflash.xls -O
        Iozone: Performance Test of File I/O
                Version $Revision: 3.430 $
                Compiled for 64 bit mode.
                Build: netbsd 

        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                     Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                     Vangel Bojaxhi, Ben England, Vikentsi Lapa.

        Run began: Fri Apr  5 04:09:07 2019

        Auto Mode
        OPS Mode. Output is in operations per second.
        Command line used: iozone -a -b /root/NetBSD_Odorid-C2_USBflash.xls -O
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 kBytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
                                                              random    random     bkwd    record    stride                                    
              kB  reclen    write  rewrite    read    reread    read     write     read   rewrite      read   fwrite frewrite    fread  freread
              64       4    23222    54791   148206   171719   105218    43469    92461     86950    108800    49865    52111   120308   136732
              64       8    14439    40583   139923   147943    95107    32935    74763     73294     95107    38444    39577   103946   111178
              64      16     6859    23372    77028   102421    69097    19310    50563     43941     68813    22586    23503    67703    72689
              64      32     4684    12196    57140    60434    46395    11621    30749     22994     46653    11987    12412    39982    44429
              64      64     2625     6328    31346    33339    29370     5993    17490      6019     27812     5616     6178    20479    23722
             128       4    25891    53971   162332   177582   105202    40810    97272     89133    105949    50385    51192   133975   138539
             128       8    14586    39997   135626   149527    96447    32580    82059     78051     98140    37918    38550   104562   110230
             128      16     7647    22477    86972    96198    70079    21622    58375     54049     72035    21734    22150    64058    72035
             128      32     4738    11833    54862    60610    49372    11299    37051     30514     48237    11701    11799    39964    42174
             128      64     2627     6097    31798    33313    28168     5649    20419       593     26646     6005     6119    20174    23249
             128     128     1529     3105    17563    18251    14936     2857    10412      2807     14084     2468     2983     9624    10412
             256       4    26836    53560   159232   169701   104052     2026    97266     89903    102074    49878    50669   125978   135313
             256       8    16386    39454   135600   141013    94399     1442    82503     79805     88603    37119    38240    98776   106285
             256      16     8290    22011    81264    91954    67800     1933    57762     58163     72722    21441    21558    61578    68352
             256      32     5184    11627    50021    55942    45233    10856    34492     34778     49070    11480    11631    35069    40194
             256      64     3000     5951    21029    19134    18940     5154    15624       239     29599     5935     5962    17389    21377
             256     128     1484     2817    13340    15369    12580     2746    10158       220     15893     2824     2812     8266     9611
             256     256      772     1291     6415     6415     5462     1248     4369      1246      5153     1171     1287     3366     3546
             512       4    28051    53246   135306   148314    97192     1673    93290     91494     95311    49286    49900   116766   121800
             512       8    16623    39309   112278   119847    82906    30710    77008     82246     80810    36256    36995    87930    93019
             512      16     8517    21592    66516    74739    58924    18814    52721     62143     54321    20738    21051    53971    58183
             512      32     5455    11436    38550    41558    36122    10717    31613     39902     50313    11315    11218    29736    32454
             512      64     3066     5886    19998    22034    20252     5529    17130       226     30207     5869     5735    15478    16837
             512     128     1572     2828    10200    11524    10783     2749     9128       190     16260     2818     2769     7530     8180
             512     256      787     1240     5087     5604     4852     1238     4564       207      5971     1239     1244     3327     3466
             512     512      413      622     2074     2066     2145      603     1996       609      2179      606      619     1436     1364
            1024       4    28057    51570   127374   134456    91656    19973    90742     92318     91758    48873    48744   111745   113782
            1024       8    16627    38403   102401   105708    76829     1230    74629     83927     76100    36065    36717    83122    84046
            1024      16     8983    21122    62313    63119    52287    18401    49647     65173     51693    20441    20638    50707    51534
            1024      32     5504    11219    35669    35793    31904      616    30623     43650     32003    10917    11087    28365    29090
            1024      64     3094     5780    19296    19509    18099     5520    17332       219     30660     5761     5722    15385    15640
            1024     128     1587     2829    10218    10337     9684     2765     8957       170     16846     2815     2794     7676     8033
            1024     256      787     1244     5044     5162     4778     1224     4629       145      6460     1224     1232     3515     3593
            1024     512      405      611     2053     2051     2053      598     1997        99      2060      599      598     1388     1384
            1024    1024      209      312     1023     1027     1025      312      990       312      1026      310      314      624      620
            2048       4    28560    51764   128809   133327    90976     2468    90459     91970     90699    48457    48711   112252   111913
            2048       8    17134    37663   103855   103725    75003     2012    74654     85023     75182    35314    35408    83224    83166
            2048      16     9054    20768    62406    62933    51014     1211    50453     67228     50692    20100    20231    50673    51302
            2048      32     5450    11065    35261    35475    31265      639    30591     46275     31008    10794    10763    28569    28765
            2048      64     3113     5536    18912    19046    17572     5433    17345       203     17429     5487     5593    15362    15481
            2048     128     1576     2814     9937    10012     9412     2721     9212       149     17003     2755     2725     7916     8011
            2048     256      769     1220     5003     5047     4784     1220     4689       120      6784     1242     1246     3544     3563
            2048     512      395      584     1998     1986     2024      580     1972         0      2046      584      580     1377     1361
            2048    1024      205      299      987     1005      994      298      975        56      1004      302      299      622      622
            2048    2048      105      155      509      510      502      154      493       155       505      154      155      312      311
            4096       4    28502    50844   125842   133211    90062     1861    90331     93176     90092    47736    47409   111668   112047
            4096       8    17435    36472   103539   103604    74212     1278    74341     86470     74514    35319    35488    82752    82780
            4096      16     9289    20514    62777    62635    50177     1009    50224     68932     50373    19978    20072    50522    50503
            4096      32     5595    10952    35021    35108    30821      719    30593     47760     30733    10853    10769    28610    28596
            4096      64     3126     5524    18783    18790    17319     5340    17278       197     17338     5462     5473    15366    15321
            4096     128     1593     2777     9785     9794     9304     2722     9200       145      9307     2781     2720     7879     7985
            4096     256      762     1204     4915     4933     4767     1206     4700       106      7048     1202     1205     3570     3621
            4096     512      396      595     2022     2013     1999      592     1984        60      2085      591      590     1389     1380
            4096    1024      200      294      989      992      989      296      974         0       996      299      294      627      626
            4096    2048      103      153      501      500      495      151      492        29       501      151      151      313      312
            4096    4096       53       78      247      247      246       78      244        78       247       79       79      155      154
            8192       4    28666    50546   124429   130954    88966     1642    80534     93691     89105    47868    48015   110362   111080
            8192       8    17338    36604   101950   101767    73256     1238    66329     86809     73611    34909    34978    81483    81711
            8192      16     9226    19847    61903    61635    49492      981    49531     69928     49684    19819    19902    49646    49718
            8192      32     5573    10638    33876    34119    30039      553    30125     48467     30067    10491    10475    28002    28039
            8192      64     3102     5454    18233    18228    17030     5213    16897        48     16886     5416     5417    15081    15094
            8192     128     1568     2754     9474     9467     9045     2676     9020         4      9090     2622     2751     7779     7780
            8192     256      755     1186     4766     4775     4634     1182     4612        97      4670     1174     1176     3540     3574
            8192     512      388      586     1956     1957     1931      576     1461        61      2052      585      585     1352     1356
            8192    1024      198      297      972      969      966      298      958        35       971      296      297      614      616
            8192    2048      101      148      488      488      484      148      482        20       481      146      147      303      304
            8192    4096       51       75      244      243      243       75      241        15       240       75       75      154      154
            8192    8192       26       39      122      122      122       39      121        39       122       39       39       76       76
           16384       4    27719    47368    67698    67666    45928      324    47491     93742     55470    45344    45221    60818    60866
           16384       8    16729    32948    41356    41387    37551     1118    38099     85787     37900    32454    32277    36984    36987
           16384      16     8817    18230    22306    22394    22389      946    22767     70242     22625    17970    17851    20475    20469
           16384      32     5367     9566    11788    11751    12202      536    12635     49363     12632     9541     9419    10846    10860
           16384      64     2956     5044     6042     6026     6410     4572     6990       196      6728     4931     4923     5621     5621
           16384     128     1482     2419     3059     3059     3395     2332     3432       141      3408     2435     2400     2831     2831
           16384     256      718     1077     1536     1535     1551      876     1776        95      1727     1083     1066     1355     1357
           16384     512      368      530      724      725      764      527      798        57       837      526      527      603      604
           16384    1024      188      270      369      370      384      268      420        33       994      289      272      290      290
           16384    2048       95      136      193      193      192      136      191        18       490      142      134      144      145
           16384    4096       48       66      105      105      106       66      105        10       245       69       66       72       73
           16384    8192       24       35       64       64       44       34       65         1       120       35       34       36       36
           16384   16384       12       17       22       22       22       17       22        18        22       18       18       18       18
           32768      64     2865     4888     6049     6042     6010     4381     6151       196      6045     4913     4899     5631     5630
           32768     128     1420     2413     3054     3055     3018     2294     3084        38      3085     2422     2420     2810     2845
           32768     256      696     1062     1532     1532     1542     1033     1540        30      1535     1074     1063     1358     1361
           32768     512      359      528      720      712      714      517      739        56       732      531      528      608      608
           32768    1024      183      269      364      364      361      266      355        31       385      268      268      281      291
           32768    2048       93      136      186      186      185      135      178         1       486      144      137      146      146
           32768    4096       47       68       97       97       97       68       89         9       247       70       68       73       73
           32768    8192       23       33       53       53       44       33       44         0       122       34       34       36       36
           32768   16384       12       17       22       22       22       17       22         3        22       17       17       18       18
           65536      64     2804     4876     6044     6035     5910     3934     5990        97      5941     4999     4901     5640     5645
           65536     128     1411     2401     3052     3053     3001     2145     3038       140      3008     2408     2413     2851     2852
           65536     256      686     1068     1532     1532     1505     1013     1524        18      1512     1056     1058     1367     1368
           65536     512      353      530      719      719      708      517      711        55       711      534      528      607      608
           65536    1024      180      269      362      362      352      266      359         6       361      270      270      294      294
           65536    2048       90      135      183      183      182      134      178         0       186      140      136      146      146
           65536    4096       45       68       93       93       93       68       89         2       247       69       68       73       73
           65536    8192       23       34       48       49       45       34       45         4       122       35       34       36       36
           65536   16384       11       17       22       22       22       17       22         1        22       17       17       18       18
          131072      64     2763     4687     6030     6025     5873     3392     5964        78      5921     4857     4863     5616     5617
          131072     128     1356     2394     3050     3048     2981     1974     3016        54      2988     2396     2399     2829     2836
          131072     256      675     1054     1527     1529     1500      955     1518        28      1502     1054     1055     1364     1365
          131072     512      346      520      716      718      703      504      711        18       707      526      526      608      608
          131072    1024      177      267      356      355      354      262      355        11       353      269      268      291      291
          131072    2048       89      135      180      180      176      133      177        16       178      136      139      145      145
          131072    4096       45       68       91       91       91       68       89         8        91       69       68       73       73
          131072    8192       22       34       46       46       44       34       44         1       121       34       35       36       36
          131072   16384       11       17       22       22       22       17       22         1        22       17       17       18       18
          262144      64     2744     4844     6041     5999     5869     2567     5965        98      5925     4865     4865     5648     5649
          262144     128     1368     2415     3052     3048     2976     1689     3033        67      2998     2399     2396     2844     2844
          262144     256      667     1051     1520     1501     1494      886     1518        39      1506     1050     1047     1363     1364
          262144     512      342      520      715      715      702      476      708        20       704      523      522      608      608
          262144    1024      175      266      359      359      352      255      355        12       355      267      267      293      292
          262144    2048       88      135      180      180      178      132      178         6       179      135      135      146      146
          262144    4096       44       68       92       91       90       68       91         3        92       69       69       74       74
          262144    8192       22       34       46       45       45       34       45         1        46       34       34       37       37
          262144   16384       11       17       22       22       22       17       22         0        22       17       17       18       18
          524288      64     2687     4863     6031     5998     5839     1767     5953       116      5895     4838     4838     5636     5640
          524288     128     1347     2402     3041     3040     2968     1320     3014        90      2987     2386     2377     2838     2837
          524288     256      662     1069     1530     1528     1496      789     1520        59      1510     1055     1060     1365     1354
          524288     512      340      529      727      726      712      450      721        31       719      527      526      620      616
          524288    1024      173      269      362      362      356      244      358        17       358      267      268      297      296
          524288    2048       87      136      182      182      179      130      181         8       181      136      136      147      148
          524288    4096       44       68       90       90       90       66       89         4        90       68       68       73       73
          524288    8192       22       34       45       45       45       34       45         2        45       34       34       37       37
          524288   16384       11       17       22       22       22       17       22         1        22       17       17       18       18

iozone test complete.
Excel output is below:

"Writer report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   23222  14439  6859  4684  2625 
"128"   25891  14586  7647  4738  2627  1529 
"256"   26836  16386  8290  5184  3000  1484  772 
"512"   28051  16623  8517  5455  3066  1572  787  413 
"1024"   28057  16627  8983  5504  3094  1587  787  405  209 
"2048"   28560  17134  9054  5450  3113  1576  769  395  205  105 
"4096"   28502  17435  9289  5595  3126  1593  762  396  200  103  53 
"8192"   28666  17338  9226  5573  3102  1568  755  388  198  101  51  26 
"16384"   27719  16729  8817  5367  2956  1482  718  368  188  95  48  24  12 
"32768"   0  0  0  0  2865  1420  696  359  183  93  47  23  12 
"65536"   0  0  0  0  2804  1411  686  353  180  90  45  23  11 
"131072"   0  0  0  0  2763  1356  675  346  177  89  45  22  11 
"262144"   0  0  0  0  2744  1368  667  342  175  88  44  22  11 
"524288"   0  0  0  0  2687  1347  662  340  173  87  44  22  11 

"Re-writer report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   54791  40583  23372  12196  6328 
"128"   53971  39997  22477  11833  6097  3105 
"256"   53560  39454  22011  11627  5951  2817  1291 
"512"   53246  39309  21592  11436  5886  2828  1240  622 
"1024"   51570  38403  21122  11219  5780  2829  1244  611  312 
"2048"   51764  37663  20768  11065  5536  2814  1220  584  299  155 
"4096"   50844  36472  20514  10952  5524  2777  1204  595  294  153  78 
"8192"   50546  36604  19847  10638  5454  2754  1186  586  297  148  75  39 
"16384"   47368  32948  18230  9566  5044  2419  1077  530  270  136  66  35  17 
"32768"   0  0  0  0  4888  2413  1062  528  269  136  68  33  17 
"65536"   0  0  0  0  4876  2401  1068  530  269  135  68  34  17 
"131072"   0  0  0  0  4687  2394  1054  520  267  135  68  34  17 
"262144"   0  0  0  0  4844  2415  1051  520  266  135  68  34  17 
"524288"   0  0  0  0  4863  2402  1069  529  269  136  68  34  17 

"Reader report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   148206  139923  77028  57140  31346 
"128"   162332  135626  86972  54862  31798  17563 
"256"   159232  135600  81264  50021  21029  13340  6415 
"512"   135306  112278  66516  38550  19998  10200  5087  2074 
"1024"   127374  102401  62313  35669  19296  10218  5044  2053  1023 
"2048"   128809  103855  62406  35261  18912  9937  5003  1998  987  509 
"4096"   125842  103539  62777  35021  18783  9785  4915  2022  989  501  247 
"8192"   124429  101950  61903  33876  18233  9474  4766  1956  972  488  244  122 
"16384"   67698  41356  22306  11788  6042  3059  1536  724  369  193  105  64  22 
"32768"   0  0  0  0  6049  3054  1532  720  364  186  97  53  22 
"65536"   0  0  0  0  6044  3052  1532  719  362  183  93  48  22 
"131072"   0  0  0  0  6030  3050  1527  716  356  180  91  46  22 
"262144"   0  0  0  0  6041  3052  1520  715  359  180  92  46  22 
"524288"   0  0  0  0  6031  3041  1530  727  362  182  90  45  22 

"Re-Reader report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   171719  147943  102421  60434  33339 
"128"   177582  149527  96198  60610  33313  18251 
"256"   169701  141013  91954  55942  19134  15369  6415 
"512"   148314  119847  74739  41558  22034  11524  5604  2066 
"1024"   134456  105708  63119  35793  19509  10337  5162  2051  1027 
"2048"   133327  103725  62933  35475  19046  10012  5047  1986  1005  510 
"4096"   133211  103604  62635  35108  18790  9794  4933  2013  992  500  247 
"8192"   130954  101767  61635  34119  18228  9467  4775  1957  969  488  243  122 
"16384"   67666  41387  22394  11751  6026  3059  1535  725  370  193  105  64  22 
"32768"   0  0  0  0  6042  3055  1532  712  364  186  97  53  22 
"65536"   0  0  0  0  6035  3053  1532  719  362  183  93  49  22 
"131072"   0  0  0  0  6025  3048  1529  718  355  180  91  46  22 
"262144"   0  0  0  0  5999  3048  1501  715  359  180  91  45  22 
"524288"   0  0  0  0  5998  3040  1528  726  362  182  90  45  22 

"Random read report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   105218  95107  69097  46395  29370 
"128"   105202  96447  70079  49372  28168  14936 
"256"   104052  94399  67800  45233  18940  12580  5462 
"512"   97192  82906  58924  36122  20252  10783  4852  2145 
"1024"   91656  76829  52287  31904  18099  9684  4778  2053  1025 
"2048"   90976  75003  51014  31265  17572  9412  4784  2024  994  502 
"4096"   90062  74212  50177  30821  17319  9304  4767  1999  989  495  246 
"8192"   88966  73256  49492  30039  17030  9045  4634  1931  966  484  243  122 
"16384"   45928  37551  22389  12202  6410  3395  1551  764  384  192  106  44  22 
"32768"   0  0  0  0  6010  3018  1542  714  361  185  97  44  22 
"65536"   0  0  0  0  5910  3001  1505  708  352  182  93  45  22 
"131072"   0  0  0  0  5873  2981  1500  703  354  176  91  44  22 
"262144"   0  0  0  0  5869  2976  1494  702  352  178  90  45  22 
"524288"   0  0  0  0  5839  2968  1496  712  356  179  90  45  22 

"Random write report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   43469  32935  19310  11621  5993 
"128"   40810  32580  21622  11299  5649  2857 
"256"   2026  1442  1933  10856  5154  2746  1248 
"512"   1673  30710  18814  10717  5529  2749  1238  603 
"1024"   19973  1230  18401  616  5520  2765  1224  598  312 
"2048"   2468  2012  1211  639  5433  2721  1220  580  298  154 
"4096"   1861  1278  1009  719  5340  2722  1206  592  296  151  78 
"8192"   1642  1238  981  553  5213  2676  1182  576  298  148  75  39 
"16384"   324  1118  946  536  4572  2332  876  527  268  136  66  34  17 
"32768"   0  0  0  0  4381  2294  1033  517  266  135  68  33  17 
"65536"   0  0  0  0  3934  2145  1013  517  266  134  68  34  17 
"131072"   0  0  0  0  3392  1974  955  504  262  133  68  34  17 
"262144"   0  0  0  0  2567  1689  886  476  255  132  68  34  17 
"524288"   0  0  0  0  1767  1320  789  450  244  130  66  34  17 

"Backward read report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   92461  74763  50563  30749  17490 
"128"   97272  82059  58375  37051  20419  10412 
"256"   97266  82503  57762  34492  15624  10158  4369 
"512"   93290  77008  52721  31613  17130  9128  4564  1996 
"1024"   90742  74629  49647  30623  17332  8957  4629  1997  990 
"2048"   90459  74654  50453  30591  17345  9212  4689  1972  975  493 
"4096"   90331  74341  50224  30593  17278  9200  4700  1984  974  492  244 
"8192"   80534  66329  49531  30125  16897  9020  4612  1461  958  482  241  121 
"16384"   47491  38099  22767  12635  6990  3432  1776  798  420  191  105  65  22 
"32768"   0  0  0  0  6151  3084  1540  739  355  178  89  44  22 
"65536"   0  0  0  0  5990  3038  1524  711  359  178  89  45  22 
"131072"   0  0  0  0  5964  3016  1518  711  355  177  89  44  22 
"262144"   0  0  0  0  5965  3033  1518  708  355  178  91  45  22 
"524288"   0  0  0  0  5953  3014  1520  721  358  181  89  45  22 

"Record rewrite report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   86950  73294  43941  22994  6019 
"128"   89133  78051  54049  30514  593  2807 
"256"   89903  79805  58163  34778  239  220  1246 
"512"   91494  82246  62143  39902  226  190  207  609 
"1024"   92318  83927  65173  43650  219  170  145  99  312 
"2048"   91970  85023  67228  46275  203  149  120  0  56  155 
"4096"   93176  86470  68932  47760  197  145  106  60  0  29  78 
"8192"   93691  86809  69928  48467  48  4  97  61  35  20  15  39 
"16384"   93742  85787  70242  49363  196  141  95  57  33  18  10  1  18 
"32768"   0  0  0  0  196  38  30  56  31  1  9  0  3 
"65536"   0  0  0  0  97  140  18  55  6  0  2  4  1 
"131072"   0  0  0  0  78  54  28  18  11  16  8  1  1 
"262144"   0  0  0  0  98  67  39  20  12  6  3  1  0 
"524288"   0  0  0  0  116  90  59  31  17  8  4  2  1 

"Stride read report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   108800  95107  68813  46653  27812 
"128"   105949  98140  72035  48237  26646  14084 
"256"   102074  88603  72722  49070  29599  15893  5153 
"512"   95311  80810  54321  50313  30207  16260  5971  2179 
"1024"   91758  76100  51693  32003  30660  16846  6460  2060  1026 
"2048"   90699  75182  50692  31008  17429  17003  6784  2046  1004  505 
"4096"   90092  74514  50373  30733  17338  9307  7048  2085  996  501  247 
"8192"   89105  73611  49684  30067  16886  9090  4670  2052  971  481  240  122 
"16384"   55470  37900  22625  12632  6728  3408  1727  837  994  490  245  120  22 
"32768"   0  0  0  0  6045  3085  1535  732  385  486  247  122  22 
"65536"   0  0  0  0  5941  3008  1512  711  361  186  247  122  22 
"131072"   0  0  0  0  5921  2988  1502  707  353  178  91  121  22 
"262144"   0  0  0  0  5925  2998  1506  704  355  179  92  46  22 
"524288"   0  0  0  0  5895  2987  1510  719  358  181  90  45  22 

"Fwrite report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   49865  38444  22586  11987  5616 
"128"   50385  37918  21734  11701  6005  2468 
"256"   49878  37119  21441  11480  5935  2824  1171 
"512"   49286  36256  20738  11315  5869  2818  1239  606 
"1024"   48873  36065  20441  10917  5761  2815  1224  599  310 
"2048"   48457  35314  20100  10794  5487  2755  1242  584  302  154 
"4096"   47736  35319  19978  10853  5462  2781  1202  591  299  151  79 
"8192"   47868  34909  19819  10491  5416  2622  1174  585  296  146  75  39 
"16384"   45344  32454  17970  9541  4931  2435  1083  526  289  142  69  35  18 
"32768"   0  0  0  0  4913  2422  1074  531  268  144  70  34  17 
"65536"   0  0  0  0  4999  2408  1056  534  270  140  69  35  17 
"131072"   0  0  0  0  4857  2396  1054  526  269  136  69  34  17 
"262144"   0  0  0  0  4865  2399  1050  523  267  135  69  34  17 
"524288"   0  0  0  0  4838  2386  1055  527  267  136  68  34  17 

"Re-Fwrite report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   52111  39577  23503  12412  6178 
"128"   51192  38550  22150  11799  6119  2983 
"256"   50669  38240  21558  11631  5962  2812  1287 
"512"   49900  36995  21051  11218  5735  2769  1244  619 
"1024"   48744  36717  20638  11087  5722  2794  1232  598  314 
"2048"   48711  35408  20231  10763  5593  2725  1246  580  299  155 
"4096"   47409  35488  20072  10769  5473  2720  1205  590  294  151  79 
"8192"   48015  34978  19902  10475  5417  2751  1176  585  297  147  75  39 
"16384"   45221  32277  17851  9419  4923  2400  1066  527  272  134  66  34  18 
"32768"   0  0  0  0  4899  2420  1063  528  268  137  68  34  17 
"65536"   0  0  0  0  4901  2413  1058  528  270  136  68  34  17 
"131072"   0  0  0  0  4863  2399  1055  526  268  139  68  35  17 
"262144"   0  0  0  0  4865  2396  1047  522  267  135  69  34  17 
"524288"   0  0  0  0  4838  2377  1060  526  268  136  68  34  17 

"Fread report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   120308  103946  67703  39982  20479 
"128"   133975  104562  64058  39964  20174  9624 
"256"   125978  98776  61578  35069  17389  8266  3366 
"512"   116766  87930  53971  29736  15478  7530  3327  1436 
"1024"   111745  83122  50707  28365  15385  7676  3515  1388  624 
"2048"   112252  83224  50673  28569  15362  7916  3544  1377  622  312 
"4096"   111668  82752  50522  28610  15366  7879  3570  1389  627  313  155 
"8192"   110362  81483  49646  28002  15081  7779  3540  1352  614  303  154  76 
"16384"   60818  36984  20475  10846  5621  2831  1355  603  290  144  72  36  18 
"32768"   0  0  0  0  5631  2810  1358  608  281  146  73  36  18 
"65536"   0  0  0  0  5640  2851  1367  607  294  146  73  36  18 
"131072"   0  0  0  0  5616  2829  1364  608  291  145  73  36  18 
"262144"   0  0  0  0  5648  2844  1363  608  293  146  74  37  18 
"524288"   0  0  0  0  5636  2838  1365  620  297  147  73  37  18 

"Re-Fread report"
        "4"  "8"  "16"  "32"  "64"  "128"  "256"  "512"  "1024"  "2048"  "4096"  "8192"  "16384"
"64"   136732  111178  72689  44429  23722 
"128"   138539  110230  72035  42174  23249  10412 
"256"   135313  106285  68352  40194  21377  9611  3546 
"512"   121800  93019  58183  32454  16837  8180  3466  1364 
"1024"   113782  84046  51534  29090  15640  8033  3593  1384  620 
"2048"   111913  83166  51302  28765  15481  8011  3563  1361  622  311 
"4096"   112047  82780  50503  28596  15321  7985  3621  1380  626  312  154 
"8192"   111080  81711  49718  28039  15094  7780  3574  1356  616  304  154  76 
"16384"   60866  36987  20469  10860  5621  2831  1357  604  290  145  73  36  18 
"32768"   0  0  0  0  5630  2845  1361  608  291  146  73  36  18 
"65536"   0  0  0  0  5645  2852  1368  608  294  146  73  36  18 
"131072"   0  0  0  0  5617  2836  1365  608  291  145  73  36  18 
"262144"   0  0  0  0  5649  2844  1364  608  292  146  74  37  18 
"524288"   0  0  0  0  5640  2837  1354  616  296  148  73  37  18 
NetBSD Loading and Basic Configuration
For anyone that might want to try NetBSD on an Odroid-C2, here is a basic setup and configuration guide. You must have a serial console to initially bring this image up. This is not a Released image so Current images can only be found at the NetBSD Arm Current server. There is also an Odroid-XU4 image there but is not usable at this time. The Odroid-C2 image will work on an SDCard or eMMC. On the first boot it will automaticaly resize the root filesystem and then reboot.
http://www.invisible.ca/arm/

Uncompress and write image:

Code: Select all

gzip -d NetBSD-evbarm-aarch64-201904061750Z-odroidc2.img.gz
dd if=./NetBSD-evbarm-aarch64-201904061750Z-odroidc2.img of=/dev/<your card reader location> e.g. sdb
sync
Once booted, root does not have a password. To set a password:

Code: Select all

passwd
To change the host name:

Code: Select all

vi /etc/rc.conf
hostname=<your hostname>
To add a user – default directory is /home/<username>

Code: Select all

useradd -m -G wheel <username>
passwd <username>
Set system-wide locale settings as appropriate for your location:

Code: Select all

echo "export LANG=\"en_US.UTF-8\"" >> /etc/profile
echo "export LC_CTYPE=\"en_US.UTF-8\"" >> /etc/profile
echo "export LC_ALL=\"\"" >> /etc/profile
Software Loading
Because this is a development snapshot there is not a complete user world. It is a bare bones OS image. There also are not complete application binaries available so I will cover installing binaries(pkg_add), compiling from source (pkgsrc) and updating with complete tar sets.

Fetching Binary Packages from the Current Aarch64 server
The binaries are coming from a non-release server and requires a slight alteration from normal practices. Using a web browser on another machine you can look at what is available. Packages are being added as they are compiled so check regularly if your not compiling from source.
http://www.invisible.ca/arm/packages/arm64/current

Code: Select all

export PKG_PATH="http://www.invisible.ca/arm/packages/arm64/current"
pkg_add -v <package name>
Fetching pkgsrc from CVS (source code)
The complete user world is approximately 3.7GB so make sure you have enough room. Applications are grouped by functionality so take a minute to familiarize yourself with the layout after checkout.

Code: Select all

cd /usr
cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot checkout -P pkgsrc
To compile a specific application

Code: Select all

cd /usr/pkgsrc/<group directory>/<app name>
make install
All dependencies will be compiled for the application and will even be downloaded if necessary so make sure you leave your internet connection up during this process. I compiled several packages with no problems. If you have set PKG_PATH previously you must unset it before using pkgsrc or it will remind you.

Code: Select all

unset PKG_PATH
Using tar sets to update to the latest Current.
This will update the kernel and world. For development snapshots it is recommended that if you update your kernel, update the world.

Update kernel

Code: Select all

mkdir -p /root/tmp/kernel
cd /root/tmp/kernel
cp /netbsd /onetbsd
ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/kern-GENERIC64.tgz
tar xzvf /root/tmp/kernel/kern-GENERIC64.tgz
cp ./netbsd /netbsd
cp meson-gxbb-odroidc2.dtb /boot/dtb/amlogic/
reboot
Update world except for /etc

Code: Select all

mkdir -p /root/tmp/sets
cd /root/tmp/sets
for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/$x.tgz; done

for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do tar -C / -zxvpf $x.tgz; done
Update /etc configuration

Code: Select all

for x in etc xetc; do ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/$x.tgz; done
etcupdate -s etc.tgz -s xetc.tgz
rm -Rf /root/tmp
reboot
sudo Example
One of the typical applications you might choose to load is sudo. Here are examples using the Current binaries repository and pkgsrc.
Fetching sudo binary from current

Code: Select all

export PKG_PATH="http://www.invisible.ca/arm/packages/arm64/current"
pkg_add -v sudo
Compiling sudo from pkgsrc
Note: This assumes that you downloaded pkgsrc as described above

Code: Select all

unset PKG_PATH
cd /usr/pkgsrc/security/sudo
make install
Regardless of the installation method you must configure sudo to work. Uncomment (line 88) to allow members of group sudo to execute any command and or one of the other options like members of group wheel (line 82)

Code: Select all

groupadd sudo
usermod -G sudo <username>
visudo
%sudo ALL=(ALL) ALL
Future updating of applications
Updating sudo binary package from Current:

Code: Select all

pkg_add -uv sudo
Updating sudo and all of its dependencies:

Code: Select all

pkg_add -fuuv sudo
Other Notes
Some packages will require additional configuration and they will usually tell you at installation time. Many times examples can be used such as illustrated below:

Code: Select all

cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d/
If your going to load and use git, curl or wget remember to load CA root certificates.

Code: Select all

pkg_add -v mozilla-rootcerts openssl mozilla-rootcerts-openssl
Other typical apps that can be loaded using pkg_add:

Code: Select all

pkg_add -v bash htop zip p7zip gzip dos2unix
WiFI Setup
Find the device name. If it is not listed then there is probably no kernel driver, check dmesg

Code: Select all

ifconfig -a
Edit wpa_supplicant and add appropriate entires

Code: Select all

vi /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
       ssid=<networkname>
       scan_ssid=1
       key_mgmt=WPA-PSK
       psk=<passwordkey>
}
Enable at boot up

Code: Select all

vi /etc/rc.conf
wpa_supplicant=YES
wpa_supplicant_flags="-i <devicename> -c /etc/wpa_supplicant.conf"
Start WiFi service

Code: Select all

chmod 600 /etc/wpa_supplicant.conf
/etc/rc.d/wpa_supplicant start
or for debugging

Code: Select all

wpa_supplicant -Bd -c /path/to/wpa-supplicant.conf -i <devicename>
Adding "-f file" will send debugging messages (from using -d) to file.

References
NetBSD Project https://www.netbsd.org/
NetBSD Guide https://www.netbsd.org/docs/guide/en/index.html
NetBSD pkgsrc guide http://www.netbsd.org/docs/pkgsrc/index.html
NetBSD pkgsrc browser http://pkgsrc.se/
NetBSD Mailing List https://www.netbsd.org/mailinglists/#port-arm
NetBSD Arm Bootable Images http://www.invisible.ca/arm/
NetBSD Index of Arm64 Current http://www.invisible.ca/arm/packages/arm64/current/

NetBSD on Hardkernel Odroid-C1 and C1+
Have not tried the Odorid-C1, C1+ image but there is an older wiki page:
https://wiki.netbsd.org/ports/evbarm/odroid-c1/

One last note, this is a development image so it is not for production. Like I said earlier I have not had any issues...until today when I pulled a fresh release with a new kernel. I had my first segmentation fault but the OS was still operational. It might make sense to hold the previous release for these occasions. I'm sure there will be more issues as development progresses. I want to take a minute and send a BIG THANK YOU to the NetBSD Foundation, their development team and especially Jared McNeill. Lets help support their wonderful work on bring NetBSD to ARM and Hard Kernel Odroids!

User avatar
cdu13a
Posts: 202
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, XU4, HC1, N2
Has thanked: 0
Been thanked: 20 times
Contact:

Re: NetBSD on the Odroid-C2

Unread post by cdu13a » Mon Apr 08, 2019 2:44 pm

Seems like I'm getting all my 90s nostalgia here this week between Indrajit running CDE on the N2 and now NetBSD on the C2.

@hominoid thanks for sharing your experiences of NetBSD on the C2.

Just need a pizza box on my desk now to go full 90s nostalgia :grin:

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest