Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 12:28AM |
Admin Registered: 13 years ago Posts: 19,011 |
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 02:13AM |
Registered: 9 years ago Posts: 462 |
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 03:27AM |
Registered: 11 months ago Posts: 82 |
> mtd0: 10000000 00020000 "NAND 256MiB 3,3V 8-bit" > mtd1: 026c0000 00020000 "Boot partition" > mtd2: 0d940000 00020000 "Data Partition" >>
> setenv mtdparts > 'mtdparts=41000000.nand:0x0000026c0000(Boot > partition),-(Data Partition)' >> And don't save the envs until we are satisfied
> dmesg | grep mtdparts > dmesg | grep 0x0 > cat /proc/mtd >
root@iSharing:~# dmesg | grep mtdparts [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.20.252:/akitio-buster,nfsvers=3,nolock,intr,soft,rsize=32768,wsize=32768 rw ip=192.168.20.249:192.168.20.252:192.168.20.253:255.255.0.0::eth0:off mem=256M rootdelay=10 mtdparts=41000000.nand:0x0000026c0000(Boot partition),-(Data Partition) earlyprintk=serial root@iSharing:~# dmesg | grep 0x0 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.20.252:/akitio-buster,nfsvers=3,nolock,intr,soft,rsize=32768,wsize=32768 rw ip=192.168.20.249:192.168.20.252:192.168.20.253:255.255.0.0::eth0:off mem=256M rootdelay=10 mtdparts=41000000.nand:0x0000026c0000(Boot partition),-(Data Partition) earlyprintk=serial [ 7.768727] 0x000000000000-0x0000026c0000 : "boot" [ 7.775308] 0x0000026c0000-0x000010000000 : "data" root@iSharing:~# cat /proc/mtd dev: size erasesize name mtd0: 026c0000 00020000 "boot" mtd1: 0d940000 00020000 "data"
[ 7.552197] ONFI parameter recovery failed, aborting
[ 7.557911] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[ 7.564963] nand: Hynix NAND 256MiB 3,3V 8-bit
[ 7.570081] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 7.578355] Scanning device for bad blocks
[ 7.747243] mtd: no closing ) found in partition name
[ 7.753036] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller
[ 7.761607] Creating 2 MTD partitions on "41000000.nand-controller":
[ 7.768727] 0x000000000000-0x0000026c0000 : "boot"
[ 7.775308] 0x0000026c0000-0x000010000000 : "data"
/* now look for name */
if (*s == '(')
delim = ')';
if (delim) {
char *p;
name = ++s;
p = strchr(name, delim);
if (!p) {
printk(KERN_ERR ERRP "no closing %c found in partition name\n", delim);
return ERR_PTR(-EINVAL);
}
name_len = p - name;
s = p + 1;
} else {
name = NULL;
name_len = 13; /* Partition_000 */
}
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 03:31AM |
Registered: 11 months ago Posts: 82 |
>Quote
My Akitio mycloud mini / DC01(sell by
> Silver) motherboard,
> it has no battery,no clock , so that I2C initial
> module for "dallas,ds1307" will be stuck.
> just remove this node from the tree device.
> all good for booting.
> i2c-gpio { > compatible = "i2c-gpio"; > gpios = <&gpio1 9 > GPIO_ACTIVE_HIGH > &gpio1 10 > GPIO_ACTIVE_HIGH>; > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_i2c>; > i2c-gpio,delay-us = <10>; > #address-cells = <1>; > #size-cells = <0>; > }; >> Is that correct?
/dts-v1/;
/ {
#address-cells = <0x01>;
#size-cells = <0x01>;
compatible = "akitio,mycloud\0oxsemi,ox820";
model = "Akitio MyCloud";
chosen {
bootargs = "earlyprintk console=ttyS0,115200n8";
stdout-path = "serial0:115200n8";
};
aliases {
ethernet0 = "/soc/ethernet@40400000";
serial0 = "/soc/apb-bridge@44000000/serial@200000";
gpio0 = "/soc/apb-bridge@44000000/gpio@000000";
gpio1 = "/soc/apb-bridge@44000000/gpio@100000";
led-boot = "/leds/status";
led-failsafe = "/leds/status";
led-running = "/leds/status";
led-upgrade = "/leds/status";
};
memory@60000000 {
device_type = "memory";
reg = <0x60000000 0x8000000>;
};
cpus {
#address-cells = <0x01>;
#size-cells = <0x00>;
enable-method = "oxsemi,ox820-smp";
cpu@0 {
device_type = "cpu";
compatible = "arm,arm11mpcore";
clocks = <0x01>;
reg = <0x00>;
};
cpu@1 {
device_type = "cpu";
compatible = "arm,arm11mpcore";
clocks = <0x01>;
reg = <0x01>;
};
};
clocks {
oscillator {
compatible = "fixed-clock";
#clock-cells = <0x00>;
clock-frequency = <0x17d7840>;
linux,phandle = <0x02>;
phandle = <0x02>;
};
gmacclk {
compatible = "fixed-clock";
#clock-cells = <0x00>;
clock-frequency = <0x7735940>;
linux,phandle = <0x08>;
phandle = <0x08>;
};
sysclk {
compatible = "fixed-factor-clock";
#clock-cells = <0x00>;
clock-div = <0x04>;
clock-mult = <0x01>;
clocks = <0x02>;
linux,phandle = <0x0d>;
phandle = <0x0d>;
};
armclk {
compatible = "fixed-factor-clock";
#clock-cells = <0x00>;
clock-div = <0x02>;
clock-mult = <0x01>;
clocks = <0x03>;
linux,phandle = <0x01>;
phandle = <0x01>;
};
};
soc {
#address-cells = <0x01>;
#size-cells = <0x01>;
compatible = "simple-bus";
ranges;
interrupt-parent = <0x04>;
nand-controller@41000000 {
compatible = "oxsemi,ox820-nand";
reg = <0x41000000 0x100000>;
clocks = <0x05 0x09>;
resets = <0x06 0x0f>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x07>;
nand@0 {
reg = <0x00>;
#address-cells = <0x01>;
#size-cells = <0x01>;
nand-ecc-mode = "soft";
nand-ecc-algo = "hamming";
partition@0 {
label = "boot";
reg = <0x00 0x26c0000>;
};
partition@26c0000 {
label = "data";
reg = <0x26c0000 0xd940000>;
};
};
};
ethernet@40400000 {
compatible = "oxsemi,ox820-dwmac\0snps,dwmac";
reg = <0x40400000 0x2000>;
interrupts = <0x00 0x08 0x04 0x00 0x11 0x04>;
interrupt-names = "macirq\0eth_wake_irq";
phy-mode = "rgmii";
clocks = <0x05 0x07 0x08>;
clock-names = "gmac\0stmmaceth";
resets = <0x06 0x06>;
oxsemi,sys-ctrl = <0x09>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x0a>;
};
ehci@40200100 {
compatible = "plxtech,nas782x-ehci";
reg = <0x40200100 0xf00>;
interrupts = <0x00 0x07 0x04>;
clocks = <0x05 0x06 0x0b 0x05 0x0c>;
clock-names = "usb\0refsrc\0phyref";
resets = <0x06 0x04 0x06 0x05 0x06 0x1a>;
reset-names = "host\0phya\0phyb";
oxsemi,sys-ctrl = <0x09>;
oxsemi,ehci_use_pllb;
status = "okay";
#address-cells = <0x01>;
#size-cells = <0x00>;
port@1 {
reg = <0x01>;
#trigger-source-cells = <0x00>;
};
port@2 {
reg = <0x02>;
#trigger-source-cells = <0x00>;
};
};
apb-bridge@44000000 {
#address-cells = <0x01>;
#size-cells = <0x01>;
compatible = "simple-bus";
ranges = <0x00 0x44000000 0x1000000>;
pinctrl {
compatible = "oxsemi,ox820-pinctrl";
oxsemi,sys-ctrl = <0x09>;
linux,phandle = <0x0c>;
phandle = <0x0c>;
uart0 {
linux,phandle = <0x0e>;
phandle = <0x0e>;
uart0 {
pins = "gpio30\0gpio31";
function = "fct5";
};
};
uart0_modem {
uart0_modem_a {
pins = "gpio24\0gpio24\0gpio26\0gpio27";
function = "fct4";
};
uart0_modem_b {
pins = "gpio28\0gpio29";
function = "fct5";
};
};
uart1 {
uart1 {
pins = "gpio7\0gpio8";
function = "fct4";
};
};
uart1_modem {
uart1_modem {
pins = "gpio5\0gpio6\0gpio40\0gpio41\0gpio42\0gpio43";
function = "fct4";
};
};
etha_mdio {
linux,phandle = <0x0a>;
phandle = <0x0a>;
etha_mdio {
pins = "gpio3\0gpio4";
function = "fct1";
};
};
nand {
linux,phandle = <0x07>;
phandle = <0x07>;
nand {
pins = "gpio12\0gpio13\0gpio14\0gpio15\0gpio16\0gpio17\0gpio18\0gpio19\0gpio20\0gpio21\0gpio22\0gpio23\0gpio24";
function = "fct1";
};
};
i2c-0 {
linux,phandle = <0x12>;
phandle = <0x12>;
i2c {
pins = "gpio41\0gpio42";
function = "gpio";
};
};
buttons-0 {
linux,phandle = <0x13>;
phandle = <0x13>;
buttons {
pins = "gpio11\0gpio38";
function = "gpio";
};
};
leds-0 {
linux,phandle = <0x15>;
phandle = <0x15>;
leds {
pins = "gpio29";
function = "gpio";
};
};
poweroff-0 {
linux,phandle = <0x16>;
phandle = <0x16>;
poweroff {
pins = "gpio45";
function = "gpio";
};
};
};
gpio@000000 {
compatible = "oxsemi,ox820-gpio";
reg = <0x000000 0x100000>;
interrupts = <0x00 0x15 0x04>;
#gpio-cells = <0x02>;
gpio-controller;
interrupt-controller;
#interrupt-cells = <0x02>;
ngpios = <0x20>;
oxsemi,gpio-bank = <0x00>;
gpio-ranges = <0x0c 0x00 0x00 0x20>;
linux,phandle = <0x14>;
phandle = <0x14>;
};
gpio@100000 {
compatible = "oxsemi,ox820-gpio";
reg = <0x100000 0x100000>;
interrupts = <0x00 0x16 0x04>;
#gpio-cells = <0x02>;
gpio-controller;
interrupt-controller;
#interrupt-cells = <0x02>;
ngpios = <0x12>;
oxsemi,gpio-bank = <0x01>;
gpio-ranges = <0x0c 0x00 0x20 0x12>;
linux,phandle = <0x11>;
phandle = <0x11>;
};
serial@200000 {
compatible = "ns16550a";
reg = <0x200000 0x100000>;
interrupts = <0x00 0x17 0x04>;
reg-shift = <0x00>;
fifo-size = <0x10>;
reg-io-width = <0x01>;
current-speed = <0x1c200>;
no-loopback-test;
status = "okay";
clocks = <0x0d>;
resets = <0x06 0x11>;
pinctrl-names = "default";
pinctrl-0 = <0x0e>;
};
serial@300000 {
compatible = "ns16550a";
reg = <0x300000 0x100000>;
interrupts = <0x00 0x18 0x04>;
reg-shift = <0x00>;
fifo-size = <0x10>;
reg-io-width = <0x01>;
current-speed = <0x1c200>;
no-loopback-test;
status = "disabled";
clocks = <0x0d>;
resets = <0x06 0x12>;
#pinctrl-names = "default";
#pinctrl-0 = <0x0e>;
};
rps@400000 {
#address-cells = <0x01>;
#size-cells = <0x01>;
compatible = "simple-bus";
ranges = <0x00 0x400000 0x100000>;
interrupt-controller@0 {
compatible = "oxsemi,ox820-rps-irq\0oxsemi,ox810se-rps-irq";
interrupt-controller;
reg = <0x00 0x200>;
interrupts = <0x00 0x05 0x04>;
#interrupt-cells = <0x01>;
valid-mask = <0xffffffff>;
clear-mask = <0xffffffff>;
linux,phandle = <0x0f>;
phandle = <0x0f>;
};
timer@200 {
compatible = "oxsemi,ox820-rps-timer";
reg = <0x200 0x40>;
clocks = <0x0d>;
interrupt-parent = <0x0f>;
interrupts = <0x04>;
};
};
pcie-phy@a00000 {
compatible = "oxsemi,ox820-pcie-phy";
reg = <0xa00000 0x10>;
#phy-cells = <0x00>;
resets = <0x06 0x0e>;
reset-names = "phy";
status = "okay";
linux,phandle = <0x10>;
phandle = <0x10>;
};
sys-ctrl@e00000 {
compatible = "oxsemi,ox820-sys-ctrl\0syscon\0simple-mfd";
reg = <0xe00000 0x200000>;
linux,phandle = <0x09>;
phandle = <0x09>;
reset-controller {
compatible = "oxsemi,ox820-reset\0oxsemi,ox810se-reset";
#reset-cells = <0x01>;
linux,phandle = <0x06>;
phandle = <0x06>;
};
stdclk {
compatible = "oxsemi,ox820-stdclk\0oxsemi,ox810se-stdclk";
#clock-cells = <0x01>;
linux,phandle = <0x05>;
phandle = <0x05>;
};
plla {
compatible = "plxtech,nas782x-plla";
#clock-cells = <0x00>;
clocks = <0x02>;
linux,phandle = <0x03>;
phandle = <0x03>;
};
pllb {
compatible = "plxtech,nas782x-pllb";
#clock-cells = <0x00>;
clocks = <0x02>;
resets = <0x06 0x1f>;
linux,phandle = <0x0b>;
phandle = <0x0b>;
};
};
};
apb-bridge@47000000 {
#address-cells = <0x01>;
#size-cells = <0x01>;
compatible = "simple-bus";
ranges = <0x00 0x47000000 0x2000>;
scu@0 {
compatible = "arm,arm11mp-scu";
reg = <0x00 0x100>;
};
local-timer@600 {
compatible = "arm,arm11mp-twd-timer";
reg = <0x600 0x20>;
interrupts = <0x01 0x0d 0x304>;
clocks = <0x01>;
};
watchdog@620 {
compatible = "mpcore_wdt";
reg = <0x620 0x20>;
interrupts = <0x01 0x0e 0x304>;
clocks = <0x01>;
};
gic@1000 {
compatible = "arm,arm11mp-gic";
interrupt-controller;
#interrupt-cells = <0x03>;
reg = <0x1000 0x1000 0x100 0x500>;
linux,phandle = <0x04>;
phandle = <0x04>;
};
};
pcie@47c00000 {
compatible = "plxtech,nas782x-pcie";
device_type = "pci";
#address-cells = <0x03>;
#size-cells = <0x02>;
ranges = <0x82000000 0x00 0x48000000 0x48000000 0x00 0x2000000 0xc2000000 0x00 0x4a000000 0x4a000000 0x00 0x1e00000 0x81000000 0x00 0x4be00000 0x4be00000 0x00 0x100000 0x80000000 0x00 0x4bf00000 0x4bf00000 0x00 0x100000>;
bus-range = <0x00 0x7f>;
reg = <0x47c00000 0x1000 0x47d00000 0x100>;
phys = <0x10>;
phy-names = "pcie-phy";
#interrupt-cells = <0x01>;
interrupt-map-mask = <0x00 0x00 0x00 0x00>;
interrupt-map = <0x00 0x00 0x00 0x00 0x04 0x00 0x13 0x304>;
gpios = <0x11 0x0c 0x00>;
clocks = <0x05 0x08 0x0b>;
clock-names = "pcie\0busclk";
resets = <0x06 0x07>;
reset-names = "pcie";
plxtech,pcie-hcsl-bit = <0x02>;
plxtech,pcie-ctrl-offset = <0x120>;
plxtech,pcie-outbound-offset = <0x138>;
status = "disabled";
};
pcie@47e00000 {
compatible = "plxtech,nas782x-pcie";
device_type = "pci";
#address-cells = <0x03>;
#size-cells = <0x02>;
ranges = <0x82000000 0x00 0x4c000000 0x4c000000 0x00 0x2000000 0xc2000000 0x00 0x4e000000 0x4e000000 0x00 0x1e00000 0x81000000 0x00 0x4fe00000 0x4fe00000 0x00 0x100000 0x80000000 0x00 0x4ff00000 0x4ff00000 0x00 0x100000>;
bus-range = <0x80 0xff>;
reg = <0x47e00000 0x1000 0x47f00000 0x100>;
phys = <0x10>;
phy-names = "pcie-phy";
#interrupt-cells = <0x01>;
interrupt-map-mask = <0x00 0x00 0x00 0x00>;
interrupt-map = <0x00 0x00 0x00 0x00 0x04 0x00 0x14 0x304>;
clocks = <0x05 0x0a 0x0b>;
clock-names = "pcie\0busclk";
resets = <0x06 0x17>;
reset-names = "pcie";
plxtech,pcie-hcsl-bit = <0x03>;
plxtech,pcie-ctrl-offset = <0x124>;
plxtech,pcie-outbound-offset = <0x174>;
status = "disabled";
};
sata@45900000 {
compatible = "plxtech,nas782x-sata";
reg = <0x45900000 0x20000 0x459a0000 0x40 0x459b0000 0x20 0x459e0000 0x2000 0x44900000 0x0c 0x50000000 0x1000>;
interrupts = <0x00 0x12 0x04>;
clocks = <0x05 0x04>;
resets = <0x06 0x0b 0x06 0x0c 0x06 0x0d>;
reset-names = "sata\0link\0phy";
nr-ports = <0x02>;
status = "okay";
};
};
i2c-gpio {
compatible = "i2c-gpio";
gpios = <0x11 0x09 0x00 0x11 0x0a 0x00>;
pinctrl-names = "default";
pinctrl-0 = <0x12>;
i2c-gpio,delay-us = <0x0a>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "okay";
rtc@68 {
compatible = "dallas,ds1307";
reg = <0x68>;
ds_type = "m41t00";
};
};
keys {
compatible = "gpio-keys-polled";
pinctrl-names = "default";
pinctrl-0 = <0x13>;
#address-cells = <0x01>;
#size-cells = <0x00>;
poll-interval = <0x64>;
power {
label = "power";
gpios = <0x14 0x0b 0x01>;
linux,code = <0x74>;
};
reset {
label = "reset";
gpios = <0x11 0x06 0x01>;
linux,code = <0x198>;
};
};
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <0x15>;
status {
label = "akitio:red:status";
gpios = <0x14 0x1d 0x00>;
};
};
gpio-poweroff {
compatible = "gpio-poweroff";
pinctrl-names = "default";
pinctrl-0 = <0x16>;
gpios = <0x11 0x0d 0x02>;
};
};
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 04:13AM |
Registered: 11 months ago Posts: 82 |
>Quote
I am pretty sure that there is no ubi.ko
> module in the Kernel and rootfs packages you
> provided on DropBOX.
> CONFIG_UBIFS_FS=y >>
> root@iSharing:~# ubiattach -m 1 -d 0 > [ 86.620761][ T1384] ubi0: attaching mtd1 > [ 86.861642][ T1384] ubi0: scanning is finished > [ 86.876157][ T1384] ubi0 warning: ubi_eba_init: > cannot reserve enough PEBs for bad PEB handling, > reserved 11, need 40 > [ 86.891458][ T1384] ubi0: attached mtd1 (name > "data", size 217 MiB) > [ 86.898122][ T1384] ubi0: PEB size: 131072 > bytes (128 KiB), LEB size: 129024 bytes > [ 86.906053][ T1384] ubi0: min./max. I/O unit > sizes: 2048/2048, sub-page size 512 > [ 86.913669][ T1384] ubi0: VID header offset: > 512 (aligned 512), data offset: 2048 > [ 86.921387][ T1384] ubi0: good PEBs: 1738, bad > PEBs: 0, corrupted PEBs: 0 > [ 86.928289][ T1384] ubi0: user volume: 1, > internal volumes: 1, max. volumes count: 128 > [ 86.936437][ T1384] ubi0: max/mean erase > counter: 800/132, WL threshold: 4096, image > sequence number: 1359814330 > [ 86.946752][ T1384] ubi0: available PEBs: 0, > total reserved PEBs: 1738, PEBs reserved for bad > PEB handling: 11 > [ 86.957007][ T1385] ubi0: background thread > "ubi_bgt0d" started, PID 1385 > UBI device number 0, total 1738 LEBs (224243712 > bytes, 213.9 MiB), available 0 LEBs (0 bytes), LEB > size 129024 bytes (126.0 KiB) >>
> root@iSharing:~# mtdinfo /dev/mtd1 > mtd1 > Name: data >>
>Quote
The next step is the important step~My
> Kernel lacks support for ubifs~
> It's too sad.....
root@iSharing:/boot# grep UBIFS config-5.4.224-oxnas-tld-1
CONFIG_UBIFS_FS=y
# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
CONFIG_UBIFS_FS_LZO=y
CONFIG_UBIFS_FS_ZLIB=y
CONFIG_UBIFS_FS_ZSTD=y
# CONFIG_UBIFS_ATIME_SUPPORT is not set
CONFIG_UBIFS_FS_XATTR=y
CONFIG_UBIFS_FS_SECURITY=y
# CONFIG_UBIFS_FS_AUTHENTICATION is not set
root@iSharing:/boot# mtdinfo /dev/mtd0
mtd0
Name: boot
Type: nand
Eraseblock size: 131072 bytes, 128.0 KiB
Amount of eraseblocks: 310 (40632320 bytes, 38.8 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size: 512 bytes
OOB size: 64 bytes
Character device major/minor: 90:0
Bad blocks are allowed: true
Device is writable: true
root@iSharing:/boot# mtdinfo /dev/mtd1
mtd1
Name: data
Type: nand
Eraseblock size: 131072 bytes, 128.0 KiB
Amount of eraseblocks: 1738 (227803136 bytes, 217.2 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size: 512 bytes
OOB size: 64 bytes
Character device major/minor: 90:2
Bad blocks are allowed: true
Device is writable: true
root@iSharing:/boot# ubinfo -a /dev/ubi2
ubi2
Volumes count: 1
Logical eraseblock size: 129024 bytes, 126.0 KiB
Total amount of logical eraseblocks: 1738 (224243712 bytes, 213.9 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes 128
Count of bad physical eraseblocks: 0
Count of reserved physical eraseblocks: 11
Current maximum erase counter value: 800
Minimum input/output unit size: 2048 bytes
Character device major/minor: 246:0
Present volumes: 0
Volume ID: 0 (on ubi2)
Type: dynamic
Alignment: 1
Size: 1723 LEBs (222308352 bytes, 212.0 MiB)
State: OK
Name: rootfs
Character device major/minor: 246:1
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 02:42PM |
Admin Registered: 13 years ago Posts: 19,011 |
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 02:46PM |
Admin Registered: 13 years ago Posts: 19,011 |
Quote
[ 7.747243] mtd: no closing ) found in partition name
setenv mtdparts 'mtdparts=41000000.nand:39680k(Boot),-(Data)' printenvand boot
boot
dmesg | grep -2 mtdparts dmesg | grep -2 0x0 cat /proc/mtd
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 07:33PM |
Registered: 11 months ago Posts: 82 |
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 08:21PM |
Registered: 11 months ago Posts: 82 |
> setenv mtdparts > 'mtdparts=41000000.nand:39680k(Boot),-(Data)' > printenv >> and boot
> boot >
Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.4.224-oxnas-tld-1 (root@tldDebian) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1.0 SMP PREEMPT Mon Nov 14 15:48:26 PST 2022 [ 0.000000][ T0] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d [ 0.000000][ T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000][ T0] OF: fdt: Machine model: Akitio MyCloud [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writealloc [ 0.000000][ T0] percpu: Embedded 15 pages/cpu s30636 r8192 d22612 u61440 [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 65024 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.20.252:/akitio-buster,nfsvers=3,nolock,intr,soft,rsize=32768,wsize=32768 rw ip=192.168.20.249:192.168.20.252:192.168.20.253:255.255.0.0::eth0:off mem=256M rootdelay=10 mtdparts=41000000.nand:39680k(Boot),-(Data) earlyprintk=serial [ 0.000000][ T0] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 240624K/262144K available (8192K kernel code, 234K rwdata, 2068K rodata, 1024K init, 258K bss, 21520K reserved, 0K cma-reserved) [ 0.000000][ T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 16 [ 0.000017][ T0] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns [ 0.008770][ T0] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns [ 0.020106][ T0] timer_oxnas_rps: Registered clocksource rate 390625Hz [ 0.026867][ T0] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500 [ 0.036008][ T0] GIC: PPI13 is secure or misconfigured [ 0.041418][ T0] GIC: PPI13 is secure or misconfigured [ 0.047109][ T0] Console: colour dummy device 80x30 [ 0.052328][ T0] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.108416][ T0] pid_max: default: 32768 minimum: 301 [ 0.114416][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.122421][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.131079][ T0] *** VALIDATE tmpfs *** [ 0.136506][ T0] *** VALIDATE proc *** [ 0.140689][ T0] *** VALIDATE cgroup1 *** [ 0.144988][ T0] *** VALIDATE cgroup2 *** [ 0.149427][ T0] CPU: Testing write buffer coherency: ok [ 0.157496][ T1] Setting up static identity map for 0x60100000 - 0x60100038 [ 0.165066][ T1] rcu: Hierarchical SRCU implementation. [ 0.171594][ T1] smp: Bringing up secondary CPUs ... [ 0.178063][ T0] GIC: PPI13 is secure or misconfigured [ 0.231772][ T1] smp: Brought up 1 node, 2 CPUs [ 0.241996][ T1] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.250117][ T1] devtmpfs: initialized [ 0.261376][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.271941][ T1] futex hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.279567][ T1] prandom: seed boundary self test passed [ 0.289326][ T1] prandom: 100 self tests passed [ 0.294118][ T1] pinctrl core: initialized pinctrl subsystem [ 0.302187][ T1] NET: Registered protocol family 16 [ 0.309204][ T1] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.320107][ T1] cpuidle: using governor ladder [ 0.325099][ T1] cpuidle: using governor menu [ 6.280913][ T1] vgaarb: loaded [ 6.285373][ T1] SCSI subsystem initialized [ 6.290565][ T1] usbcore: registered new interface driver usbfs [ 6.297105][ T1] usbcore: registered new interface driver hub [ 6.303216][ T1] usbcore: registered new device driver usb [ 6.309184][ T1] pps_core: LinuxPPS API ver. 1 registered [ 6.314859][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 6.324692][ T1] PTP clock support registered [ 6.331146][ T1] clocksource: Switched to clocksource oxnas_rps_clocksource_timer [ 6.339120][ T1] *** VALIDATE bpf *** [ 6.343623][ T1] *** VALIDATE ramfs *** [ 6.367029][ T1] NET: Registered protocol family 2 [ 6.372416][ T1] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 6.381447][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 6.390758][ T1] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 6.399216][ T1] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 6.407109][ T1] TCP: Hash tables configured (established 2048 bind 2048) [ 6.414387][ T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 6.421672][ T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 6.429598][ T1] NET: Registered protocol family 1 [ 6.436047][ T1] RPC: Registered named UNIX socket transport module. [ 6.442728][ T1] RPC: Registered udp transport module. [ 6.448104][ T1] RPC: Registered tcp transport module. [ 6.453521][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 6.460633][ T1] PCI: CLS 0 bytes, default 32 [ 6.465715][ T1] Unpacking initramfs... [ 7.202168][ T1] Freeing initrd memory: 6288K [ 7.208184][ T1] Initialise system trusted keyrings [ 7.213534][ T1] Key type blacklist registered [ 7.218606][ T1] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 7.239659][ T1] zbud: loaded [ 7.248960][ T1] NFS: Registering the id_resolver key type [ 7.254837][ T1] Key type id_resolver registered [ 7.259696][ T1] Key type id_legacy registered [ 7.264468][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 7.271866][ T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 7.279915][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 7.288396][ T1] fuse: init (API version 7.31) [ 7.293414][ T1] *** VALIDATE fuse *** [ 7.297420][ T1] *** VALIDATE fuse *** [ 7.302479][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 7.309941][ T1] orangefs_init: module version upstream loaded [ 7.363530][ T1] Key type asymmetric registered [ 7.368314][ T1] Asymmetric key parser 'x509' registered [ 7.373990][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 7.389368][ T1] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 7.397928][ T1] printk: console [ttyS0] disabled [ 7.403092][ T1] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A [ 7.412656][ T1] printk: console [ttyS0] enabled [ 7.412656][ T1] printk: console [ttyS0] enabled [ 7.422389][ T1] printk: bootconsole [earlycon0] disabled [ 7.422389][ T1] printk: bootconsole [earlycon0] disabled [ 7.449054][ T1] loop: module loaded [ 7.455872][ T1] scsi host0: sata_oxnas [ 7.461309][ T1] scsi host1: sata_oxnas [ 7.465868][ T1] ata1: SATA max UDMA/133 irq 57 [ 7.470645][ T1] ata2: SATA max UDMA/133 irq 57 [ 7.475581][ T75] sata_oxnas: resetting SATA core [ 7.541486][ T1] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it [ 7.550899][ T1] ONFI parameter recovery failed, aborting [ 7.556613][ T1] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda [ 7.563665][ T1] nand: Hynix NAND 256MiB 3,3V 8-bit [ 7.568783][ T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 7.577057][ T1] Scanning device for bad blocks [ 7.744972][ T1] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller [ 7.753582][ T1] Creating 2 MTD partitions on "41000000.nand-controller": [ 7.760673][ T1] 0x000000000000-0x0000026c0000 : "boot" [ 7.767290][ T1] 0x0000026c0000-0x000010000000 : "data" [ 7.775395][ T1] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found [ 7.782277][ T1] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 7.788789][ T1] oxnas-dwmac 40400000.ethernet: no reset control found [ 7.861614][ T1] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35 [ 7.869258][ T1] oxnas-dwmac 40400000.ethernet: DWMAC1000 [ 7.875043][ T1] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 7.883048][ T1] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 7.891020][ T1] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 7.896770][ T1] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 7.904337][ T1] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 7.911311][ T1] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 7.918760][ T1] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 7.926069][ T1] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 7.932446][ T1] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 7.986260][ T1] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 7.996513][ T1] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL) [ 8.001216][ T75] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 8.007769][ T1] PPP generic driver version 2.4.2 [ 8.018931][ T75] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133 [ 8.018954][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 8.026867][ T75] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 8.034088][ T1] ehci-pci: EHCI PCI platform driver [ 8.047587][ T75] ata1.00: configured for UDMA/133 [ 8.053271][ T7] scsi 0:0:0:0: Direct-Access ATA APPLE HDD HTS547 D70F PQ: 0 ANSI: 5 [ 8.063820][ T79] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 8.072394][ T79] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 8.078499][ T77] sata_oxnas: resetting SATA core [ 8.078625][ T79] sd 0:0:0:0: [sda] Write Protect is off [ 8.089144][ T79] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 8.098949][ T75] sata_oxnas: resetting SATA core [ 8.251215][ T1] oxnas-ehci 40200100.ehci: EHCI Host Controller [ 8.257418][ T1] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1 [ 8.266181][ T1] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100 [ 8.301224][ T1] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00 [ 8.308249][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 8.317222][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 8.325186][ T1] usb usb1: Product: EHCI Host Controller [ 8.330739][ T1] usb usb1: Manufacturer: Linux 5.4.224-oxnas-tld-1 ehci_hcd [ 8.337968][ T1] usb usb1: SerialNumber: 40200100.ehci [ 8.344360][ T1] hub 1-0:1.0: USB hub found [ 8.348864][ T1] hub 1-0:1.0: 2 ports detected [ 8.354877][ T1] usbcore: registered new interface driver cdc_wdm [ 8.361500][ T1] usbcore: registered new interface driver usb-storage [ 8.368381][ T1] usbcore: registered new interface driver usbserial_generic [ 8.375672][ T1] usbserial: USB Serial support registered for generic [ 8.383267][ T1] mousedev: PS/2 mouse device common for all mice [ 8.389634][ T1] i2c /dev entries driver [ 8.395253][ T1] hidraw: raw HID events driver (C) Jiri Kosina [ 8.401735][ T1] usbcore: registered new interface driver usbhid [ 8.407979][ T1] usbhid: USB HID core driver [ 8.414451][ T1] NET: Registered protocol family 10 [ 8.421524][ T1] Segment Routing with IPv6 [ 8.426037][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 8.435079][ T1] NET: Registered protocol family 17 [ 8.440683][ T1] Key type dns_resolver registered [ 8.446553][ T1] registered taskstats version 1 [ 8.451420][ T1] Loading compiled-in X.509 certificates [ 8.457072][ T1] zswap: loaded using pool lzo/zbud [ 8.462855][ T1] Key type ._fscrypt registered [ 8.467548][ T1] Key type .fscrypt registered [ 8.562314][ T1] Key type big_key registered [ 8.606261][ T1] Key type encrypted registered [ 8.615856][ T1] hctosys: unable to open rtc device (rtc0) [ 8.623132][ T1] oxnas-dwmac 40400000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] [ 8.635353][ T1] oxnas-dwmac 40400000.ethernet eth0: No Safety Features support found [ 8.643658][ T1] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported [ 8.653102][ T1] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock [ 8.660134][ T1] oxnas-dwmac 40400000.ethernet eth0: configuring for phy/rgmii link mode [ 8.752832][ T77] ata2: SATA link down (SStatus 0 SControl 300) [ 9.781209][ T75] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 9.790003][ T75] ata1.00: configured for UDMA/133 [ 10.072691][ T79] sda: sda1 [ 10.078307][ T79] sd 0:0:0:0: [sda] Attached SCSI disk [ 10.085437][ T26] sda: detected capacity change from 0 to 500107862016 [ 12.851880][ T5] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 12.861240][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 12.891212][ T1] IP-Config: Complete: [ 12.895193][ T1] device=eth0, hwaddr=00:30:e0:00:00:01, ipaddr=192.168.20.249, mask=255.255.0.0, gw=192.168.20.253 [ 12.906240][ T1] host=192.168.20.249, domain=, nis-domain=(none) [ 12.913024][ T1] bootserver=192.168.20.252, rootserver=192.168.20.252, rootpath= [ 12.923686][ T1] Freeing unused kernel memory: 1024K [ 12.962480][ T1] Checked W+X mappings: passed, no W+X pages found [ 12.968816][ T1] Run /init as init process
> dmesg | grep -2 mtdparts > dmesg | grep -2 0x0 > cat /proc/mtd >>
root@iSharing:~# dmesg | grep -2 mtdparts [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.20.252:/akitio-buster,nfsvers=3,nolock,intr,soft,rsize=32768,wsize=32768 rw ip=192.168.20.249:192.168.20.252:192.168.20.253:255.255.0.0::eth0:off mem=256M rootdelay=10 mtdparts=41000000.nand:39680k(Boot),-(Data) earlyprintk=serial [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) root@iSharing:~# dmesg | grep -2 0x0 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.224-oxnas-tld-1 (root@tldDebian) (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1.0 SMP PREEMPT Mon Nov 14 15:48:26 PST 2022 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d -- [ 7.744972] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller [ 7.753582] Creating 2 MTD partitions on "41000000.nand-controller": [ 7.760673] 0x000000000000-0x0000026c0000 : "boot" [ 7.767290] 0x0000026c0000-0x000010000000 : "data" [ 7.775395] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found [ 7.782277] oxnas-dwmac 40400000.ethernet: PTP uses main clock root@iSharing:~# cat /proc/mtd dev: size erasesize name mtd0: 026c0000 00020000 "boot" mtd1: 0d940000 00020000 "data" root@iSharing:~#
root@iSharing:~# ubiattach -m 0 ubiattach: error!: cannot attach mtd0 error 22 (Invalid argument) root@iSharing:~# ubiattach -m 1 UBI device number 0, total 1738 LEBs (224243712 bytes, 213.9 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB) root@iSharing:~# ubinfo /dev/ Display all 130 possibilities? (y or n) root@iSharing:~# ubinfo /dev/ubi0_0 Volume ID: 0 (on ubi0) Type: dynamic Alignment: 1 Size: 1723 LEBs (222308352 bytes, 212.0 MiB) State: OK Name: rootfs Character device major/minor: 246:1 root@iSharing:~#
[ 316.985538] ubi0: attaching mtd0 [ 317.028705] ubi0: scanning is finished [ 317.033187] ubi0 error: ubi_read_volume_table: the layout volume was not found [ 317.041569] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd0, error -22 [ 319.512919] ubi0: attaching mtd1 [ 319.755653] ubi0: scanning is finished [ 319.769548] ubi0 warning: ubi_eba_init: cannot reserve enough PEBs for bad PEB handling, reserved 11, need 40 [ 319.787095] ubi0: attached mtd1 (name "data", size 217 MiB) [ 319.793477] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 319.801592] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 319.809274] ubi0: VID header offset: 512 (aligned 512), data offset: 2048 [ 319.816967] ubi0: good PEBs: 1738, bad PEBs: 0, corrupted PEBs: 0 [ 319.823905] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 319.832097] ubi0: max/mean erase counter: 800/132, WL threshold: 4096, image sequence number: 1359814330 [ 319.842452] ubi0: available PEBs: 0, total reserved PEBs: 1738, PEBs reserved for bad PEB handling: 11 [ 319.852736] ubi0: background thread "ubi_bgt0d" started, PID 1410
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 08:34PM |
Registered: 11 months ago Posts: 82 |
>Quote
[ 7.747243] mtd: no closing ) found in
> partition name
> setenv mtdparts > 'mtdparts=41000000.nand:39680k(Boot),-(Data)' > printenv >> and boot
> boot >>
modprobe nandsim first_id_byte=0x98 second_id_byte=0xd1 third_id_byte=0x90 fourth_id_byte=0x15 parts=4,8 dev: size erasesize name mtd0: 10000000 00020000 "NAND simulator partition 0" mtd1: 026c0000 00020000 "NAND simulator partition 1" mtd2: 0d940000 00020000 "NAND simulator partition 2" root@debdev:~# mtdinfo Count of MTD devices: 3 Present MTD devices: mtd0, mtd1, mtd2 Sysfs interface supported: yes
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 09:31PM |
Admin Registered: 13 years ago Posts: 19,011 |
[ 7.744972] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller [ 7.753582] Creating 2 MTD partitions on "41000000.nand-controller": [ 7.760673] 0x000000000000-0x0000026c0000 : "boot" [ 7.767290] 0x0000026c0000-0x000010000000 : "data"
So if your MTDs are not what defined in u-boot envs mtdparts, then there is something wrong. You should check uImage to see if it is the original (without DTB appended).
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 03, 2023 10:10PM |
Registered: 9 years ago Posts: 462 |
Quote
Popo
BTW, my machine is not DC01. My machine is the same OEM product as OpenWRT and Ray's machine. It's just that I don't have the RTC on the motherboard.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 04, 2023 01:28AM |
Registered: 11 months ago Posts: 82 |
> [ 7.744972] 2 fixed-partitions partitions found > on MTD device 41000000.nand-controller > [ 7.753582] Creating 2 MTD partitions on > "41000000.nand-controller": > [ 7.760673] 0x000000000000-0x0000026c0000 : > "boot" > [ 7.767290] 0x0000026c0000-0x000010000000 : > "data" >>
> So if your MTDs are not what defined in u-boot > envs mtdparts, then there is something wrong. You > should check uImage to see if it is the original > (without DTB appended). >>
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 04, 2023 01:34AM |
Registered: 11 months ago Posts: 82 |
>Quote
Popo
> BTW, my machine is not DC01. My machine is the
> same OEM product as OpenWRT and Ray's machine.
> It's just that I don't have the RTC on the
> motherboard.
>
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 05, 2023 12:49AM |
Registered: 9 years ago Posts: 462 |
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 05, 2023 07:47AM |
Registered: 11 months ago Posts: 82 |
dtc -I dts -O dtb ox820-akitio.dts > ox820-akitio.dtb reboot
grep CONFIG_RTC_DRV_DS1307 config-5.4.224-oxnas-tld-1
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 05, 2023 01:43PM |
Admin Registered: 13 years ago Posts: 19,011 |
> > So if your MTDs are not what defined in u-boot > > envs mtdparts, then there is something wrong. > You > > should check uImage to see if it is the > original > > (without DTB appended). > >> >
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 06, 2023 10:27PM |
Registered: 11 months ago Posts: 82 |
[ 7.768727] 0x000000000000-0x0000026c0000 : "boot" [ 7.775308] 0x0000026c0000-0x000010000000 : "data" root@iSharing:~# cat /proc/mtd dev: size erasesize name mtd0: 026c0000 00020000 "boot" mtd1: 0d940000 00020000 "data"
Usage: nanddump [OPTIONS] MTD-device Dumps the contents of a nand mtd partition. -h --help Display this help and exit --version Output version information and exit --bb=METHOD Choose bad block handling method (see below). -a --forcebinary Force printing of binary data to tty -c --canonicalprint Print canonical Hex+ASCII dump -f file --file=file Dump to file -l length --length=length Length -n --noecc Read without error correction --omitoob Omit OOB data (default) -o --oob Dump OOB data -p --prettyprint Print nice (hexdump) -q --quiet Don't display progress and status messages -s addr --startaddress=addr Start address --skip-bad-blocks-to-start Skip bad blocks when seeking to the start address --bb=METHOD, where METHOD can be `padbad', `dumpbad', or `skipbad': padbad: dump flash data, substituting 0xFF for any bad blocks dumpbad: dump flash data, including any bad blocks skipbad: dump good data, completely skipping any bad blocks (default) root@iSharing:~/nand# nanddump -o --bb=dumpbad -f mtd0.nanddump-omitoob_oob_dumpbad /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -o --bb=dumpbad -f mtd1.nanddump-omitoob_oob_dumpbad /dev/mtd1 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump -o --bb=padbad -f mtd0.nanddump-omitoob_oob_padbad /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -o --bb=padbad -f mtd1.nanddump-omitoob_oob_padbad /dev/mtd1 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump -o --bb=skipbad -f mtd0.nanddump-omitoob_oob_skipbad /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -o --bb=skipbad -f mtd1.nanddump-omitoob_oob_skipbad /dev/mtd1 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump --bb=dumpbad -f mtd0.nanddump-omitoob_no-oob_dumpbad /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump --bb=dumpbad -f mtd1.nanddump-omitoob_nooob_dumpbad /dev/mtd1 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump --bb=padbad -f mtd0.nanddump-omitoob_nooob_padbad /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump --bb=padbad -f mtd1.nanddump-omitoob_nooob_padbad /dev/mtd1 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump --bb=padbad -f mtd0.nanddump-omitoob_nooob_skipbad /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump --bb=skipbad -f mtd0.nanddump-omitoob_nooob_skipbad /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump --bb=skipbad -f mtd1.nanddump-omitoob_nooob_skipbad /dev/mtd1 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump -n --bb=dumpbad -f mtd0.nanddump-noecc_nooob_dumpbad /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -n --bb=dumpbad -f mtd1.nanddump-noecc_nooob_dumpbad /dev/mtd1 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump -n --bb=padbad -f mtd0.nanddump-noecc_nooob_padbad /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -n --bb=padbad -f mtd1.nanddump-noecc_nooob_padbad /dev/mtd1 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump -n --bb=skipbad -f mtd0.nanddump-noecc_nooob_skipbad /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -n --bb=skipbad -f mtd1.nanddump-noecc_nooob_skipbad /dev/mtd1 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump -n -o --bb=dumpbad -f mtd0.nanddump-noecc_oob_dumpbad /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -n -o --bb=dumpbad -f mtd1.nanddump-noecc_oob_dumpbad /dev/mtd1 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump -n -o --bb=padbad -f mtd0.nanddump-noecc_oob_padbad /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -n -o --bb=padbad -f mtd1.nanddump-noecc_oob_padbad /dev/mtd1 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# nanddump -n -o --bb=skipbad -f mtd0.nanddump-noecc_oob_skipbad /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x026c0000... root@iSharing:~/nand# nanddump -n -o --bb=skipbad -f mtd1.nanddump-noecc_oob_skipbad /dev/mtd1 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x0d940000... root@iSharing:~/nand# mtdinfo -a Count of MTD devices: 2 Present MTD devices: mtd0, mtd1 Sysfs interface supported: yes mtd0 Name: boot Type: nand Eraseblock size: 131072 bytes, 128.0 KiB Amount of eraseblocks: 310 (40632320 bytes, 38.8 MiB) Minimum input/output unit size: 2048 bytes Sub-page size: 512 bytes OOB size: 64 bytes Character device major/minor: 90:0 Bad blocks are allowed: true Device is writable: true mtd1 Name: data Type: nand Eraseblock size: 131072 bytes, 128.0 KiB Amount of eraseblocks: 1738 (227803136 bytes, 217.2 MiB) Minimum input/output unit size: 2048 bytes Sub-page size: 512 bytes OOB size: 64 bytes Character device major/minor: 90:2 Bad blocks are allowed: true Device is writable: true
root@iSharing:~/nand# find -type f -name \* | xargs md5sum 48b37feebd937584754934fe3014b7ab ./mtd0.single-byte.dd 48b37feebd937584754934fe3014b7ab ./mtd0.64bytes.dd 48b37feebd937584754934fe3014b7ab ./mtd0.512bytes.dd 48b37feebd937584754934fe3014b7ab ./mtd0.nanddump-omitoob_nooob_dumpbad 48b37feebd937584754934fe3014b7ab ./mtd0.nanddump-omitoob_nooob_padbad 48b37feebd937584754934fe3014b7ab ./mtd0.nanddump-omitoob_nooob_skipbad 48b37feebd937584754934fe3014b7ab ./mtd0.nanddump-noecc_nooob_dumpbad 48b37feebd937584754934fe3014b7ab ./mtd0.nanddump-noecc_nooob_padbad 48b37feebd937584754934fe3014b7ab ./mtd0.nanddump-noecc_nooob_skipbad 156d93a18c924c8682c3d2b0031d7c7d ./mtd0.nanddump-omitoob_oob_dumpbad 156d93a18c924c8682c3d2b0031d7c7d ./mtd0.nanddump-omitoob_oob_padbad 156d93a18c924c8682c3d2b0031d7c7d ./mtd0.nanddump-omitoob_oob_skipbad 156d93a18c924c8682c3d2b0031d7c7d ./mtd0.nanddump-noecc_oob_dumpbad 156d93a18c924c8682c3d2b0031d7c7d ./mtd0.nanddump-noecc_oob_padbad 156d93a18c924c8682c3d2b0031d7c7d ./mtd0.nanddump-noecc_oob_skipbad ec11bc8e9f493b4fd384ebd56f35cab4 ./mtd1.64bytes.dd ec11bc8e9f493b4fd384ebd56f35cab4 ./mtd1.512bytes.dd ec11bc8e9f493b4fd384ebd56f35cab4 ./mtd1.nanddump-omitoob_nooob_dumpbad ec11bc8e9f493b4fd384ebd56f35cab4 ./mtd1.nanddump-omitoob_nooob_padbad ec11bc8e9f493b4fd384ebd56f35cab4 ./mtd1.nanddump-omitoob_nooob_skipbad ec11bc8e9f493b4fd384ebd56f35cab4 ./mtd1.nanddump-noecc_nooob_dumpbad ec11bc8e9f493b4fd384ebd56f35cab4 ./mtd1.nanddump-noecc_nooob_padbad ec11bc8e9f493b4fd384ebd56f35cab4 ./mtd1.nanddump-noecc_nooob_skipbad d36b92af459ff2255eb8467fd94c2c1f ./mtd1.nanddump-omitoob_oob_dumpbad d36b92af459ff2255eb8467fd94c2c1f ./mtd1.nanddump-omitoob_oob_padbad d36b92af459ff2255eb8467fd94c2c1f ./mtd1.nanddump-omitoob_oob_skipbad d36b92af459ff2255eb8467fd94c2c1f ./mtd1.nanddump-noecc_oob_dumpbad d36b92af459ff2255eb8467fd94c2c1f ./mtd1.nanddump-noecc_oob_padbad d36b92af459ff2255eb8467fd94c2c1f ./mtd1.nanddump-noecc_oob_skipbad -rw-r--r-- 1 root root 40632320 Dec 5 14:03 mtd0.single-byte.dd -rw-r--r-- 1 root root 40632320 Dec 5 22:58 mtd0.64bytes.dd -rw-r--r-- 1 root root 40632320 Dec 5 22:58 mtd0.512bytes.dd -rw-r--r-- 1 root root 40632320 Dec 5 22:26 mtd0.nanddump-noecc_nooob_dumpbad -rw-r--r-- 1 root root 40632320 Dec 5 22:27 mtd0.nanddump-noecc_nooob_padbad -rw-r--r-- 1 root root 40632320 Dec 5 22:28 mtd0.nanddump-noecc_nooob_skipbad -rw-r--r-- 1 root root 40632320 Dec 5 22:21 mtd0.nanddump-omitoob_nooob_dumpbad -rw-r--r-- 1 root root 40632320 Dec 5 22:22 mtd0.nanddump-omitoob_nooob_padbad -rw-r--r-- 1 root root 40632320 Dec 5 22:24 mtd0.nanddump-omitoob_nooob_skipbad -rw-r--r-- 1 root root 41902080 Dec 5 22:30 mtd0.nanddump-noecc_oob_dumpbad -rw-r--r-- 1 root root 41902080 Dec 5 22:31 mtd0.nanddump-noecc_oob_padbad -rw-r--r-- 1 root root 41902080 Dec 5 22:33 mtd0.nanddump-noecc_oob_skipbad -rw-r--r-- 1 root root 41902080 Dec 5 22:14 mtd0.nanddump-omitoob_oob_dumpbad -rw-r--r-- 1 root root 41902080 Dec 5 22:17 mtd0.nanddump-omitoob_oob_padbad -rw-r--r-- 1 root root 41902080 Dec 5 22:18 mtd0.nanddump-omitoob_oob_skipbad -rw-r--r-- 1 root root 227803136 Dec 5 22:55 mtd1.64bytes.dd -rw-r--r-- 1 root root 227803136 Dec 5 22:46 mtd1.512bytes.dd -rw-r--r-- 1 root root 227803136 Dec 5 22:26 mtd1.nanddump-noecc_nooob_dumpbad -rw-r--r-- 1 root root 227803136 Dec 5 22:28 mtd1.nanddump-noecc_nooob_padbad -rw-r--r-- 1 root root 227803136 Dec 5 22:29 mtd1.nanddump-noecc_nooob_skipbad -rw-r--r-- 1 root root 227803136 Dec 5 22:22 mtd1.nanddump-omitoob_nooob_dumpbad -rw-r--r-- 1 root root 227803136 Dec 5 22:23 mtd1.nanddump-omitoob_nooob_padbad -rw-r--r-- 1 root root 227803136 Dec 5 22:25 mtd1.nanddump-omitoob_nooob_skipbad -rw-r--r-- 1 root root 234921984 Dec 5 22:31 mtd1.nanddump-noecc_oob_dumpbad -rw-r--r-- 1 root root 234921984 Dec 5 22:32 mtd1.nanddump-noecc_oob_padbad -rw-r--r-- 1 root root 234921984 Dec 5 22:34 mtd1.nanddump-noecc_oob_skipbad -rw-r--r-- 1 root root 234921984 Dec 5 22:15 mtd1.nanddump-omitoob_oob_dumpbad -rw-r--r-- 1 root root 234921984 Dec 5 22:18 mtd1.nanddump-omitoob_oob_padbad -rw-r--r-- 1 root root 234921984 Dec 5 22:19 mtd1.nanddump-omitoob_oob_skipbad
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 06, 2023 11:18PM |
Registered: 11 months ago Posts: 82 |
> > > So if your MTDs are not what defined in > u-boot > > > envs mtdparts, then there is something wrong. > > You > > > should check uImage to see if it is the > > original > > > (without DTB appended). > > >> > >
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 06, 2023 11:34PM |
Registered: 11 months ago Posts: 82 |
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 07, 2023 02:20PM |
Admin Registered: 13 years ago Posts: 19,011 |
Quote
Then let's discuss why when dts correctly defines nand reg, after args is passed to the core, the correct partition name cannot appear during the startup process and finally when entering the system.
Quote
I even directly used the original uImage and uInitrd in the tar archive obtained from dropbox as the boot image, and used u-boot for uboot loading.
I don't know the reason.
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 07, 2023 06:33PM |
Admin Registered: 13 years ago Posts: 19,011 |
printenv ide reset ide part boot
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 16, 2023 05:39PM |
Registered: 11 months ago Posts: 82 |
root@ubuntu:/media/popo/rootfs# ls -al ็ธฝ่จ 96 drwxr-xr-x 21 root root 4096 8ๆ 1 2017 . drwxr-x---+ 4 root root 4096 12ๆ 17 05:55 .. drwxr-xr-x 2 root root 4096 5ๆ 15 2020 bin drwxr-xr-x 3 root root 4096 5ๆ 15 2020 boot drwxr-xr-x 5 root root 4096 2ๆ 24 2012 dev drwxr-xr-x 61 root root 4096 5ๆ 17 2020 etc drwxr-xr-x 2 root root 4096 1ๆ 23 2012 home drwxr-xr-x 12 root root 4096 5ๆ 15 2020 lib drwx------ 2 root root 16384 2ๆ 24 2012 lost+found drwxr-xr-x 2 root root 4096 2ๆ 24 2012 media drwxr-xr-x 2 root root 4096 8ๆ 1 2017 mnt drwxr-xr-x 2 root root 4096 2ๆ 24 2012 opt drwxr-xr-x 2 root root 4096 1ๆ 23 2012 proc drwx------ 5 root root 4096 5ๆ 17 2020 root drwxr-xr-x 2 root root 4096 2ๆ 8 2013 run drwxr-xr-x 2 root root 4096 5ๆ 15 2020 sbin drwxr-xr-x 2 root root 4096 2ๆ 24 2012 srv drwxr-xr-x 2 root root 4096 1ๆ 1 2011 sys drwxrwxrwt 2 root root 4096 1ๆ 1 1970 tmp drwxr-xr-x 10 root root 4096 2ๆ 24 2012 usr drwxr-xr-x 11 root root 4096 1ๆ 1 1970 var root@ubuntu:/media/popo/rootfs# tree boot boot โโโ config-4.14.180-oxnas-tld-1 โโโ config-5.4.224-oxnas-tld-1 โโโ disk_create โโโ dts โย ย โโโ ox810se-wd-mbwe.dtb โย ย โโโ ox820-akitio.dtb โย ย โโโ ox820-kd20.dtb โย ย โโโ ox820-pogoplug-classic.dtb <--- already replace from Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 (17 May 2020) โย ย โโโ ox820-pogoplug-pro.dtb โย ย โโโ ox820-stg212.dtb โโโ initrd.img-4.14.180-oxnas-tld-1 โโโ linux-5.4.224-oxnas-tld-1.patch โโโ linux-dtb-5.4.224-oxnas-tld-1.tar โโโ linux-headers-4.14.180-oxnas-tld-1_1.0_armel.deb โโโ linux-headers-5.4.224-oxnas-tld-1_1.0_armel.deb โโโ linux-image-5.4.224-oxnas-tld-1_1.0_armel.deb โโโ System.map-4.14.180-oxnas-tld-1 โโโ u-boot.env โโโ u-boot.env.orig โโโ u-boot.img โโโ u-boot-spl.bin โโโ uImage <--- already replace from Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 (17 May 2020) โโโ uImage_2.6.31.14_OX820_1.2_shv.Pro โโโ uInitrd <--- already replace from Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2 (17 May 2020) โโโ vmlinuz-4.14.180-oxnas-tld-1 โโโ zImage-4.14.180-oxnas-tld-1 โโโ zImage-5.4.224-oxnas-tld-1 1 directory, 26 files root@ubuntu:/media/popo/rootfs# cd boot root@ubuntu:/media/popo/rootfs/boot# ls -al ็ธฝ่จ 72748 drwxr-xr-x 3 root root 4096 5ๆ 15 2020 . drwxr-xr-x 21 root root 4096 8ๆ 1 2017 .. -rw-r--r-- 1 root root 126846 5ๆ 13 2020 config-4.14.180-oxnas-tld-1 -rw-r--r-- 1 root root 142138 11ๆ 15 2022 config-5.4.224-oxnas-tld-1 -rwxr-xr-x 1 root root 671 12ๆ 17 04:40 disk_create drwxr-xr-x 2 root root 4096 5ๆ 8 2020 dts -rw-r--r-- 1 root root 6464843 5ๆ 15 2020 initrd.img-4.14.180-oxnas-tld-1 -rw-r--r-- 1 root root 160176 11ๆ 15 2022 linux-5.4.224-oxnas-tld-1.patch -rw-r--r-- 1 root root 61440 11ๆ 15 2022 linux-dtb-5.4.224-oxnas-tld-1.tar -rw-r--r-- 1 root root 10872364 5ๆ 13 2020 linux-headers-4.14.180-oxnas-tld-1_1.0_armel.deb -rw-r--r-- 1 root root 11289280 11ๆ 15 2022 linux-headers-5.4.224-oxnas-tld-1_1.0_armel.deb -rw-r--r-- 1 root root 14710632 11ๆ 15 2022 linux-image-5.4.224-oxnas-tld-1_1.0_armel.deb -rw-r--r-- 1 root root 1797644 5ๆ 13 2020 System.map-4.14.180-oxnas-tld-1 -rwxr-xr-x 1 root root 16384 1ๆ 1 1970 u-boot.env -rwxr-xr-x 1 root root 16384 12ๆ 17 04:48 u-boot.env.orig -rw-r--r-- 1 root root 525880 8ๆ 3 2014 u-boot.img -rwxr-xr-x 1 root root 32120 8ๆ 3 2014 u-boot-spl.bin -rw-r--r-- 1 root root 4600448 5ๆ 15 2020 uImage -rw-r--r-- 1 root root 2212156 8ๆ 3 2014 uImage_2.6.31.14_OX820_1.2_shv.Pro -rw-r--r-- 1 root root 6464907 5ๆ 15 2020 uInitrd -rwxr-xr-x 1 root root 4600384 5ๆ 13 2020 vmlinuz-4.14.180-oxnas-tld-1 -rwxr-xr-x 1 root root 4600384 5ๆ 13 2020 zImage-4.14.180-oxnas-tld-1 -rwxr-xr-x 1 root root 5589592 11ๆ 15 2022 zImage-5.4.224-oxnas-tld-1 root@ubuntu:/media/popo/rootfs/boot# cd dts root@ubuntu:/media/popo/rootfs/boot/dts# ls -al ็ธฝ่จ 76 drwxr-xr-x 2 root root 4096 5ๆ 8 2020 . drwxr-xr-x 3 root root 4096 5ๆ 15 2020 .. -rw-r--r-- 1 root root 6831 5ๆ 13 2020 ox810se-wd-mbwe.dtb -rw-r--r-- 1 root root 9945 5ๆ 13 2020 ox820-akitio.dtb -rw-r--r-- 1 root root 10282 5ๆ 13 2020 ox820-kd20.dtb -rw-r--r-- 1 root root 8892 5ๆ 13 2020 ox820-pogoplug-classic.dtb -rw-r--r-- 1 root root 9032 5ๆ 13 2020 ox820-pogoplug-pro.dtb -rw-r--r-- 1 root root 9479 5ๆ 13 2020 ox820-stg212.dtb
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin ** U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS DRAM: 256 MiB IDE: Bus 0: OK Device 0: Model: APPLE HDD HTS547550A9E384 Firm: JE3AD70F Ser#: J2600055GJDE2E Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) NAND: 256 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 OX820 # printenv dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr autoload=no baudrate=115200 bootargs=root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M mtdparts=mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) bootcmd=run dt_bootcmd_ide bootdelay=3 console=console=ttyS0,115200n8 dt_bootcmd_ide=ide start; run dt_ide_bootcmd; ide stop; reset dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm dt_ide_bootcmd=run ide_set_bootargs; run dt_sata_boot dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage; bootm $uimage_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:C6:76 ide_set_bootargs=setenv bootargs root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M $mtdparts if_netconsole=ping $serverip ipaddr=192.168.20.249 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) normalboot=run ide_set_bootargs;run dt_ide_load_uimage; run dt_ide_load_initrd;run dt_ide_load_dtb;run dt_bootm preboot_nc=run if_netconsole start_netconsole sata_bootcmd=run usb_set_bootargs; run sata_boot serverip=192.168.20.252 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 2147/16380 bytes
OX820 # run normalboot 4600448 bytes read in 1579 ms (2.8 MiB/s) 6464907 bytes read in 2173 ms (2.8 MiB/s) 8892 bytes read in 57 ms (152.3 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-4.14.180-oxnas-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4600384 Bytes = 4.4 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-4.14.180-oxnas-tld-1 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6464843 Bytes = 6.2 MiB Load Address: 60000000 Entry Point: 60000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 62c00000 Booting using the fdt blob at 0x62c00000 Loading Kernel Image ... OK Loading Ramdisk to 6f7fe000, end 6fe2854b ... OK Loading Device Tree to 6f7f8000, end 6f7fd2bb ... OK Led: GREEN Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Pogoplug V3 Classic [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0 [ 0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 242664K/262144K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 19480K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB) [ 0.000000] .init : 0xc0a00000 - 0xc0b00000 (1024 kB) [ 0.000000] .data : 0xc0b00000 - 0xc0b31f68 ( 200 kB) [ 0.000000] .bss : 0xc0b383b8 - 0xc0b757c0 ( 246 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] FPGA IRQ chip 0 "interrupt-controller" @ d0804000, 32 irqs, parent IRQ: 16 [ 0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns [ 0.000046] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns [ 0.000061] timer_oxnas_rps: Registered clocksource rate 390625Hz [ 0.000087] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500 [ 0.000235] GIC: PPI13 is secure or misconfigured [ 0.000289] GIC: PPI13 is secure or misconfigured [ 0.000458] Console: colour dummy device 80x30 [ 0.000499] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.050383] pid_max: default: 32768 minimum: 301 [ 0.050652] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.050675] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051558] CPU: Testing write buffer coherency: ok [ 0.090444] Setting up static identity map for 0x60100000 - 0x60100038 [ 0.110343] Hierarchical SRCU implementation. [ 0.150348] smp: Bringing up secondary CPUs ... [ 0.220454] GIC: PPI13 is secure or misconfigured [ 0.280629] smp: Brought up 1 node, 2 CPUs [ 0.280665] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.281402] devtmpfs: initialized [ 0.286481] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.286517] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.286850] prandom: seed boundary self test passed [ 0.291141] prandom: 100 self tests passed [ 0.291164] pinctrl core: initialized pinctrl subsystem [ 0.291860] NET: Registered protocol family 16 [ 0.293498] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.295802] cpuidle: using governor ladder [ 0.295882] cpuidle: using governor menu [ 0.313413] vgaarb: loaded [ 0.313914] SCSI subsystem initialized [ 0.314616] usbcore: registered new interface driver usbfs [ 0.314728] usbcore: registered new interface driver hub [ 0.314877] usbcore: registered new device driver usb [ 0.315061] pps_core: LinuxPPS API ver. 1 registered [ 0.315079] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.315112] PTP clock support registered [ 0.316162] clocksource: Switched to clocksource oxnas_rps_clocksource_timer [ 0.331978] NET: Registered protocol family 2 [ 0.332884] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.332938] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 0.332997] TCP: Hash tables configured (established 2048 bind 2048) [ 0.333158] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.333207] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.333473] NET: Registered protocol family 1 [ 0.334284] RPC: Registered named UNIX socket transport module. [ 0.334307] RPC: Registered udp transport module. [ 0.334323] RPC: Registered tcp transport module. [ 0.334336] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.334714] Unpacking initramfs... [ 1.041948] Freeing initrd memory: 6316K [ 1.043133] Initialise system trusted keyrings [ 1.043207] Key type blacklist registered [ 1.043530] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 1.051330] zbud: loaded [ 1.055700] NFS: Registering the id_resolver key type [ 1.055749] Key type id_resolver registered [ 1.055761] Key type id_legacy registered [ 1.055790] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.055800] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.056773] fuse init (API version 7.26) [ 1.057676] orangefs_debugfs_init: called with debug mask: :none: :0: [ 1.057935] orangefs_init: module version upstream loaded [ 3.051041] Key type asymmetric registered [ 3.051074] Asymmetric key parser 'x509' registered [ 3.051174] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 3.051192] io scheduler noop registered [ 3.051205] io scheduler deadline registered [ 3.051266] io scheduler cfq registered (default) [ 3.052853] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 3.054287] console [ttyS0] disabled [ 3.054430] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A [ 3.631285] console [ttyS0] enabled [ 3.645253] loop: module loaded [ 3.650342] scsi host0: sata_oxnas [ 3.654041] ata1: SATA max UDMA/133 irq 57 [ 3.658278] sata_oxnas: resetting SATA core [ 3.726504] nand: Could not find valid ONFI parameter page; aborting [ 3.732843] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda [ 3.739217] nand: Hynix NAND 256MiB 3,3V 8-bit [ 3.743646] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 3.751226] Scanning device for bad blocks [ 3.920783] 2 ofpart partitions found on MTD device 41000000.nand-controller [ 3.927831] Creating 2 MTD partitions on "41000000.nand-controller": [ 3.934159] 0x000000000000-0x000000e00000 : "boot" [ 3.940551] 0x000000e00000-0x000008000000 : "data" [ 3.948467] libphy: Fixed MDIO Bus: probed [ 3.952965] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 3.958837] oxnas-dwmac 40400000.ethernet: no reset control found [ 4.026265] stmmac - user ID: 0x12, Synopsys ID: 0x35 [ 4.031303] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 4.036992] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 4.044270] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 4.051059] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 4.057671] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 4.064949] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 4.070005] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 4.076876] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 4.083118] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 4.134120] libphy: stmmac: probed [ 4.137597] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 4.147082] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL) [ 4.157573] PPP generic driver version 2.4.2 [ 4.162073] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.168683] ehci-pci: EHCI PCI platform driver [ 4.176245] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 4.183290] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133 [ 4.190448] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 4.198072] ata1.00: configured for UDMA/133 [ 4.202872] scsi 0:0:0:0: Direct-Access ATA APPLE HDD HTS547 D70F PQ: 0 ANSI: 5 [ 4.212500] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 4.220564] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 4.225912] sd 0:0:0:0: [sda] Write Protect is off [ 4.231019] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.376235] oxnas-ehci 40200100.ehci: EHCI Host Controller [ 4.381744] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1 [ 4.389601] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100 [ 4.416232] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00 [ 4.422538] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.429355] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.436577] usb usb1: Product: EHCI Host Controller [ 4.441433] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd [ 4.448048] usb usb1: SerialNumber: 40200100.ehci [ 4.453562] hub 1-0:1.0: USB hub found [ 4.457469] hub 1-0:1.0: 2 ports detected [ 4.462420] usbcore: registered new interface driver cdc_wdm [ 4.468275] usbcore: registered new interface driver usb-storage [ 4.474380] usbcore: registered new interface driver usbserial [ 4.480394] usbcore: registered new interface driver usbserial_generic [ 4.487011] usbserial: USB Serial support registered for generic [ 4.493317] mousedev: PS/2 mouse device common for all mice [ 4.499100] i2c /dev entries driver [ 4.503790] hidraw: raw HID events driver (C) Jiri Kosina [ 4.509414] usbcore: registered new interface driver usbhid [ 4.514964] usbhid: USB HID core driver [ 4.519055] sda: sda1 [ 4.523445] sd 0:0:0:0: [sda] Attached SCSI disk [ 4.529551] NET: Registered protocol family 10 [ 4.535367] Segment Routing with IPv6 [ 4.539156] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.546808] NET: Registered protocol family 17 [ 4.551352] Key type dns_resolver registered [ 4.557004] registered taskstats version 1 [ 4.561085] Loading compiled-in X.509 certificates [ 4.565946] zswap: loaded using pool lzo/zbud [ 4.646592] Key type big_key registered [ 4.687124] Key type encrypted registered [ 4.693332] hctosys: unable to open rtc device (rtc0) [ 4.700369] Freeing unused kernel memory: 1024K Loading, please wait... starting version 232 [ 4.931143] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 4.939781] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 4.947379] random: systemd-udevd: uninitialized urandom read (16 bytes read) Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. Begin: Will now check root file system ... fsck from util-linux 2.29.2 fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1 fsck exited with status code 8 done. Warning: File system check failed but did not detect errors [ 11.060387] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 11.068405] EXT4-fs (sda1): INFO: recovery required on readonly filesystem [ 11.075258] EXT4-fs (sda1): write access will be enabled during recovery [ 11.287388] random: fast init done [ 12.636456] EXT4-fs (sda1): recovery complete [ 12.659432] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.93 booting [info] Using makefile-style concurrent boot in runlevel S. [....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232 . ok [ ok ] Synthesizing the initial hotplug events...done. [ ok ] Waiting for /dev to be fully populated...done. [ ok ] Activating swap...done. [ 18.060510] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Checking root file system...fsck from util-linux 2.29.2 rootfs: Group descriptor 0 marked uninitialized without feature set. FIXED. [ 19.408084] random: crng init done | 12.0% [ 19.411481] random: 7 urandom warning(s) missed due to ratelimiting rootfs: 13953/524288 files (6.2% non-contiguous), 180952/2097152 blocks done. [ 25.860400] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [....] Checking file systems...fsck from util-linux 2.29.2 done. [ ok ] Cleaning up temporary files... /tmp. [ ok ] Loading kernel modules...done. [ ok ] Mounting local filesystems...done. [ ok ] Activating swapfile swap...done. [ ok ] Cleaning up temporary files.... [ ok ] Setting kernel variables...done. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ [ 29.834816] oxnas-dwmac 40400000.ethernet eth0: No phy led trigger registered for speed(-1) [ 29.843230] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 29.857336] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported [ 29.866063] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock [ 29.873113] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Listening on LPF/eth0/00:25:31:01:c6:76 Sending on LPF/eth0/00:25:31:01:c6:76 Sending on Socket/fallback DHCPREQUEST of 192.168.0.16 on eth0 to 255.255.255.255 port 67 [ 30.887165] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 30.895431] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready DHCPREQUEST of 192.168.0.16 on eth0 to 255.255.255.255 port 67 DHCPNAK from 192.168.20.253 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 DHCPREQUEST of 192.168.30.92 on eth0 to 255.255.255.255 port 67 DHCPOFFER of 192.168.30.92 from 192.168.20.253 DHCPACK of 192.168.30.92 from 192.168.20.253 bound to 192.168.30.92 -- renewal in 41210 seconds. done. [ ok ] Starting RPC port mapper daemon: rpcbind. [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Cleaning up temporary files.... INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1213 (syslogd) . ok [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1240 (klogd) . ok [ ok ] Starting system message bus: dbus. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting NFS common utilities: statd idmapd. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting NTP server: ntpd. [ ok ] Starting OpenBSD Secure Shell server: sshd. Debian GNU/Linux 10 debian ttyS0 debian login: root Password: Last login: Wed Dec 31 16:01:35 PST 1969 from 192.168.0.100 on pts/0 Linux debian 4.14.180-oxnas-tld-1 #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian:~# passwd New password: Retype new password: passwd: password updated successfully root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00e00000 00020000 "boot" mtd1: 07200000 00020000 "data" root@debian:~# uname -ar Linux debian 4.14.180-oxnas-tld-1 #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020 armv6l GNU/Linux root@debian:~# ls /dev/mt* /dev/mtd0 /dev/mtd0ro /dev/mtd1 /dev/mtd1ro /dev/mtdblock0 /dev/mtdblock1 root@debian:~# ls /dev/ubi* /dev/ubi_ctrl root@debian:~# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" root@debian:~#
root@debian:/boot# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Pogoplug V3 Classic [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat c0b30540, node_mem_map cf5f8000 [ 0.000000] Normal zone: 512 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65536 pages, LIFO batch:15 [ 0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0 [ 0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440 [ 0.000000] pcpu-alloc: s29548 r8192 d23700 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 242664K/262144K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 19480K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xd0800000 - 0xff800000 ( 752 MB) lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc0800000 (8160 kB) .init : 0xc0a00000 - 0xc0b00000 (1024 kB) .data : 0xc0b00000 - 0xc0b31f68 ( 200 kB) .bss : 0xc0b383b8 - 0xc0b757c0 ( 246 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] FPGA IRQ chip 0 "interrupt-controller" @ d0804000, 32 irqs, parent IRQ: 16 [ 0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns [ 0.000046] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns [ 0.000061] timer_oxnas_rps: Registered clocksource rate 390625Hz [ 0.000087] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500 [ 0.000235] GIC: PPI13 is secure or misconfigured [ 0.000289] GIC: PPI13 is secure or misconfigured [ 0.000458] Console: colour dummy device 80x30 [ 0.000499] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.050383] pid_max: default: 32768 minimum: 301 [ 0.050652] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.050675] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051558] CPU: Testing write buffer coherency: ok [ 0.090444] Setting up static identity map for 0x60100000 - 0x60100038 [ 0.110343] Hierarchical SRCU implementation. [ 0.150348] smp: Bringing up secondary CPUs ... [ 0.220454] GIC: PPI13 is secure or misconfigured [ 0.280629] smp: Brought up 1 node, 2 CPUs [ 0.280665] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.281402] devtmpfs: initialized [ 0.286481] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.286517] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.286850] prandom: seed boundary self test passed [ 0.291141] prandom: 100 self tests passed [ 0.291164] pinctrl core: initialized pinctrl subsystem [ 0.291860] NET: Registered protocol family 16 [ 0.293498] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.295802] cpuidle: using governor ladder [ 0.295882] cpuidle: using governor menu [ 0.313413] vgaarb: loaded [ 0.313914] SCSI subsystem initialized [ 0.314252] libata version 3.00 loaded. [ 0.314616] usbcore: registered new interface driver usbfs [ 0.314728] usbcore: registered new interface driver hub [ 0.314877] usbcore: registered new device driver usb [ 0.315061] pps_core: LinuxPPS API ver. 1 registered [ 0.315079] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.315112] PTP clock support registered [ 0.316162] clocksource: Switched to clocksource oxnas_rps_clocksource_timer [ 0.331978] NET: Registered protocol family 2 [ 0.332884] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.332938] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 0.332997] TCP: Hash tables configured (established 2048 bind 2048) [ 0.333158] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.333207] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.333473] NET: Registered protocol family 1 [ 0.334284] RPC: Registered named UNIX socket transport module. [ 0.334307] RPC: Registered udp transport module. [ 0.334323] RPC: Registered tcp transport module. [ 0.334336] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.334359] PCI: CLS 0 bytes, default 32 [ 0.334714] Unpacking initramfs... [ 1.041948] Freeing initrd memory: 6316K [ 1.043133] Initialise system trusted keyrings [ 1.043207] Key type blacklist registered [ 1.043530] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 1.051330] zbud: loaded [ 1.055700] NFS: Registering the id_resolver key type [ 1.055749] Key type id_resolver registered [ 1.055761] Key type id_legacy registered [ 1.055790] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.055800] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.056773] fuse init (API version 7.26) [ 1.057676] orangefs_debugfs_init: called with debug mask: :none: :0: [ 1.057935] orangefs_init: module version upstream loaded [ 3.051041] Key type asymmetric registered [ 3.051074] Asymmetric key parser 'x509' registered [ 3.051174] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 3.051192] io scheduler noop registered [ 3.051205] io scheduler deadline registered [ 3.051266] io scheduler cfq registered (default) [ 3.052853] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 3.054287] console [ttyS0] disabled [ 3.054430] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A [ 3.631285] console [ttyS0] enabled [ 3.645253] loop: module loaded [ 3.650342] scsi host0: sata_oxnas [ 3.654041] ata1: SATA max UDMA/133 irq 57 [ 3.658278] sata_oxnas: resetting SATA core [ 3.726504] nand: Could not find valid ONFI parameter page; aborting [ 3.732843] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda [ 3.739217] nand: Hynix NAND 256MiB 3,3V 8-bit [ 3.743646] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 3.751226] Scanning device for bad blocks [ 3.920783] 2 ofpart partitions found on MTD device 41000000.nand-controller [ 3.927831] Creating 2 MTD partitions on "41000000.nand-controller": [ 3.934159] 0x000000000000-0x000000e00000 : "boot" [ 3.940551] 0x000000e00000-0x000008000000 : "data" [ 3.948467] libphy: Fixed MDIO Bus: probed [ 3.952965] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 3.958837] oxnas-dwmac 40400000.ethernet: no reset control found [ 4.026265] stmmac - user ID: 0x12, Synopsys ID: 0x35 [ 4.031303] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 4.036992] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 4.044270] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 4.051059] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 4.057671] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 4.064949] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 4.070005] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 4.076876] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 4.083118] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 4.134120] libphy: stmmac: probed [ 4.137597] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 4.147082] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL) [ 4.157573] PPP generic driver version 2.4.2 [ 4.162073] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.168683] ehci-pci: EHCI PCI platform driver [ 4.176245] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 4.183290] ata1.00: ATA-8: APPLE HDD HTS547550A9E384, JE3AD70F, max UDMA/133 [ 4.190448] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 4.198072] ata1.00: configured for UDMA/133 [ 4.202872] scsi 0:0:0:0: Direct-Access ATA APPLE HDD HTS547 D70F PQ: 0 ANSI: 5 [ 4.212500] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 4.220564] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 4.225912] sd 0:0:0:0: [sda] Write Protect is off [ 4.230796] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 4.231019] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.376235] oxnas-ehci 40200100.ehci: EHCI Host Controller [ 4.381744] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1 [ 4.389601] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100 [ 4.416232] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00 [ 4.422538] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.429355] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.436577] usb usb1: Product: EHCI Host Controller [ 4.441433] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd [ 4.448048] usb usb1: SerialNumber: 40200100.ehci [ 4.453562] hub 1-0:1.0: USB hub found [ 4.457469] hub 1-0:1.0: 2 ports detected [ 4.462420] usbcore: registered new interface driver cdc_wdm [ 4.468275] usbcore: registered new interface driver usb-storage [ 4.474380] usbcore: registered new interface driver usbserial [ 4.480394] usbcore: registered new interface driver usbserial_generic [ 4.487011] usbserial: USB Serial support registered for generic [ 4.493317] mousedev: PS/2 mouse device common for all mice [ 4.499100] i2c /dev entries driver [ 4.503790] hidraw: raw HID events driver (C) Jiri Kosina [ 4.509414] usbcore: registered new interface driver usbhid [ 4.514964] usbhid: USB HID core driver [ 4.519055] sda: sda1 [ 4.523445] sd 0:0:0:0: [sda] Attached SCSI disk [ 4.529551] NET: Registered protocol family 10 [ 4.535367] Segment Routing with IPv6 [ 4.539156] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.546808] NET: Registered protocol family 17 [ 4.551352] Key type dns_resolver registered [ 4.557004] registered taskstats version 1 [ 4.561085] Loading compiled-in X.509 certificates [ 4.565946] zswap: loaded using pool lzo/zbud [ 4.646592] Key type big_key registered [ 4.687124] Key type encrypted registered [ 4.693332] hctosys: unable to open rtc device (rtc0) [ 4.700369] Freeing unused kernel memory: 1024K [ 4.931143] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 4.939781] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 4.947379] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 11.060387] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 11.068405] EXT4-fs (sda1): INFO: recovery required on readonly filesystem [ 11.075258] EXT4-fs (sda1): write access will be enabled during recovery [ 11.287388] random: fast init done [ 12.636456] EXT4-fs (sda1): recovery complete [ 12.659432] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 18.060510] EXT4-fs (sda1): re-mounted. Opts: (null) [ 19.408084] random: crng init done [ 19.411481] random: 7 urandom warning(s) missed due to ratelimiting [ 25.860400] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ 29.834816] oxnas-dwmac 40400000.ethernet eth0: No phy led trigger registered for speed(-1) [ 29.843230] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 29.857336] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported [ 29.866063] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock [ 29.873113] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 30.887165] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 30.895431] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@debian:/boot# cat config-4.14.180-oxnas-tld-1 |grep -i CONFIG_MTDPARTS_DEFAULT root@debian:/boot# grep -i CONFIG_MTDPARTS_DEFAULT config-4.14.180-oxnas-tld-1 root@debian:/boot# grep -i CONFIG_MTDPARTS_DEFAULT config-5.4.224-oxnas-tld-1 root@debian:/boot# grep -i CONFIG_CMD_MTD config-5.4.224-oxnas-tld-1 root@debian:/boot# grep -i CONFIG_CMD_MTD config-4.14.180-oxnas-tld-1 root@debian:/boot# grep -i CMD config-4.14.180-oxnas-tld-1 # CONFIG_BLK_CMDLINE_PARSER is not set CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y # CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is not set # CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_MANGLE is not set CONFIG_CMDLINE="" CONFIG_MTD_CMDLINE_PARTS=y # CONFIG_PATA_CMD64X is not set # CONFIG_PATA_CMD640_PCI is not set root@debian:/boot#
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 16, 2023 06:55PM |
Admin Registered: 13 years ago Posts: 19,011 |
bootargs=root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M mtdparts=mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs)
bootargs=root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs)
[ 0.000000] Kernel command line: root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs)
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 17, 2023 01:45AM |
Registered: 11 months ago Posts: 82 |
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 17, 2023 04:01AM |
Registered: 11 months ago Posts: 82 |
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin ** U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS DRAM: 256 MiB IDE: Bus 0: OK Device 0: Model: APPLE HDD HTS547550A9E384 Firm: JE3AD70F Ser#: J2600055GJDE2E Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) NAND: 256 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 OX820 # printenv dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 mem=256M bootcmd=run dt_bootcmd_ide bootdelay=3 console=console=ttyS0,115200n8 dt_bootcmd_ide=ide start; run dt_ide_bootcmd; ide stop; reset dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm dt_ide_bootcmd=run ide_set_bootargs; run dt_sata_boot dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage; bootm $uimage_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:C6:76 ide_set_bootargs=setenv bootargs root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200n8 mem=256M mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) if_netconsole=ping $serverip ipaddr=192.168.20.249 mem=256M mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) normalboot=run ide_set_bootargs;run dt_ide_load_uimage; run dt_ide_load_initrd;run dt_ide_load_dtb;run dt_bootm openwrt_initramfs_boot=tftpboot $uinitrd_addr /openwrt/openwrt-23.05.2-oxnas-ox820-akitio_mycloud-initramfs-uImage preboot_nc=run if_netconsole start_netconsole rootfs=root=LABEL=rootfs rootfstype=ext3 sata_bootcmd=run usb_set_bootargs; run sata_boot serverip=192.168.20.252 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 2269/16380 bytes OX820 # setenv bootargs $console earlyprint mem=256M elevator=cfq $mtdparts OX820 # printenv dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 earlyprint mem=256M elevator=cfq mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) bootcmd=run dt_bootcmd_ide bootdelay=3 console=console=ttyS0,115200n8 dt_bootcmd_ide=ide start; run dt_ide_bootcmd; ide stop; reset dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_ide_boot=run dt_ide_load_uimage; run dt_ide_load_initrd; run dt_ide_load_dtb; run dt_bootm dt_ide_bootcmd=run ide_set_bootargs; run dt_sata_boot dt_ide_load_dtb=ext2load ide 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb dt_ide_load_initrd=ext2load ide 0:1 $uinitrd_addr /boot/uInitrd dt_ide_load_uimage=ext2load ide 0:1 $uimage_addr /boot/uImage dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_sata_boot=ext2load ide 0:1 $uimage_addr /boot/uImage; bootm $uimage_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 ethact=mii0 ethaddr=00:25:31:01:C6:76 ide_set_bootargs=setenv bootargs root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200n8 mem=256M mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) if_netconsole=ping $serverip ipaddr=192.168.20.249 mem=256M mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) normalboot=run ide_set_bootargs;run dt_ide_load_uimage; run dt_ide_load_initrd;run dt_ide_load_dtb;run dt_bootm openwrt_initramfs_boot=tftpboot $uinitrd_addr /openwrt/openwrt-23.05.2-oxnas-ox820-akitio_mycloud-initramfs-uImage preboot_nc=run if_netconsole start_netconsole rootfs=root=LABEL=rootfs rootfstype=ext3 sata_bootcmd=run usb_set_bootargs; run sata_boot serverip=192.168.20.252 start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version stderr=serial stdin=serial stdout=serial uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 Environment size: 2346/16380 bytes OX820 # run openwrt_initramfs_boot;bootm $uinitrd_addr Waiting for PHY auto negotiation to complete... done ENET Speed is 1000 Mbps - FULL duplex connection Using mii0 device TFTP from server 192.168.20.252; our IP address is 192.168.20.249 Filename '/openwrt/openwrt-23.05.2-oxnas-ox820-akitio_mycloud-initramfs-uImage'. Load address: 0x60e00000 Loading: T ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################################# 1.2 MiB/s done Bytes transferred = 7561929 (7362c9 hex) ## Booting kernel from Legacy Image at 60e00000 ... Image Name: ARM OpenWrt Linux-5.15.137 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 7561865 Bytes = 7.2 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK Loading Kernel Image ... OK Led: GREEN Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.15.137 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.3.0 r23630-842932a63d) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Tue Nov 14 13:38:11 2023 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Akitio MyCloud [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 64 MiB at 0x64000000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000060000000-0x0000000067ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000060000000-0x0000000067ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000060000000-0x0000000067ffffff] [ 0.000000] percpu: Embedded 11 pages/cpu s16236 r8192 d20628 u45056 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: earlyprintk console=ttyS0,115200 [ 0.000000] Bootloader command line (ignored): console=ttyS0,115200n8 earlyprint mem=256M elevator=cfq mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) [ 0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 44736K/131072K available (7168K kernel code, 590K rwdata, 892K rodata, 9216K init, 228K bss, 20800K reserved, 65536K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 24 [ 0.000002] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns [ 0.000043] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns [ 0.000066] timer_oxnas_rps: Registered clocksource rate 390625Hz [ 0.000089] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500 [ 0.000230] GIC: PPI13 is secure or misconfigured [ 0.000284] GIC: PPI13 is secure or misconfigured [ 0.000465] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.050370] CPU: Testing write buffer coherency: ok [ 0.050424] pid_max: default: 32768 minimum: 301 [ 0.051658] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.051696] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.056279] Setting up static identity map for 0x60100000 - 0x6010005c [ 0.056578] rcu: Hierarchical SRCU implementation. [ 0.057464] smp: Bringing up secondary CPUs ... [ 0.058593] GIC: PPI13 is secure or misconfigured [ 0.110579] smp: Brought up 1 node, 2 CPUs [ 0.110627] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.116436] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.116490] futex hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.122452] pinctrl core: initialized pinctrl subsystem [ 0.124106] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.128143] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.131120] thermal_sys: Registered thermal governor 'step_wise' [ 0.131292] cpuidle: using governor menu [ 0.131371] No ATAGs? [ 0.159011] pps_core: LinuxPPS API ver. 1 registered [ 0.159037] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.159106] PTP clock support registered [ 0.160849] clocksource: Switched to clocksource oxnas_rps_clocksource_timer [ 0.162974] NET: Registered PF_INET protocol family [ 0.163256] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.164277] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.164341] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.164377] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.164413] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.164454] TCP: Hash tables configured (established 1024 bind 1024) [ 0.164631] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.164695] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.165173] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.165253] PCI: CLS 0 bytes, default 32 [ 0.167055] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.182545] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.184294] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.195750] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.201164] printk: console [ttyS0] disabled [ 0.201372] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 63, base_baud = 390625) is a 16550A [ 0.700400] printk: console [ttyS0] enabled [ 0.723645] brd: module loaded [ 0.738106] loop: module loaded [ 0.811200] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it [ 0.819927] ONFI parameter recovery failed, aborting [ 0.824931] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda [ 0.831288] nand: Hynix NAND 256MiB 3,3V 8-bit [ 0.835714] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.843304] Scanning device for bad blocks [ 1.014773] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller [ 1.022699] Creating 2 MTD partitions on "41000000.nand-controller": [ 1.029035] 0x000000000000-0x0000026c0000 : "boot" [ 1.034913] 0x0000026c0000-0x000010000000 : "ubi" [ 1.046205] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found [ 1.052408] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 1.121346] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35 [ 1.128355] oxnas-dwmac 40400000.ethernet: DWMAC1000 [ 1.133447] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 1.140730] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 1.148047] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 1.153111] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 1.159959] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 1.166320] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 1.173122] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 1.179709] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 1.185387] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 1.193241] oxnas-dwmac 40400000.ethernet: device MAC address 4e:ff:de:79:82:9d [ 1.212385] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 1.222612] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver (mii_bus:phy_addr=stmmac-0:03, irq=POLL) [ 1.236590] ledtrig-cpu: registered to indicate activity on CP6s [ 1.242885] hid: raw HID events driver (C) Jiri Kosina [ 1.249871] NET: Registered [ 1.249871] PF_INET protocol family [ 1.258732] Segment Routing with IPv6 [ 1.262597] In-situ OAM (IOAM) with IP 6 [ 1.266624] NET: Registered [ 1.266624] PF_PACKโT protocol family [ 1.273175] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need thi . [ 1.286494] 8021q: 802.1Q VLAN Support v1.8 -------------------- U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34) Boot device: SATA Attempting to set PLLA to 850 MHz ... plla_ctrl0 : 0000020a plla_ctrl1 : 00330000 plla_ctrl2 : 0065008b plla_ctrl3 : 000000f1 PLLA Set Bus 0: OK Device 0: ** File not found /boot/bootargs.bin ** U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS DRAM: 256 MiB IDE: Bus 0: OK Device 0: Model: APPLE HDD HTS547550A9E384 Firm: JE3AD70F Ser#: J2600055GJDE2E Type: Hard Disk Supports 48-bit addressing Capacity: 476940.0 MB = 465.7 GB (976773168 x 512) NAND: 256 MiB In: serial Out: serial Err: serial Net: Led: GREEN mii0 Main Loop Hit any key to stop autoboot: 0 OX820 # setenv bootargs $console earlyprint mem=256M elevator=cfq $mtdparts OX820 # tftpboot $uimage_addr /openwrt/openwrt-23.05.2-oxnas-ox820-akitio_mycloud-uImage Waiting for PHY auto negotiation to complete... done ENET Speed is 1000 Mbps - FULL duplex connection Using mii0 device TFTP from server 192.168.20.252; our IP address is 192.168.20.249 Filename '/openwrt/openwrt-23.05.2-oxnas-ox820-akitio_mycloud-uImage'. Load address: 0x60500000 Loading: T ################################################################# ################################################################# ################################################################# ################################################################# ################## 703.1 KiB/s done Bytes transferred = 4078097 (3e3a11 hex) OX820 # bootm $uimage_addr ## Booting kernel from Legacy Image at 60500000 ... Image Name: ARM OpenWrt Linux-5.15.137 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4078033 Bytes = 3.9 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK Loading Kernel Image ... OK Led: GREEN Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.15.137 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.3.0 r23630-842932a63d) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Tue Nov 14 13:38:11 2023 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Akitio MyCloud [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 64 MiB at 0x64000000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000060000000-0x0000000067ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000060000000-0x0000000067ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000060000000-0x0000000067ffffff] [ 0.000000] percpu: Embedded 11 pages/cpu s16236 r8192 d20628 u45056 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: earlyprintk console=ttyS0,115200 [ 0.000000] Bootloader command line (ignored): console=ttyS0,115200n8 earlyprint mem=256M elevator=cfq mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) [ 0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 52932K/131072K available (7168K kernel code, 590K rwdata, 896K rodata, 1024K init, 228K bss, 12604K reserved, 65536K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] FPGA IRQ chip 0 "interrupt-controller" @ (ptrval), 32 irqs, parent IRQ: 24 [ 0.000002] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns [ 0.000040] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns [ 0.000064] timer_oxnas_rps: Registered clocksource rate 390625Hz [ 0.000087] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500 [ 0.000227] GIC: PPI13 is secure or misconfigured [ 0.000281] GIC: PPI13 is secure or misconfigured [ 0.000458] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.050362] CPU: Testing write buffer coherency: ok [ 0.050424] pid_max: default: 32768 minimum: 301 [ 0.051461] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.051502] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.056084] Setting up static identity map for 0x60100000 - 0x6010005c [ 0.056384] rcu: Hierarchical SRCU implementation. [ 0.057269] smp: Bringing up secondary CPUs ... [ 0.058398] GIC: PPI13 is secure or misconfigured [ 0.110571] smp: Brought up 1 node, 2 CPUs [ 0.110617] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.116600] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.116651] futex hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.122598] pinctrl core: initialized pinctrl subsystem [ 0.124234] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.128458] DMA: preallocated 2โ6 KiB pool for atomic coherent allocations [ 0.131358] thermal_sys: Registered thermal governor 'step_wise' [ 0.131527] cpuidle: using governor [ 0.131527] menu [ 0.131607] No ATAGs? [ 0.159585] pps_core: LinuxPPS API ver. 1 registered [ 0.159613] pps_core: Software ver.โ5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.159662] PTP clock support registered [ 0.161495] clocksource: Switched to clocksourc [ 0.161495] oxnas_rps_clocksource_timer [ 0.163581] NET: Registered PF_INET protocol family , 16384 bytes, linear)ts hash table entries: 2048 (order: [ 0.164940] bytes,164940] tcp_listen_portaddr_hasโ hash table entries: 51โ (order 0, 614 [ 0.164940] linear) linear)65007] โTable-perturb hash table entries: 65536 (order:โ6, 2621โ4 bytes [ 0.165048] [ 0.165048] TCP established hash table entries: 102โ (order 0, 4096 bytes,โlinear) 4 (order: 1, 8192 bytesโ linear) [ 0.165125] TCP: Hash tables configured (establishe 1024 bind 1024) [ 0.165299] r) 0.165299] UDP hash table entries:_256 (order: 1, 8192 bytes, line [ 0.165368] UDP-Lite hash table entries5 256 (order: 1,8192 bytes, linear) [ 0.165859] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.165939] PCI: CLS 0 bytes, default 3โ [ 0.167659] workingset: timestamp_bits=14 max_order_15 bucket_orderโ1 [ 0.178926] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.180454] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.184645] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.189009] printk: console [ttyS0] disabled [ 0.189168] 44200000.seriโl: ttyS0 at MMIO 0x44200000 (irq = 63, base_baud = 390625) is a 16550A [ 0.697041] printk: console [ttyS0] enabled [ 0.720012] brd: module loaded [ 0.734694] loop: module loaded [ 0.801863] Could not find a valid ONFI parameter page, trying bit-wise majority to recover it [ 0.810590] ONFI parameter recovery failed, aborting [ 0.815592] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda [ 0.821952] nand: Hynix NAND 256MiB 3,3V 8-bit [ 0.826378] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.833966] Scanning device for bad blocks [ 1.004111] 2 fixed-partitions partitions found on MTD device 41000000.nand-controller [ 1.012032] Creating 2 MTD partitions on "41000000.nand-controller": [ 1.018362] 0x000000000000-0x0000026c0000 : "boot" [ 1.024230] 0x0000026c0000-0x000010000000 : "ubi" [ 1.035448] oxnas-dwmac 40400000.ethernet: IRQ eth_lpi not found [ 1.041651] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 1.111976] oxnas-dwmac 40400000.ethernet: User ID: 0x12, Synopsys ID: 0x35 [ 1.118950] oxnas-dwmac 40400000.ethernet: DWMAC1000 [ 1.124037] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 1.131320] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 1.138629] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 1.143690] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 1.150538] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 1.156910] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 1.163701] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 1.170291] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 1.175966] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 1.183820] oxnas-dwmac 40400000.ethernet: device MAC address 1e:9c:4d:66:43:eb [ 1.202823] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 1.213027] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver (mii_bus:phy_addr=stmmac-0:03, irq=POLL) [ 1.227182] ledtrig-cpu: registered to indicate activity on CPUs [ 1.233354] hid: raw HID events driver (C) Jiri Kosina [ 1.240064] NET: Registered PF_INET6 protocol family [ 1.248038] Segment Routing with IPv6 [ 1.251878] In-situ OAM (IOAM) with IPv6 [ 1.255902] NET: Registered PF_PACKET protocol family [ 1.261071] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.274360] 8021q: 802.1Q VLAN Support v1.8
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 17, 2023 02:10PM |
Admin Registered: 13 years ago Posts: 19,011 |
ide_set_bootargs=setenv bootargs root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M $mtdparts
setenv ide_set_bootargs 'setenv bootargs root=LABEL=rootfs rootfstype=ext3 console=ttyS0,115200 mem=256M mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs)
[ 0.000000] Kernel command line: earlyprintk console=ttyS0,115200 [ 0.000000] Bootloader command line (ignored): console=ttyS0,115200n8 earlyprint mem=256M elevator=cfq mtdparts=41000000.nand:0x26c0000@0x0(boot),-(rootfs) [ 0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
Quote
why openwrt can't seprate uimage/uinitrd/fdt ?
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 17, 2023 03:04PM |
Registered: 11 months ago Posts: 82 |
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
4456448 0x440000 uImage header, header size: 64 bytes, header CRC: 0xD7CC9F27, created: 2011-01-14 05:58:26, image size: 3056816 bytes, Data Address: 0x60008000, Entry Point: 0x60008000, data CRC: 0x71C6CE7, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: "Linux-2.6.31.6-fast-20110114"
4458496 0x440800 uImage header, header size: 64 bytes, header CRC: 0xD7CC9F27, created: 2011-01-14 05:58:26, image size: 3056816 bytes, Data Address: 0x60008000, Entry Point: 0x60008000, data CRC: 0x71C6CE7, OS: Linux, CPU: ARM, image type: OS Kernel Image, compression type: none, image name: "Linux-2.6.31.6-fast-20110114"
4482508 0x4465CC gzip compressed data, maximum compression, from Unix, last modified: 2011-01-14 05:58:24
4484556 0x446DCC gzip compressed data, maximum compression, from Unix, last modified: 2011-01-14 05:58:24
40632320 0x26C0000 UBI erase count header, version: 1, EC: 0x85, VID header offset: 0x200, data offset: 0x800
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 18, 2023 09:23AM |
Registered: 11 months ago Posts: 82 |
#!/bin/sh
# uncomment line below and set to the correct disk
disk=/dev/sdX(whatever for your hdd)
#pay attention to fit yourself.this is my situation
if [ -z "${disk}" ] ; then
echo "You must uncomment/set the 'disk' variable"
exit -1
fi
workarea=.
stage1File=$workarea/boot/u-boot-spl.bin
perl <<EOF | dd of="$disk" bs=512
print "\x00" x 0x1a4;
print "\x00\x5f\x01\x00";
print "\x00\xdf\x00\x00";
print "\x00\x80\x00\x00";
print "\x00" x (0x1b0 -0x1a4 -12 );
print "\x22\x80\x00\x00";
print "\x22\x00\x00\x00";
print "\x00\x80\x00\x00";
EOF
if [ -f $stage1File ];then
echo "Writing stage 1"
dd if=$stage1File of="$disk" bs=512 seek=34
fi
dd if=vmlinuz.uim of=/dev/sdX1 bs=512
dd if=vmlinuz.uim of=/dev/sdX1 bs=512 seek=1290 dd if=initrd.uim of=/dev/sdX1 bs=512 seek=16674
Stage-1 Bootloader Mon Nov 14 22:36:34 EST 2011 Attempting to set PLLA to 850MHz ... plla_ctrl0 : 0x0000020A plla_ctrl1 : 0x00330000 plla_ctrl2 : 0x0065008B plla_ctrl3 : 0x000000F1 PLLA Set Setup memory, testing Reading disk 0, Image 0 Sector : 0x0000009A Hdr len: 0x0001FB34 Hdr CRC: 0x2229BDCD OK Initialising disks SATA PHY not ready for device 1 Detecting SATA busses: Bus 0: Found first device OK Device 0: Model: TOSHIBA MQ01ABD100 Firm: AX0A1U Ser#: 531FC1COT Type: Hard Disk Capacity: 131071.9 MB = 127.9 GB (268435455 x 512) Device 1: not available Environment successfully read from disk 0 primary image U-Boot 1.1.2 (Dec 31 2011 - 15:24:45) U-Boot code: 60E00000 -> 60E1FB34 BSS: -> 60E5435C RAM Configuration: Bank #0: 60000000 128 MB SRAM Configuration: 64KB at 0x50000000 NAND:256 MiB In: serial Out: serial Err: serial Setting Linux mem= boot arg value IDE read: device 0 block # 288, count 1 ... 1 blocks read: OK Hit any key to stop autoboot: 0 $ printenv bootcmd=run dload1 boot || run dload2 boot || lightled bootdelay=2 baudrate=115200 ethaddr=00:30:e0:00:00:01 autoload=n netmask=255.255.0.0 bootfile="uImage" lightled=ledfail 1 extinguishled=ledfail 0 boot=bootm 60500000 dload1=diskboot 60500000 0:1 dload2=diskboot 60500000 0:2 root_dev1=/dev/sda2 root_dev2=/dev/sda1 root_dev=/dev/sda2 ipaddr=192.168.20.249 serverip=192.168.20.252 bootarg=root=/dev/sda2 console=ttyS0,115200 elevator=cfq rootwait earlyprintk poweroutage=yes mem=128M mem=256M mtdids=nand0=orion_nand partition=nand0,2 mtdparts=mtdparts=orion_nand:38M(boot),-(rootfs) root=root=/dev/sda2 stdin=serial stdout=serial stderr=serial bootargs=root=/dev/sda2 console=ttyS0,115200 elevator=cfq rootwait earlyprintk mtdparts=orion_nand:38M(boot),-(rootfs) mem=128M poweroutage=yes Environment size: 792/8188 bytes
$ run dload1 Loading from IDE device 0, partition 1: Name: hda1 Type: U-Boot Image Name: 2.6.31.14-hmnhdce+v5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2551572 Bytes = 2.4 MB Load Address: 60008000 Entry Point: 60008000 $ iminfo ## Checking Image at 60500000 ... Image Name: 2.6.31.14-hmnhdce+v5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2551572 Bytes = 2.4 MB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK $ boot Unknown command 'boot' - try 'help' $ run boot ## Booting image at 60500000 ... Image Name: 2.6.31.14-hmnhdce+v5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2551572 Bytes = 2.4 MB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK OK
Re: [How-To] Boot Entirely from SATA Postby WarheadsSE ยป Mon Feb 27, 2012 3:09 am 256MB memory device users: http://ppl.ug/3QrAMaurJE8/ I have a uboot for you. I apologize that I kept forgetting to make this for you!
Re: Help! Akitio mycloudmini using stock kernel but missing system setting files December 18, 2023 09:25AM |
Registered: 11 months ago Posts: 82 |
Starting kernel ... Uncompressing Linux........................................................................................................................................................ done, booting the kernel. [ 0.000000] Linux version 2.6.31.14-hmnhdce+v5 (root@abraham) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #5 SMP Tue Aug 21 22:34:14 CEST 2012 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: Oxsemi NAS [ 0.000000] 1 memory region [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: root=/dev/sda2 console=ttyS0,115200 elevator=cfq rootwait earlyprintk mtdparts=orion_nand:38M(boot),-(rootfs) mem=128M poweroutage=yes [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 128MB = 128MB total [ 0.000000] Memory: 124756KB available (4360K code, 332K data, 128K init, 0K highmem) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:96 [ 0.000000] OX820_RPS_init_irq: interrupts 64 to 96 [ 0.000000] ox820_clocksource_init() Timer 2 running at 390625 Hz [ 0.010000] Console: colour dummy device 80x30 [ 0.010000] console [ttyS0] enabled [ 0.020000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.230000] Security Framework initialized [ 0.230000] Mount-cache hash table entries: 512 [ 0.240000] CPU: Testing write buffer coherency: ok [ 0.240000] Calibrating local timer... 424.49MHz. [ 0.310000] CPU1: Booted secondary processor [ 0.410000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.620000] Brought up 2 CPUs [ 0.630000] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.640000] NET: Registered protocol family 16 [ 0.640000] Number of DMA channels = 4, version = 4 [ 0.650000] Reserving a DMA channel for ODRB [ 0.650000] Allocating 475 SRAM generic DMA descriptors [ 0.660000] bio: create slab <bio-0> at 0 [ 0.660000] SCSI subsystem initialized [ 0.670000] usbcore: registered new interface driver usbfs [ 0.670000] usbcore: registered new interface driver hub [ 0.680000] usbcore: registered new device driver usb [ 0.710000] NET: Registered protocol family 2 [ 0.710000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.720000] Switched to NOHz mode on CPU #0 [ 0.720000] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.720000] Switched to NOHz mode on CPU #1 [ 0.730000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.740000] TCP: Hash tables configured (established 4096 bind 4096) [ 0.740000] TCP reno registered [ 0.750000] NET: Registered protocol family 1 [ 0.750000] Create fragment cache [ 0.760000] VFS: Disk quotas dquot_6.5.2 [ 0.760000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.770000] fuse init (API version 7.12) [ 0.770000] JFS: nTxBlock = 975, nTxLock = 7807 [ 0.780000] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 0.790000] SGI XFS Quota Management subsystem [ 0.790000] msgmni has been set to 243 [ 0.800000] alg: No test for stdrng (krng) [ 0.800000] io scheduler noop registered [ 0.810000] io scheduler anticipatory registered [ 0.810000] io scheduler deadline registered [ 0.820000] io scheduler cfq registered (default) [ 0.830000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.830000] serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A [ 0.840000] brd: module loaded [ 0.850000] loop: module loaded [ 0.850000] ox820sata: OX820 sata core. [ 0.850000] scsi0 : oxnassata [ 0.860000] scsi1 : oxnassata [ 0.860000] ata1: SATA max UDMA/133 irq 50 [ 0.870000] ata2: SATA max UDMA/133 irq 50 [ 0.870000] ox820sata: reseting SATA core [ 1.390000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.450000] ata1.00: ATA-8: TOSHIBA MQ01ABD100, AX0A1U, max UDMA/100 [ 1.450000] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32) [ 1.460000] ata1.00: configured for UDMA/100 [ 1.460000] ox820sata: reseting SATA core [ 2.180000] ata2: SATA link down (SStatus 0 SControl 300) [ 2.180000] scsi 0:0:0:0: Direct-Access ATA TOSHIBA MQ01ABD1 AX0A PQ: 0 ANSI: 5 [ 2.190000] tun: Universal TUN/TAP device driver, 1.6 [ 2.190000] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) [ 2.190000] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 2.190000] sd 0:0:0:0: [sda] Write Protect is off [ 2.190000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.220000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 2.230000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.230000] Start USB clocks [ 2.240000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller [ 2.240000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1 [ 2.250000] sda: [ 2.280000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000 [ 2.300000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00 [ 2.300000] usb usb1: configuration #1 chosen from 1 choice [ 2.310000] hub 1-0:1.0: USB hub found [ 2.310000] hub 1-0:1.0: 2 ports detected [ 2.320000] Initializing USB Mass Storage driver... [ 2.320000] usbcore: registered new interface driver usb-storage [ 2.330000] USB Mass Storage support registered. [ 2.330000] usbcore: registered new interface driver ums-alauda [ 2.340000] usbcore: registered new interface driver ums-datafab [ 2.340000] usbcore: registered new interface driver ums-freecom [ 2.350000] usbcore: registered new interface driver ums-isd200 [ 2.350000] usbcore: registered new interface driver ums-jumpshot [ 2.360000] usbcore: registered new interface driver ums-sddr09 [ 2.370000] usbcore: registered new interface driver ums-sddr55 [ 2.370000] usbcore: registered new interface driver ums-usbat [ 2.380000] mice: PS/2 mouse device common for all mice [ 2.380000] md: linear personality registered for level -1 [ 2.390000] md: raid0 personality registered for level 0 [ 2.390000] md: raid1 personality registered for level 1 [ 2.400000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com [ 2.410000] input: Mapower Buttons as /devices/virtual/input/input0 [ 2.420000] TCP cubic registered [ 2.420000] NET: Registered protocol family 17 [ 2.570000] sda1 sda2 sda3 [ 2.570000] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.570000] md: Waiting for all devices to be available before autodetect [ 2.580000] md: If you don't use raid, use raid=noautodetect [ 2.590000] md: Autodetecting RAID arrays. [ 2.590000] md: Scanned 0 and added 0 devices. [ 2.600000] md: autorun ... [ 2.600000] md: ... autorun DONE. [ 2.640000] kjournald starting. Commit interval 5 seconds [ 2.650000] EXT3 FS on sda2, internal journal [ 2.650000] EXT3-fs: mounted filesystem with writeback data mode. [ 2.650000] VFS: Mounted root (ext3 filesystem) on device 8:2. [ 2.650000] Freeing init memory: 128K INIT: version 2.88 booting Using makefile-style concurrent boot in runlevel S. .udev/ already exists on the static /dev! ... (warning). Starting the hotplug events dispatcher: udevd. Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...done. Setting parameters of disc: (none). Setting preliminary keymap...done. Activating swap...done. Checking root file system...fsck from util-linux-ng 2.17.2 omv: clean, 35464/61014016 files, 4318390/244056064 blocks done. [ 8.320000] EXT3 FS on sda2, internal journal Cleaning up ifupdown.... Assembling MD arrays...done (no arrays found in config file or automatically). Setting up LVM Volume Groups Reading all physical volumes. This may take a while... No volume groups found No volume groups found No volume groups found . Loading kernel modules...[ 9.510000] mp_therm: initializing - NAS7820 done. Activating lvm and md swap...done. Checking file systems...fsck from util-linux-ng 2.17.2 done. Mounting local filesystems...done. Activating swapfile swap...done. Cleaning up temporary files.... Cleaning up...done. Setting kernel variables ...error: "net.ipv6.conf.default.use_tempaddr" is an unknown key error: "net.ipv6.conf.all.disable_ipv6" is an unknown key error: "net.ipv6.conf.default.disable_ipv6" is an unknown key error: "net.ipv6.conf.lo.disable_ipv6" is an unknown key failed. Setting up resolvconf...done. Setting up networking.... Configuring network interfaces...[ 12.030000] Probing for Synopsis GMAC, unit 0 [ 12.030000] eth0: Tuning GMAC 0 RGMII timings [ 12.040000] eth0: PHY is Realtek RTL8211D, type 0x001cc914 [ 12.040000] eth0: GMAC ver = 53, vendor ver = 18 at 0xe1400000, IRQ 40 [ 12.050000] eth0: Found PHY at address 3, type 0x001cc914 -> 10/100/1000 [ 12.060000] eth0: Ethernet addr: 00:30:e0:00:00:00 [ 12.060000] probe() eth0: Leon x2 clock [ 12.080000] CoPro offload is active on eth0 [ 12.080000] Alloc'ing ARM descs 8192 bytes [ 12.080000] Alloc'ing CoPro parameters 40 bytes [ 12.090000] gmac gmac.0: firmware: requesting gmac_copro_firmware [ 12.190000] CoPro: Programming start address as 0xd000dd00 [ 12.290000] Heartbeats started [ 12.300000] eth0: Resetting GMAC [ 12.300000] eth0: GMAC reset complete [ 12.300000] hw_set_mac_address() Storing port0 mac_adr in global array [ 12.310000] eth0: Setting Rx flow control thresholds for LAN port [ 12.320000] CoPro available SRAM end 0x1000dc64 [ 12.320000] Copro offload started [ 15.380000] Freeing CoPro parameters 40 bytes [ 15.380000] Freeing ARM descs 8192 bytes Internet Systems Consortium DHCP Client 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ [ 15.780000] CoPro offload is active on eth0 [ 15.780000] Alloc'ing ARM descs 8192 bytes [ 15.790000] Alloc'ing CoPro parameters 40 bytes [ 15.790000] gmac gmac.0: firmware: requesting gmac_copro_firmware [ 15.820000] CoPro: Programming start address as 0xd000dd00 [ 15.920000] Heartbeats started [ 15.920000] eth0: Resetting GMAC [ 15.930000] eth0: GMAC reset complete [ 15.930000] hw_set_mac_address() Storing port0 mac_adr in global array [ 15.940000] eth0: Setting Rx flow control thresholds for LAN port [ 15.950000] CoPro available SRAM end 0x1000dc64 [ 15.950000] Copro offload started [ 16.450000] eth0: link up, 1000Mbps, full-duplex, not using pause, lpa 0xC1E1 Listening on LPF/eth0/00:30:e0:00:00:00 Sending on LPF/eth0/00:30:e0:00:00:00 Sending on Socket/fallback DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 192.168.20.253 Reloading /etc/samba/smb.conf: smbd onlyNo process in pidfile '/var/run/samba/smbd.pid' found running; none killed. . bound to 192.168.30.11 -- renewal in 40691 seconds. done. Starting portmap daemon.... Starting NFS common utilities: statd. Cleaning up temporary files.... Setting console screen modes. cannot (un)set powersave mode Skipping font and keymap setup (handled by console-setup). Setting up console font and keymap...done. INIT: Entering runlevel: 2 Using makefile-style concurrent boot in runlevel 2. Starting portmap daemon...Already running.. Starting NFS common utilities: statd. FATAL: Module softdog not found. Starting watchdog keepalive daemon: wd_keepalive. Starting daemon monitor: monit. Starting enhanced syslogd: rsyslogd. Starting anac(h)ronistic cron: anacron. Starting ACPI services...RTNETLINK1 answers: No such file or directory acpid: error talking to the kernel via netlink . Starting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName . Starting MD monitoring service: mdadm --monitormdadm: No mail address or alert command - not monitoring. failed! Starting deferred execution scheduler: atd. Loading cpufreq kernel modules...done (none). CPUFreq Utilities: Setting conservative CPUFreq governor...disabled, governor not available...done. Starting system message bus: dbus. Starting periodic command scheduler: cron. Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. Starting statistics collection and monitoring daemon: collectd. Start Normal Power LED FATAL: Module softdog not found. Stopping watchdog keepalive daemon.... Starting watchdog daemon.... OpenMediaVault 0.3.0.20 (Omnius) hmnhdce-omv ttyS0 Copyright (C) 2009-2012 by Volker Theile. All rights reserved. To manage the system visit the OpenMediaVault web administration interface via a web browser on: eth0: 192.168.30.11 For more information regarding this appliance, please visit the web site: http://www.openmediavault.org hmnhdce-omv login: OpenMediaVault 0.3.0.20 (Omnius) hmnhdce-omv ttyS0 Copyright (C) 2009-2012 by Volker Theile. All rights reserved. To manage the system visit the OpenMediaVault web administration interface via a web browser on: eth0: 192.168.30.11 For more information regarding this appliance, please visit the web site: http://www.openmediavault.org hmnhdce-omv login: root Password: Linux hmnhdce-omv 2.6.31.14-hmnhdce+v5 #5 SMP Tue Aug 21 22:34:14 CEST 2012 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@hmnhdce-omv:~# passwd Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully root@hmnhdce-omv:~# history 1 passwd 2 history root@hmnhdce-omv:~# cat /proc/m mdstat meminfo misc modules mounts root@hmnhdce-omv:~# cat /proc/m mdstat meminfo misc modules mounts root@hmnhdce-omv:~# cat /proc/meminfo MemTotal: 125044 kB MemFree: 46332 kB Buffers: 2936 kB Cached: 31932 kB SwapCached: 0 kB Active: 21816 kB Inactive: 20576 kB Active(anon): 10528 kB Inactive(anon): 0 kB Active(file): 11288 kB Inactive(file): 20576 kB Unevictable: 1612 kB Mlocked: 1612 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 64 kB Writeback: 0 kB AnonPages: 9136 kB Mapped: 7368 kB Slab: 5760 kB SReclaimable: 2824 kB SUnreclaim: 2936 kB PageTables: 724 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 62520 kB Committed_AS: 548796 kB VmallocTotal: 8192 kB VmallocUsed: 632 kB VmallocChunk: 7524 kB root@hmnhdce-omv:~# cat /proc/cpuinfo Processor : ARMv6-compatible processor rev 5 (v6l) processor : 0 BogoMIPS : 339.14 processor : 1 BogoMIPS : 339.14 Features : swp half thumb fastmult edsp java CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb02 CPU revision : 5 Hardware : Oxsemi NAS Revision : 0000 Serial : 0000000000000000 root@hmnhdce-omv:~# lsmod Module Size Used by gmac 43716 0 mii 6264 1 gmac mp_therm 3624 0 root@hmnhdce-omv:~# root@hmnhdce-omv:~# dmesg [ 0.000000] Linux version 2.6.31.14-hmnhdce+v5 (root@abraham) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #5 SMP Tue Aug 21 22:34:14 CEST 2012 [ 0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: Oxsemi NAS [ 0.000000] 1 memory region [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat c04a7da0, node_mem_map c04db000 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32512 pages, LIFO batch:7 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: root=/dev/sda2 console=ttyS0,115200 elevator=cfq rootwait earlyprintk mtdparts=orion_nand:38M(boot),-(rootfs) mem=128M poweroutage=yes [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 128MB = 128MB total [ 0.000000] Memory: 124756KB available (4360K code, 332K data, 128K init, 0K highmem) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:96 [ 0.000000] OX820_RPS_init_irq: interrupts 64 to 96 [ 0.000000] ox820_clocksource_init() Timer 2 running at 390625 Hz [ 0.010000] Console: colour dummy device 80x30 [ 0.010000] console [ttyS0] enabled [ 0.020000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.230000] Security Framework initialized [ 0.230000] Mount-cache hash table entries: 512 [ 0.240000] CPU: Testing write buffer coherency: ok [ 0.240000] Calibrating local timer... 424.49MHz. [ 0.310000] CPU1: Booted secondary processor [ 0.410000] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.620000] Brought up 2 CPUs [ 0.630000] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.640000] NET: Registered protocol family 16 [ 0.640000] Number of DMA channels = 4, version = 4 [ 0.650000] Reserving a DMA channel for ODRB [ 0.650000] Allocating 475 SRAM generic DMA descriptors [ 0.660000] bio: create slab <bio-0> at 0 [ 0.660000] SCSI subsystem initialized [ 0.670000] libata version 3.00 loaded. [ 0.670000] usbcore: registered new interface driver usbfs [ 0.670000] usbcore: registered new interface driver hub [ 0.680000] usbcore: registered new device driver usb [ 0.710000] NET: Registered protocol family 2 [ 0.710000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.720000] Switched to NOHz mode on CPU #0 [ 0.720000] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.720000] Switched to NOHz mode on CPU #1 [ 0.730000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.740000] TCP: Hash tables configured (established 4096 bind 4096) [ 0.740000] TCP reno registered [ 0.750000] NET: Registered protocol family 1 [ 0.750000] Create fragment cache [ 0.760000] VFS: Disk quotas dquot_6.5.2 [ 0.760000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.770000] fuse init (API version 7.12) [ 0.770000] JFS: nTxBlock = 975, nTxLock = 7807 [ 0.780000] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled [ 0.790000] SGI XFS Quota Management subsystem [ 0.790000] msgmni has been set to 243 [ 0.800000] alg: No test for stdrng (krng) [ 0.800000] io scheduler noop registered [ 0.810000] io scheduler anticipatory registered [ 0.810000] io scheduler deadline registered [ 0.820000] io scheduler cfq registered (default) [ 0.830000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.830000] serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A [ 0.840000] brd: module loaded [ 0.850000] loop: module loaded [ 0.850000] ox820sata: OX820 sata core. [ 0.850000] scsi0 : oxnassata [ 0.860000] scsi1 : oxnassata [ 0.860000] ata1: SATA max UDMA/133 irq 50 [ 0.870000] ata2: SATA max UDMA/133 irq 50 [ 0.870000] ox820sata: reseting SATA core [ 1.390000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.450000] ata1.00: ATA-8: TOSHIBA MQ01ABD100, AX0A1U, max UDMA/100 [ 1.450000] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32) [ 1.460000] ata1.00: configured for UDMA/100 [ 1.460000] ox820sata: reseting SATA core [ 2.180000] ata2: SATA link down (SStatus 0 SControl 300) [ 2.180000] scsi 0:0:0:0: Direct-Access ATA TOSHIBA MQ01ABD1 AX0A PQ: 0 ANSI: 5 [ 2.190000] tun: Universal TUN/TAP device driver, 1.6 [ 2.190000] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) [ 2.190000] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 2.190000] sd 0:0:0:0: [sda] Write Protect is off [ 2.190000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 2.190000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.220000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 2.230000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.230000] Start USB clocks [ 2.240000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller [ 2.240000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1 [ 2.250000] sda: [ 2.280000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000 [ 2.300000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00 [ 2.300000] usb usb1: configuration #1 chosen from 1 choice [ 2.310000] hub 1-0:1.0: USB hub found [ 2.310000] hub 1-0:1.0: 2 ports detected [ 2.320000] Initializing USB Mass Storage driver... [ 2.320000] usbcore: registered new interface driver usb-storage [ 2.330000] USB Mass Storage support registered. [ 2.330000] usbcore: registered new interface driver ums-alauda [ 2.340000] usbcore: registered new interface driver ums-datafab [ 2.340000] usbcore: registered new interface driver ums-freecom [ 2.350000] usbcore: registered new interface driver ums-isd200 [ 2.350000] usbcore: registered new interface driver ums-jumpshot [ 2.360000] usbcore: registered new interface driver ums-sddr09 [ 2.370000] usbcore: registered new interface driver ums-sddr55 [ 2.370000] usbcore: registered new interface driver ums-usbat [ 2.380000] mice: PS/2 mouse device common for all mice [ 2.380000] md: linear personality registered for level -1 [ 2.390000] md: raid0 personality registered for level 0 [ 2.390000] md: raid1 personality registered for level 1 [ 2.400000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com [ 2.410000] input: Mapower Buttons as /devices/virtual/input/input0 [ 2.420000] TCP cubic registered [ 2.420000] NET: Registered protocol family 17 [ 2.570000] sda1 sda2 sda3 [ 2.570000] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.570000] md: Waiting for all devices to be available before autodetect [ 2.580000] md: If you don't use raid, use raid=noautodetect [ 2.590000] md: Autodetecting RAID arrays. [ 2.590000] md: Scanned 0 and added 0 devices. [ 2.600000] md: autorun ... [ 2.600000] md: ... autorun DONE. [ 2.640000] kjournald starting. Commit interval 5 seconds [ 2.650000] EXT3 FS on sda2, internal journal [ 2.650000] EXT3-fs: mounted filesystem with writeback data mode. [ 2.650000] VFS: Mounted root (ext3 filesystem) on device 8:2. [ 2.650000] Freeing init memory: 128K [ 8.320000] EXT3 FS on sda2, internal journal [ 9.510000] mp_therm: initializing - NAS7820 [ 12.030000] Probing for Synopsis GMAC, unit 0 [ 12.030000] eth0: Tuning GMAC 0 RGMII timings [ 12.040000] eth0: PHY is Realtek RTL8211D, type 0x001cc914 [ 12.040000] eth0: GMAC ver = 53, vendor ver = 18 at 0xe1400000, IRQ 40 [ 12.050000] eth0: Found PHY at address 3, type 0x001cc914 -> 10/100/1000 [ 12.060000] eth0: Ethernet addr: 00:30:e0:00:00:00 [ 12.060000] probe() eth0: Leon x2 clock [ 12.080000] CoPro offload is active on eth0 [ 12.080000] Alloc'ing ARM descs 8192 bytes [ 12.080000] Alloc'ing CoPro parameters 40 bytes [ 12.090000] gmac gmac.0: firmware: requesting gmac_copro_firmware [ 12.190000] CoPro: Programming start address as 0xd000dd00 [ 12.290000] Heartbeats started [ 12.300000] eth0: Resetting GMAC [ 12.300000] eth0: GMAC reset complete [ 12.300000] hw_set_mac_address() Storing port0 mac_adr in global array [ 12.310000] eth0: Setting Rx flow control thresholds for LAN port [ 12.320000] CoPro available SRAM end 0x1000dc64 [ 12.320000] Copro offload started [ 15.380000] Freeing CoPro parameters 40 bytes [ 15.380000] Freeing ARM descs 8192 bytes [ 15.780000] CoPro offload is active on eth0 [ 15.780000] Alloc'ing ARM descs 8192 bytes [ 15.790000] Alloc'ing CoPro parameters 40 bytes [ 15.790000] gmac gmac.0: firmware: requesting gmac_copro_firmware [ 15.820000] CoPro: Programming start address as 0xd000dd00 [ 15.920000] Heartbeats started [ 15.920000] eth0: Resetting GMAC [ 15.930000] eth0: GMAC reset complete [ 15.930000] hw_set_mac_address() Storing port0 mac_adr in global array [ 15.940000] eth0: Setting Rx flow control thresholds for LAN port [ 15.950000] CoPro available SRAM end 0x1000dc64 [ 15.950000] Copro offload started [ 16.450000] eth0: link up, 1000Mbps, full-duplex, not using pause, lpa 0xC1E1 root@hmnhdce-omv:~#