Re: Debian on Netgear RN102 September 21, 2020 10:19AM |
Registered: 5 years ago Posts: 73 |
I laughed so hard, but you are right:)I am just having fun maybe i am a masochist:)Quote
Bodhi
Remember the previous posts above? that "living dangerously" has come back and bitten you in the rear :)
nandwrite --noecc /dev/mtd0 mtd0.binAnd,
nandwrite /dev/mtd0 mtd0.bin
nand write 0x7000000 0 0x00180000
nand write 0x7000000 0 0x00200000
nand write 0x7000000 0 0x00400000
I think this is the main problem so solution is eitherQuote
whitepawn
Edit2:
I just realized in u-boot nand info says:
Marvell>> nand info
Device 0: nand0, sector size 64 KiB
Page size 8192 b
OOB size 128 b
Erase size 65536 b
But in kernel:
nand: 8192 MiB, MLC, erase size: 2048 KiB, page size: 8192, OOB size: 744
Erase size and oob sizes are different.Is this relevant in our case?
u-boot-2011.12-armada370/drivers/mtd/nand/fsl_ifc_nand.cor
u-boot-2011.12-armada370/include/configs/armada_370.haccording to this and this post but i don't know how to edit ifc_nand.c and armada_370.h for my flash or maybe as you said BootROM is not capable for this flash i don't know.
Re: Debian on Netgear RN102 September 21, 2020 06:30PM |
Admin Registered: 13 years ago Posts: 19,225 |
Re: Debian on Netgear RN102 September 22, 2020 04:52AM |
Admin Registered: 13 years ago Posts: 19,225 |
doimage -T nand -D image_dest -E image_exec [-S address] -P page_size -L 2 -N S [other_options] image_in image_out
doimage -T nand -D image_dest -E image_exec [-S address] -P page_size -L 2 -N M [other_options] image_in image_out
Re: Debian on Netgear RN102 September 23, 2020 11:53AM |
Registered: 5 years ago Posts: 73 |
./build_rn102-nand.pl -v 2.7 -d /home/jigsaw/u-boot-2011.12-armada370/armada-370-netgear-rn102.dtb -P 8192 -L 2048 -N MLC
./build_rn102-nand.pl -v 2.5 -d /home/jigsaw/u-boot-2011.12-armada370/armada-370-netgear-rn102.dtb -P 4096 -L 128 -N MLC
./build_rn102-nand.pl -v 2.4 -d /home/jigsaw/u-boot-2011.12-armada370/armada-370-netgear-rn102.dtb -N M
This must be only LP_OPTIONS for 8 bit which is my NAND bus width according to datasheet but u-boot doesn't like it.(Prints marvell logo constantly and doesn't detect flash chip size.)Bootloader seems working on LP_OPTIONS16 which is 16 bit, seems fishy to me but i actually don't know.Quote
whitepawn
I have edited nand_ids.c
{"NAND 8GiB 3,3V 16-bit Custom", 0x64, 0, 8192, 0, LP_OPTIONS16},
First it complained about 8 bit config which is LP_OPTIONS then i changed it to LP_OPTIONS16 no more complains from u-boot.
{"NAND 8GiB 3,3V 16-bit Custom", 0x64, 0, 8192, 0, LP_OPTIONS},
{ /* Micron 64Gb */ .tADL = 0, /* tADL, Address to write data delay */ .tCH = 20, /* tCH, Enable signal hold time */ .tCS = 20, /* tCS, Enable signal setup time */ .tWC = 90, /* tWC, ND_nWE cycle duration */ .tWH = 45, /* tWH, ND_nWE high duration */ .tWP = 45, /* tWP, ND_nWE pulse time */ .tRC = 90, /* tWC, ND_nRE cycle duration */ .tRH = 45, /* tRH, ND_nRE high duration */ .tRP = 45, /* tRP, ND_nRE pulse width */ .tR = 0, /* tR = data transfer from cell to register */ .tWHR = 90, /* tWHR, ND_nWE high to ND_nRE low delay for status read */ .tAR = 65, /* tAR, ND_ALE low to ND_nRE low delay */ .tRHW = 32, /* tRHW, ND_nRE high to ND_nWE low delay */ .pgPrBlk = 256, /* Pages per block - detected */ .pgSz = 8192, /* Page size */ .oobSz = 448, /* Spare size */ .blkNum = 4096, /* Number of blocks/sectors in the flash */ .id = 0x642C, /* Device ID 0xDevice,Vendor */ .model = "Micron 64Gb 8bit", .bb_page = 0, /* Manufacturer Bad block marking page in block */ .flags = NFC_CLOCK_UPSCALE_200M },
{ /* Micron 64Gb */ .tADL = 0, /* tADL, Address to write data delay */ .tCH = 20, /* tCH, Enable signal hold time */ .tCS = 20, /* tCS, Enable signal setup time */ .tWC = 90, /* tWC, ND_nWE cycle duration */ .tWH = 45, /* tWH, ND_nWE high duration */ .tWP = 45, /* tWP, ND_nWE pulse time */ .tRC = 90, /* tWC, ND_nRE cycle duration */ .tRH = 45, /* tRH, ND_nRE high duration */ .tRP = 45, /* tRP, ND_nRE pulse width */ .tR = 0, /* tR = data transfer from cell to register */ .tWHR = 90, /* tWHR, ND_nWE high to ND_nRE low delay for status read */ .tAR = 65, /* tAR, ND_ALE low to ND_nRE low delay */ .tRHW = 32, /* tRHW, ND_nRE high to ND_nWE low delay */ .pgPrBlk = 256, /* Pages per block - detected */ .pgSz = 8192, /* Page size */ .oobSz = 744, /* Spare size */ .blkNum = 2048, /* Number of blocks/sectors in the flash */ .id = 0x642C, /* Device ID 0xDevice,Vendor */ .model = "Micron 64Gb 8bit", .bb_page = 0, /* Manufacturer Bad block marking page in block */ .flags = NFC_CLOCK_UPSCALE_200M },
make[1]: *** No rule to make target '/home/jigsaw/u-boot-2011.12-armada370/board/mv_ebu/common/mv_hal/usibootup/usibootup.c', needed by '.depend'. Stop. make: *** [Makefile:466: board/mv_ebu/common/libmv_ebu.o] Error 2 make: *** Waiting for unfinished jobs.... *** Error: Build failed *** Error: Build u-boot boot from NAND failed
root@whitepawnxeon:/home/jigsaw/Downloads# kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0stockuboot.img -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 0 % [......................................................................] 1 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 2 % [......................................................................] 3 % [......................................................................] 3 % [......................................................................] 4 % [......................................................................] 5 % [......... General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully .............................................................] 5 % [......................................................................] 6 % [......................................................................] 6 % [......................................................................] 7 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [......................................................................] 9 % [......................................................................] 10 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 11 % [......................................................................] 12 % [......................................................................] 13 % [......................................................................] 13 % [......................................................................] 14 % [......................................................................] 14 % [......................................................................] 15 % [......................................................................] 15 % [......................................................................] 16 % [......................................................................] 17 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 18 % [......................................................................] 19 % [......................................................................] 19 % [......................................................................] 20 % [......................................................................] 21 % [......................................................................] 21 % [......................................................................] 22 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 23 % [......................................................................] 24 % [......................................................................] 25 % [......................................................................] 25 % [......................................................................] 26 % [......................................................................] 26 % [......................................................................] 27 % [......................................................................] 27 % [......................................................................] 28 % [......................................................................] 29 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 30 % [......................................................................] 31 % [......................................................................] 31 % [......................................................................] 32 % [......................................................................] 33 % [......................................................................] 33 % [......................................................................] 34 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 35 % [......................................................................] 36 % [......................................................................] 37 % [......................................................................] 37 % [......................................................................] 38 % [......................................................................] 38 % [......................................................................] 39 % [......................................................................] 39 % [......................................................................] 40 % [......................................................................] 41 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 42 % [......................................................................] 43 % [......................................................................] 43 % [......................................................................] 44 % [......................................................................] 45 % [......................................................................] 45 % [......................................................................] 46 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 47 % [......................................................................] 48 % [......................................................................] 48 % [......................................................................] 49 % [......................................................................] 50 % [......................................................................] 50 % [......................................................................] 51 % [......................................................................] 51 % [......................................................................] 52 % [......................................................................] 52 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 54 % [......................................................................] 55 % [......................................................................] 55 % [......................................................................] 56 % [......................................................................] 56 % [......................................................................] 57 % [......................................................................] 58 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 59 % [......................................................................] 60 % [......................................................................] 60 % [......................................................................] 61 % [......................................................................] 62 % [......................................................................] 62 % [......................................................................] 63 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 64 % [......................................................................] 65 % [......................................................................] 66 % [......................................................................] 66 % [......................................................................] 67 % [......................................................................] 67 % [......................................................................] 68 % [......................................................................] 68 % [......................................................................] 69 % [......................................................................] 70 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 71 % [......................................................................] 72 % [......................................................................] 72 % [......................................................................] 73 % [......................................................................] 74 % [......................................................................] 74 % [......................................................................] 75 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 76 % [......................................................................] 77 % [......................................................................] 78 % [......................................................................] 78 % [......................................................................] 79 % [......................................................................] 79 % [......................................................................] 80 % [......................................................................] 80 % [......................................................................] 81 % [......................................................................] 82 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 83 % [......................................................................] 84 % [......................................................................] 84 % [......................................................................] 85 % [......................................................................] 86 % [......................................................................] 86 % [......................................................................] 87 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 88 % [......................................................................] 89 % [......................................................................] 90 % [......................................................................] 90 % [......................................................................] 91 % [......................................................................] 91 % [......................................................................] 92 % [......................................................................] 92 % [......................................................................] 93 % [......................................................................] 94 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 95 % [......................................................................] 96 % [......................................................................] 96 % [......................................................................] 97 % [......................................................................] 97 % [......................................................................] 98 % [......................................................................] 99 % [......................................................................] 99 % [......................................] [Type Ctrl-\ + c to quit] __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-102 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9ef34 BSS: 0x1ffef0a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xd7ec) nand_get_flash_type: second ID read did not match ac,d7 against ec,52 No NAND device found!!! 0 MiB MMC: MRVL_MMC: 0 *** Warning - readenv() failed, using default environment Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: GBE0 SDIO AUDIO TDM Modules/Interfaces Detected: RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: , egiga1 [PRIME] Detect MVT/MP board... Saving Environment to NAND... Erasing Nand... Attempt to erase non page aligned data Power On! Updating env to v3... Saving Environment to NAND... Erasing Nand... Attempt to erase non page aligned data raise: Signal # 8 caught raise: Signal # 8 caught __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-102 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9ef34 BSS: 0x1ffef0a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xd7ec) nand_get_flash_type: second ID read did not match ac,d7 against ec,53 No NAND device found!!! 0 MiB MMC: MRVL_MMC: 0 *** Warning - readenv() failed, using default environment Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: GBE0 SDIO AUDIO TDM Modules/Interfaces Detected: RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: , egiga1 [PRIME] Detect MVT/MP board... Saving Environment to NAND... Erasing Nand... Attempt to erase non page aligned data Power On! Updating env to v3... Saving Environment to NAND... Erasing Nand... Attempt to erase non page aligned data raise: Signal # 8 caught raise: Signal # 8 caught __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-102 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9ef34 BSS: 0x1ffef0a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xd7ec) nand_get_flash_type: second ID read did not match ac,d7 against ec,53 No NAND device found!!! 0 MiB MMC: MRVL_MMC: 0 *** Warning - readenv() failed, using default environment Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: GBE0 SDIO AUDIO TDM Modules/Interfaces Detected: RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: , egiga1 [PRIME]
NAND: (ID 0xd7ec) nand_get_flash_type: second ID read did not match ac,d7 against ec,53
#ifdef CONFIG_MV_MTD_MLC_NAND_SUPPORT /* 32 Gigabit - wrongly detected due to changes in READ_ID decoding */ {"NAND 4GiB 3,3V 8-bit", 0xD7, 4096, 4096, 524288, LP_OPTIONS},
{ /* Samsung 32Gb */ .tADL = 0, /* tADL, Address to write data delay */ .tCH = 5, /* tCH, Enable signal hold time */ .tCS = 20, /* tCS, Enable signal setup time */ .tWC = 25, /* tWC, ND_nWE cycle duration */ .tWH = 10, /* tWH, ND_nWE high duration */ .tWP = 15, /* tWP, ND_nWE pulse time */ .tRC = 30, /* tWC, ND_nRE cycle duration */ .tRH = 15, /* tRH, ND_nRE high duration */ .tRP = 15, /* tRP, ND_nRE pulse width */ .tR = 60000, /* tR = data transfer from cell to register, maximum 60,000ns */ .tWHR = 60, /* tWHR, ND_nWE high to ND_nRE low delay for status read */ .tAR = 10, /* tAR, ND_ALE low to ND_nRE low delay */ .tRHW = 48, /* tRHW, ND_nRE high to ND_nWE low delay */ .pgPrBlk = 128, /* Pages per block - detected */ .pgSz = 4096, /* Page size */ .oobSz = 128, /* Spare size */ .blkNum = 8192, /* Number of blocks/sectors in the flash */ .id = 0xD7EC, /* Device ID 0xDevice,Vendor */ .model = "Samsung 32Gb 8bit", .bb_page = 127, /* Manufacturer Bad block marking page in block */ .flags = NFC_CLOCK_UPSCALE_200M },
Building linker script for board a370, Non-secure mode Building linker script for board a370, Secure mode nand_base.c: In function 'nand_flash_detect_non_onfi': nand_base.c:2532:20: error: 'id_data' undeclared (first use in this function) nand_base.c:2532:20: note: each undeclared identifier is reported only once for each function it appears in nand_base.c:2589:37: error: invalid storage class for function 'nand_get_flash_type' nand_base.c: In function 'nand_get_flash_type': nand_base.c:2595:6: error: 'dev_id' redeclared as different kind of symbol nand_base.c:2592:27: note: previous definition of 'dev_id' was here nand_base.c:2614:2: error: invalid type argument of unary '*' (have 'int') nand_base.c:2635:50: error: expected ')' before ';' token nand_base.c:2637:3: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat] nand_base.c:2637:3: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat] nand_base.c:2637:3: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat] nand_base.c:2637:3: error: expected ';' before '}' token nand_base.c:2643:7: error: invalid type argument of unary '*' (have 'int') nand_base.c:2649:7: error: invalid type argument of unary '*' (have 'int') nand_base.c:2649:27: error: invalid type argument of unary '*' (have 'int') nand_base.c:2652:24: error: invalid type argument of unary '*' (have 'int') nand_base.c:2669:2: error: 'ret' undeclared (first use in this function) nand_base.c:2695:10: error: invalid type argument of unary '*' (have 'int') nand_base.c:2734:2: error: invalid type argument of unary '*' (have 'int') nand_base.c: In function 'nand_flash_detect_non_onfi': nand_base.c:3115:1: error: expected declaration or statement at end of input make[1]: *** [/home/jigsaw/u-boot-2011.12-armada370/config.mk:309: nand_base.o] Error 1 make: *** [Makefile:466: drivers/mtd/nand/libnand.o] Error 2 make: *** Waiting for unfinished jobs....
Re: Debian on Netgear RN102 September 26, 2020 05:10PM |
Admin Registered: 13 years ago Posts: 19,225 |
Quote
I have edited nand_ids.c
{"NAND 8GiB 3,3V 16-bit Custom", 0x64, 0, 8192, 0, LP_OPTIONS16},
First it complained about 8 bit config which is LP_OPTIONS then i changed it to LP_OPTIONS16 no more complains from u-boot.
This must be only LP_OPTIONS for 8 bit which is my NAND bus width according to datasheet but u-boot doesn't like it.(Prints marvell logo constantly and doesn't detect flash chip size.)Bootloader seems working on LP_OPTIONS16 which is 16 bit, seems fishy to me but i actually don't know.
Re: Debian on Netgear RN102 September 26, 2020 06:49PM |
Registered: 5 years ago Posts: 73 |
I didn't want to spam forum thats why i just edited post.In most forums i think it is forbidden, is it possible to post before someone replies in here?Quote
Bodhi
Since you've edited your post, I did not notice there is new info in it (the new post indicator in red) (until now I happen to want to read it again).
When i use this:Quote
Bodhi
Not sure I can recall what you mean by "u-boot doesn't like it."? so using LP_OPTIONS and built OK, but when running u-boot seems to choke on detecting NAND chip? and you can build with either LP_OPTIONS16 or LP_OPTIONS?
{"NAND 8GiB 3,3V 16-bit Custom", 0x64, 0, 8192, 0, LP_OPTIONS},
NAND bus width 8 instead 16 bit No NAND device found!!!but when i this:
{"NAND 8GiB 3,3V 16-bit Custom", 0x64, 0, 8192, 0, LP_OPTIONS16}
CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_EHCI_PCI=yIs already set to "yes" so another dead end for me:)
Re: Debian on Netgear RN102 September 26, 2020 07:01PM |
Admin Registered: 13 years ago Posts: 19,225 |
Quote
and compiled u-boot it gives this compile error in u-boot similiar to this and this post:
NAND bus width 8 instead 16 bit No NAND device found!!!
Re: Debian on Netgear RN102 September 26, 2020 07:08PM |
Admin Registered: 13 years ago Posts: 19,225 |
Quote
https://lists.denx.de/pipermail/u-boot/2010-October/078192.html
Before getting to the u-boot prompt I get the following message:
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0x48 (Micron NAND
2GiB 3,3V 8-bit)
NAND bus width 8 instead 16 bit
Re: Debian on Netgear RN102 September 26, 2020 07:14PM |
Admin Registered: 13 years ago Posts: 19,225 |
Quote
I didn't want to spam forum thats why i just edited post.In most forums i think it is forbidden, is it possible to post before someone replies in here?
Re: Debian on Netgear RN102 September 27, 2020 06:25AM |
Registered: 5 years ago Posts: 73 |
Quote
Bodhi
This is the reason I always want to see the complete serial console log!
/* 32 Gigabit - wrongly detected due to changes in READ_ID decoding */ {"NAND 4GiB 3,3V 8-bit", 0xD7, 4096, 4096, 524288, LP_OPTIONS},
| \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-102 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9ef34 BSS: 0x1ffef0a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xd7ec) nand_get_flash_type: second ID read did not match ac,d7 against ec,53 No NAND device found!!! 0 MiB MMC: MRVL_MMC: 0 *** Warning - readenv() failed, using default environment Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: GBE0 SDIO AUDIO TDM Modules/Interfaces Detected: RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: , egiga1 [PRIME]
Quote
http://lists.infradead.org/pipermail/linux-mtd/2010-May/029882.html
Samsung K9GAG08U0M (5-byte sequence): ec d5 14 b6 74
4th byte, bits 1:0 encode the page size: 0=1KiB, 1=2KiB, 2=4KiB, 3=8KiB
4th byte, bits 5:4 encode the block size: 0=64KiB, 1=128KiB, ...
4th byte, bit 6 encodes the OOB size: 0=8B/512B, 1=16B/512B
Samsung K9GAG08U0D (6-byte sequence): ec d5 94 29 34 41
4th byte, bits 1:0 encode the page size: 0=2KiB, 1=4KiB, 3=8KiB, 4=rsvd
4th byte, bits 7;5:4 encode the block size: 0=128KiB, 1=256KiB, ...
4th byte, bits 6;3:2 encode the OOB size: 1=128B/page, 2=218B/page
This patch uses the new 6-byte scheme if the ID code wraps around
exactly at byte 6, and falls back to the old scheme otherwise.
jigsaw@whitepawn:~/u-boot-2011.12-armada370$ ./build_rn102-nand.pl -v 3.4 -d /home/jigsaw/u-boot-2011.12-armada370/armada-370-netgear-rn102.dtb No secure boot option selected **** [Cleaning Make] ***** Configuring for armada_370_db - Board: armada_370, Options: DB_88F6710_BP **** [Setting Macros] ***** Boot from NAND ** Little ENDIAN ** Enable NAND controller NFC Support flash: NAND Project: RN102 **** [Building U-BOOT] ***** Generating include/generated/asm-offsets.h /home/jigsaw/u-boot-2011.12-armada370/lib/sha1.c:389:19: warning: ‘_sha1_src’ defined but not used [-Wunused-const-variable=] 389 | static const char _sha1_src[] = "_sha1_src"; | ^~~~~~~~~ In file included from aisimage.c:29: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ In file included from fit_image.c:31: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ In file included from default_image.c:31: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ In file included from /home/jigsaw/u-boot-2011.12-armada370/common/image.c:73: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ In file included from imximage.c:32: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ In file included from kwbimage.c:29: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ In file included from mkimage.c:25: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ In file included from omapimage.c:37: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ In file included from ublimage.c:36: /home/jigsaw/u-boot-2011.12-armada370/include/image.h:534:12: warning: inline function ‘fit_parse_subimage’ declared but never defined 534 | inline int fit_parse_subimage(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~~~~~ /home/jigsaw/u-boot-2011.12-armada370/include/image.h:532:12: warning: inline function ‘fit_parse_conf’ declared but never defined 532 | inline int fit_parse_conf(const char *spec, ulong addr_curr, | ^~~~~~~~~~~~~~ CC aes.c hdrparser.c: In function ‘parse_main_header’: hdrparser.c:195:19: warning: too many arguments for format [-Wformat-extra-args] 195 | fprintf(stdout, "[15:12]Source address (LBA): 0x%08X\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hdrparser.c:198:19: warning: too many arguments for format [-Wformat-extra-args] 198 | fprintf(stdout, "[15:12]Source address: 0x%08X\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hdrparser.c: In function ‘parse_bin_header’: hdrparser.c:295:18: warning: too many arguments for format [-Wformat-extra-args] 295 | fprintf(stdout, "[0005:0005]Reserved: 0x%02X\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hdrparser.c:297:18: warning: too many arguments for format [-Wformat-extra-args] 297 | fprintf(stdout, "[0007:0005]Reserved: 0x%04X\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC arc4.c CC base64.c CC bignum.c CC certs.c CC debug.c CC des.c CC dhm.c CC havege.c CC md2.c CC md4.c CC md5.c CC net.c CC padlock.c CC rsa.c CC sha1.c CC sha2.c CC sha4.c CC ssl_cli.c CC ssl_srv.c CC ssl_tls.c CC timing.c CC x509parse.c CC xtea.c CC camellia.c CC mvMemPool.c AR libpolarssl.a ar: creating libpolarssl.a RL libpolarssl.a CC aes/aescrypt2.c CC hash/hello.c CC hash/md5sum.c CC hash/sha1sum.c CC hash/sha2sum.c CC pkey/dh_client.c CC pkey/dh_genprime.c CC pkey/dh_server.c CC pkey/mpi_demo.c CC pkey/rsa_genkey.c CC pkey/rsa_sign.c pkey/rsa_sign.c: In function ‘main’: pkey/rsa_sign.c:104:17: warning: implicit declaration of function ‘sha4_file’; did you mean ‘sha1_file’? [-Wimplicit-function-declaration] 104 | if( ( ret = sha4_file( argv[1], hash, 0 ) ) != 0 ) | ^~~~~~~~~ | sha1_file CC pkey/rsa_verify.c CC ssl/ssl_client1.c pkey/rsa_verify.c: In function ‘main’: pkey/rsa_verify.c:129:17: warning: implicit declaration of function ‘sha4_file’; did you mean ‘sha1_file’? [-Wimplicit-function-declaration] 129 | if( ( ret = sha4_file( argv[1], hash, 0 ) ) != 0 ) | ^~~~~~~~~ | sha1_file CC ssl/ssl_client2.c CC ssl/ssl_server.c CC test/benchmark.c CC test/selftest.c CC test/ssl_test.c test/selftest.c: In function ‘main’: test/selftest.c:143:17: warning: implicit declaration of function ‘camellia_self_test’; did you mean ‘xtea_self_test’? [-Wimplicit-function-declaration] 143 | if( ( ret = camellia_self_test( v ) ) != 0 ) | ^~~~~~~~~~~~~~~~~~ | xtea_self_test Building linker script for board a370, Non-secure mode Building linker script for board a370, Secure mode nand_base.c: In function 'nand_get_flash_type': nand_base.c:2661:29: error: 'struct nand_chip' has no member named 'init_size' nand_base.c:2663:14: error: 'struct nand_chip' has no member named 'init_size' nand_base.c:2663:37: error: 'id_data' undeclared (first use in this function) nand_base.c:2663:37: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [/home/jigsaw/u-boot-2011.12-armada370/config.mk:309: nand_base.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:466: drivers/mtd/nand/libnand.o] Error 2 make: *** Waiting for unfinished jobs.... *** Error: Build failed *** Error: Build u-boot boot from NAND failed jigsaw@whitepawn:~/u-boot-2011.12-armada370$
Re: Debian on Netgear RN102 September 27, 2020 10:15AM |
Registered: 7 years ago Posts: 192 |
$ kwboot -b ~/u-boot/build/u-boot.kwb -a -t -B 115200 /dev/ttyUSB0 Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 4 % [......................................................................] 5 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [......................................................................] 11 % [......................................................................] 12 % [......................................................................] 14 % [......................................................................] 15 % [......................................................................] 16 % [......................................................................] 18 % [......................................................................] 19 % [......................................................................] 21 % [......................................................................] 22 % [...............................BootROM: Invalid header ID Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-102 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9ef34 BSS: 0x1ffef0a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf1ad) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 nand_read_bbt: Bad block at 0x000001820000 nand_read_bbt: Bad block at 0x000001f00000 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: GBE0 SDIO AUDIO TDM Modules/Interfaces Detected: RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: , egiga1 [PRIME] Power On!I believe the error message "BootROM: Invalid header ID" comes from the box and not from 'kwboot'. Both the kwb-file and my U-Boot patch are attached. Check the executable './make-all.sh' script included in the patch to see how to build 'u-boot.kwb', 'u-boot-spl.kwb' and plenty of other targets.
bootrom { compatible = "marvell,bootrom"; reg = <MBUS_ID(0x01, 0xe0) 0 0x100000>; };Is this 'reg' what have to be changed and, if so, to what value? Or is it more subtile?
Re: Debian on Netgear RN102 September 27, 2020 10:48AM |
Registered: 7 years ago Posts: 192 |
nand_base.c:2661:29: error: 'struct nand_chip' has no member named 'init_size' nand_base.c:2663:14: error: 'struct nand_chip' has no member named 'init_size' nand_base.c:2663:37: error: 'id_data' undeclared (first use in this function)I guess you get them because stock U-Boot is based on version 2011.12 while you pulled 'nand_base.c' from a 2013 version. Maybe worth investigating, but only maybe.
Re: Debian on Netgear RN102 September 27, 2020 11:20AM |
Registered: 5 years ago Posts: 73 |
Re: Debian on Netgear RN102 September 27, 2020 12:49PM |
Registered: 7 years ago Posts: 192 |
Quote
Maybe ddr code is not working?
#if defined(MV88F78X60) #include "ddr3_axp_vars.h" #elif defined(MV88F67XX) #include "ddr3_a370_vars.h" #elif defined(MV88F672X) #include "ddr3_a375_vars.h" #endifThe symbol MV88F67XX is defined on line 19 for RN102/RN104 with the 88F6710 SoC, but the file 'ddr3_a370_vars.h' then included on line 20 is not. So, sadly, DDR3 training code for Armada 370 is not currently included in U-Boot.
Re: Debian on Netgear RN102 September 27, 2020 02:38PM |
Registered: 5 years ago Posts: 73 |
Warnings are not problem yes it can compile and output u-boot.I choose toolchain from 2013 because in netgear documentation it says:Quote
Tme
Warnings from the compiler are to be expected. Gcc has become much better since 2013 at detecting inconsistencies in the code. Ignore the warnings, turn them off with -Wno-unused-const-variable etc. Alternatively, install a Linux distribution from 2013. :-)
so i didn't wanted to mess things up and get unwanted trouble with new toolchain.And yes maybe retro distro will cure my u-boot problems:-)Quote
README.NETGEAR
$ export PATH=$PATH:/opt/armv7-marvell-linux-gnueabi-softfp_i686_64K_Dev_20131002/bin/ $ export CROSS_COMPILE=arm-marvell-linux-gnueabi- $ export CROSS_COMPILE_BH=arm-marvell-linux-gnueabi- $ git clean -fdx $ ./build_rn102-nand.pl -v 2.0 -d ../armada-370-netgear-rn102.dtb $ git clean -fdx $ ./build_rn104-nand.pl -v 2.0 -d ../armada-370-netgear-rn104.dtb
Quote
Tme
I guess you get them because stock U-Boot is based on version 2011.12 while you pulled 'nand_base.c' from a 2013 version. Maybe worth investigating, but only maybe
Quote
Tme
If you want try to integrate 'nand_base.c' with stock U-Boot, start with bringing the original code under version control. It is definitely worth the initial burden to learn to use 'git'.
Re: Debian on Netgear RN102 September 27, 2020 02:58PM |
Registered: 7 years ago Posts: 192 |
Re: Debian on Netgear RN102 September 27, 2020 06:32PM |
Admin Registered: 13 years ago Posts: 19,225 |
Quote
whitepawn
So i don't know c language and couldn't figure out how to patch my stock u-boot from marvell 2013 code.
Quote
Trond
I believe the error message "BootROM: Invalid header ID" comes from the box and not from 'kwboot'.
Re: Debian on Netgear RN102 September 28, 2020 02:36AM |
Registered: 7 years ago Posts: 192 |
Re: Debian on Netgear RN102 September 28, 2020 11:21AM |
Registered: 7 years ago Posts: 192 |
$ hexdump u-boot.kwb | head -5 0000000 005a 0000 7c5c 0007 0201 4000 4000 0002 0000010 ffc0 007f 0000 0080 0000 0000 0000 f901 0000020 0102 5b2c 0002 0000 005b 0000 0068 0000 0000030 0000 0000 0000 0000 0000 0000 0000 0000 0000040 000f ea00 f014 e59f f014 e59f f014 e59fThere is a NUXI problem here so the first byte is 0x5a, which means "Boot from SPI/NOR flash" (Table 11, page 85). The simplest fix is the '-p' options to 'kwboot'. It patches this byte to 0x69 which means "Boot from UART0" and then, on the fly, recomputes the one byte checksum at 0x1f (which is 0xf9 in the kwb-file):
$ kwboot -b u-boot.kwb -p /dev/ttyUSB0 Sending boot message. Please reboot the target.../ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 4 % [......................................................................] 5 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [......................................................................] 11 % [......................................................................] 12 % [......................................................................] 14 % [......................................................................] 15 % [......................................................................] 16 % [......................................................................] 18 % [......................................................................] 19 % [......................................................................] 21 % [......................................................................] 22 % [...............................+xmodem: Protocol errorSo the error message "BootROM: Invalid header ID" disappeared.
$ kwboot -b u-boot.kwb -p -o 5000 /dev/ttyUSB0 Sending boot message. Please reboot the target.../ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 4 % [......................................................................] 5 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [......................................................................] 11 % [......................................................................] 12 % [......................................................................] 14 % [......................................................................] 15 % [......................................................................] 16 % [......................................................................] 18 % [......................................................................] 19 % [......................................................................] 21 % [......................................................................] 22 % [...............................+xmodem: Protocol errorThe only difference is invisible. Now took 5 s for the '+' to appear. Inserting the DDR3 training code from the stock U-Boot might work, but is not completely satisfactory.
Re: Debian on Netgear RN102 September 28, 2020 02:30PM |
Registered: 7 years ago Posts: 192 |
$ ./kwbimage -x -i backup.mtd0 -o /tmp/ $ mv /tmp/payload /tmp/payload.orig $ ./kwbimage -x -i u-boot.bin -o /tmp/ Invalid image version 20 $ ./mvebuimg -v 1 create -b /tmp/binary.0 -o ubootmodded.bin spi /tmp/payload.orig $ kwboot -b ubootmodded.bin -p -t /dev/ttyUSB0 Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 3 % [......................................................................] 4 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [......... General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully .............................................................] 10 % [......................................................................] 11 % [......................................................................] 12 % [......................................................................] 13 % [......................................................................] [...] 95 % [......................................................................] 96 % [......................................................................] 97 % [......................................................................] 98 % [......................................................................] 99 % [.............................................] [Type Ctrl-\ + c to quit] $So the whole kwb-image was uploaded. It took 87 s. 'kwbimage' on 'u-boot.bin' said "Invalid image version 20". Important?
Re: Debian on Netgear RN102 September 29, 2020 05:34AM |
Registered: 5 years ago Posts: 73 |
Quote
tme
So the whole kwb-image was uploaded. It took 87 s. 'kwbimage' on 'u-boot.bin' said "Invalid image version 20". Important?
[Type Ctrl-\ + c to quit]
Re: Debian on Netgear RN102 September 29, 2020 01:58PM |
Registered: 5 years ago Posts: 73 |
Re: Debian on Netgear RN102 September 29, 2020 03:01PM |
Registered: 7 years ago Posts: 192 |
Re: Debian on Netgear RN102 September 29, 2020 03:46PM |
Registered: 5 years ago Posts: 73 |
Re: Debian on Netgear RN102 September 29, 2020 03:58PM |
Registered: 7 years ago Posts: 192 |
Re: Debian on Netgear RN102 September 29, 2020 04:14PM |
Registered: 7 years ago Posts: 192 |
$ kwboot -b backup.mtd0 -p -t /dev/ttyUSB0 Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......... General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully .............................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] [...] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit]Surprice! It fails the same way as the patched U-Boot v2020.10-rc5. Maybe I'm closer to getting it running than I thought?
nanddump --noecc --omitoob -l 0x80000 -f backup.mtd0 /dev/mtd0Why isn't this image suited for 'kwboot -p'?
cat /proc/mtd dev: size erasesize name mtd0: 00180000 00020000 "u-boot" mtd1: 00080000 00020000 "u-boot-env" mtd2: 00600000 00020000 "uImage" mtd3: 00400000 00020000 "minirootfs" mtd4: 07400000 00020000 "ubifs" nandwrite -help Usage: nandwrite [OPTION] MTD_DEVICE [INPUTFILE|-] Writes to the specified MTD device. -a, --autoplace Use auto OOB layout -k, --skip-all-ffs Skip pages that contain only 0xff bytes -m, --markbad Mark blocks bad if write fails -n, --noecc Write without ecc -N, --noskipbad Write without bad block skipping -o, --oob Input contains oob data -O, --onlyoob Input contains oob data and only write the oob part -s addr, --start=addr Set output start address (default is 0) -p, --pad Pad writes to page size -b, --blockalign=1|2|4 Set multiple of eraseblocks to align to --input-skip=length Skip |length| bytes of the input file --input-size=length Only read |length| bytes of the input file -q, --quiet Don't display progress messages -h, --help Display this help and exit -V, --version Output version information and exit nandwrite /dev/mtd0 backup.mtd0(Not tried yet.)
Re: Debian on Netgear RN102 September 29, 2020 04:45PM |
Admin Registered: 13 years ago Posts: 19,225 |
Quote
whitepawn
Bodhi,
Out of luck with SDIO pins.Now i decided to boot debian from rear e-SATA port with e-SATA to 2.5 inch HDD cable like this.
Is this possible to boot from e-SATA via changing bootenvs?If its possible which envs i must use?
Regards.
ide reset scsi reset
Quote
Trond
In principle, U-Boot may also be loaded from the SSD attached to the eSATA connector by changing the first byte of the U-Boot image to 0x78 which means "Boot from SATA device" and placing the "image LBA location offset (in sectors) in the hard drive used for boot" in bytes 0xC–0xF (page 85, Tabele 11). Also, the Sample at Reset Register at 0x18230 must be modified once to make the BootROM prefer SATA over NAND. This can be done from U-Boot. Cool? Yes, but not part of my plan. :-)
Re: Debian on Netgear RN102 September 29, 2020 06:58PM |
Registered: 5 years ago Posts: 73 |
BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED l __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-102 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9ef34 BSS: 0x1ffef0a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: GBE0 SDIO AUDIO TDM Modules/Interfaces Detected: RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: , egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 Marvell>> <INTERRUPT> Marvell>> <INTERRUPT> Marvell>> <INTERRUPT> Marvell>> ide reset Reset IDE: Marvell Serial ATA Adapter Integrated Sata device found Device 0 @ 0 0: Model: ST940210AS Firm: 3.ALC Ser#: 5QX1VL4R Type: Hard Disk Supports 48-bit addressing Capacity: 38154.3 MB = 37.2 GB (78140160 x 512) Marvell>>
Re: Debian on Netgear RN102 September 30, 2020 12:09AM |
Admin Registered: 13 years ago Posts: 19,225 |
Quote
Marvell>> ide reset
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
Device 0 @ 0 0:
Model: ST940210AS Firm: 3.ALC Ser#: 5QX1VL4R
Type: Hard Disk
Supports 48-bit addressing
Capacity: 38154.3 MB = 37.2 GB (78140160 x 512)
Marvell>>
Quote
For testing i made rootfs on e-SATA HDD and plugged my previous rootfs and kernel loaded usb flash drive in front.It booted rootfs directly from HDD i am suprized.I think it loaded kernel from usb drive and rootfs from e-SATA drive.
Quote
So if it seems ok how can i boot all kernel and rootfs from e-SATA drive?
Attached photos to post.Couldn't get full bootlog because i am so tired will add full log tomorrow.
Quote
BTW it seems HHD boots faster than USB
Re: Debian on Netgear RN102 September 30, 2020 04:07AM |
Registered: 5 years ago Posts: 73 |
Yes only HDD attached to box is e-SATA disk.And USB flash disk to boot.Nothing else attached.Quote
Bodhi
Was it with only the esATA port has this HDD attched to it? no other HDD in the slots?
Quote
Bodhi
Yes. The SATA drive has the partition with label rootfs. So the kernel sees that and ignore the USB rootfs. HDD always got detected and scanned first.
Quote
Bodhi
If the eSATA drive was detected above in u-boot , then definitely you can boot entirely with eSATA.
BootROM 1.08 Booting from NAND flash General initialization - Version: 1.0.0 High speed PHY - Version: 2.1.4 (COM-PHY-V20) Update PEX Device ID 0x6710 High speed PHY - Ended Successfully 0000 DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run without PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED l __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** U-Boot 2011.12-gec25d27-dirty (Oct 26 2015 - 16:53:05) Marvell version: v2011.12 2014_T2.0p1 06/23/2015 ReadyNAS-102 V2.0 Board: DB-88F6710-BP SoC: MV6710 A1 CPU: Marvell PJ4B v7 UP (Rev 1) LE CPU @ 1200 [MHz] L2 @ 600 [MHz] TClock @ 200 [MHz] DDR @ 600 [MHz] DDR 16Bit Width, FastPath Memory Access DRAM: 512 MiB Map: Code: 0x1feef000:0x1ff9ef34 BSS: 0x1ffef0a0 Stack: 0x1f9eeef8 Heap: 0x1f9ef000:0x1feef000 NAND: (ID 0xf12c) 128 MiB MMC: MRVL_MMC: 0 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 Initialize and scan all PCI interfaces PEX unit.port(active IF[-first bus]): ------------------------------------------ PEX 0: Root Complex Interface, Detected Link X1, GEN 2.0 PEX 1: Root Complex Interface, Detected Link X1, GEN 2.0 FPU not initialized USB 0: Host Mode USB 1: Host Mode Shutting down unused interfaces: GBE0 SDIO AUDIO TDM Modules/Interfaces Detected: RGMII1 Phy PEX0 (Lane 0) PEX1 (Lane 1) SATA0 (Lane 2) SATA1 (Lane 3) Net: , egiga1 [PRIME] Power On! FDT loaded successfully Hit any key to stop autoboot: 0 Marvell>> <INTERRUPT> Marvell>> <INTERRUPT> Marvell>> <INTERRUPT> Marvell>> <INTERRUPT> Marvell>> ide reset Reset IDE: Marvell Serial ATA Adapter Integrated Sata device found Device 0 @ 0 0: Model: ST940210AS Firm: 3.ALC Ser#: 5QX1VL4R Type: Hard Disk Supports 48-bit addressing Capacity: 38154.3 MB = 37.2 GB (78140160 x 512) Marvell>> boot (Re)start USB... USB: Active port: 0 Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Loading file "/boot/uImage" from usb device 0:1 () 5418806 bytes read Loading file "/boot/uInitrd" from usb device 0:1 () 9576098 bytes read ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-5.8.5-mvebu-370xp-tld-1 Created: 2020-09-09 21:14:23 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5418742 Bytes = 5.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 03000000 ... Image Name: initramfs-5.8.5-mvebu-370xp-tld- Created: 2020-09-09 21:45:01 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9576034 Bytes = 9.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.8.5-mvebu-370xp-tld-1 (root@tldDebianVM) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1.0 SMP PREEMPT Mon Aug 31 00:00:32 PDT 2020 [ 0.000000][ T0] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10 c5387d [ 0.000000][ T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000][ T0] OF: fdt: Machine model: NETGEAR ReadyNAS 102 [ 0.000000][ T0] printk: bootconsole [earlycon0] enabled [ 0.000000][ T0] Memory policy: Data cache writeback [ 0.000000][ T0] Zone ranges: [ 0.000000][ T0] Normal [mem 0x0000000000000000-0x000000001fffffff] [ 0.000000][ T0] HighMem empty [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000001fffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001f ffffff] [ 0.000000][ T0] CPU: All CPU(s) started in SVC mode. [ 0.000000][ T0] percpu: Embedded 20 pages/cpu s53068 r8192 d20660 u81920 [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 13 0048 [ 0.000000][ T0] Kernel command line: console=ttyS0,115200 root=LABEL=root fs rootdelay=10 mtdparts=pxa3xx_nand-0:0x180000@0(u-boot),0x20000@0x180000(u-boo t-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ubifs) earlypri ntk=serial init=/bin/systemd mtdparts=pxa3xx_nand-0:0x180000@0(u-boot),0x20000@0 x180000(u-boot-env),0x600000@0x200000(uImage),0x400000@0x800000(minirootfs),-(ub ifs) reason=normal bdtype=rn102 [ 0.000000][ T0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 32768 (order: 5, 131072 b ytes, linear) [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000][ T0] Memory: 493536K/524288K available (10240K kernel code, 10 12K rwdata, 3072K rodata, 1024K init, 342K bss, 30752K reserved, 0K cma-reserved , 0K highmem) [ 0.000000][ T0] random: get_random_u32 called from ____cache_alloc+0x338/ 0x794 with crng_init=0 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_id s=1. [ 0.000000][ T0] Trampoline variant of Tasks RCU enabled. [ 0.000000][ T0] Rude variant of Tasks RCU enabled. [ 0.000000][ T0] Tracing variant of Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay i s 10 jiffies. [ 0.000000][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_id s=1 [ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000][ T0] L2C: DT/platform modifies aux control register: 0x1208630 0 -> 0x1a086302 [ 0.000000][ T0] Aurora cache controller enabled, 4 ways, 256 kB [ 0.000000][ T0] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302 [ 0.000000][ T0] Switching to timer-based delay loop, resolution 53ns [ 0.000006][ T0] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps eve ry 114537122277ns [ 0.007874][ T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 101938038664 ns [ 0.019297][ T0] Console: colour dummy device 80x30 [ 0.024017][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.49 BogoMIPS (lpj=187492) [ 0.034146][ T0] pid_max: default: 32768 minimum: 301 [ 0.039211][ T0] LSM: Security Framework initializing [ 0.044158][ T0] Mount-cache hash table entries: 1024 (order: 0, 4096 byte s, linear) [ 0.051487][ T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.060284][ T0] CPU: Testing write buffer coherency: ok [ 0.065723][ T1] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.072059][ T1] Setting up static identity map for 0x100000 - 0x100060 [ 0.078747][ T1] mvebu-soc-id: MVEBU SoC ID=0x6710, Rev=0x1 [ 0.084178][ T1] mvebu-pmsu: Initializing Power Management Service Unit [ 0.090703][ T1] rcu: Hierarchical SRCU implementation. [ 0.098528][ T1] smp: Bringing up secondary CPUs ... [ 0.103418][ T1] smp: Brought up 1 node, 1 CPU [ 0.107715][ T1] SMP: Total of 1 processors activated (37.49 BogoMIPS). [ 0.114035][ T1] CPU: All CPU(s) started in SVC mode. [ 0.119579][ T1] devtmpfs: initialized [ 0.128181][ T1] VFP support v0.3: implementor 56 architecture 2 part 20 v ariant 9 rev 6 [ 0.137105][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffff ffff, max_idle_ns: 19112604462750000 ns [ 0.146877][ T1] futex hash table entries: 256 (order: 2, 16384 bytes, lin ear) [ 0.154089][ T1] xor: measuring software checksum speed [ 0.258575][ T1] arm4regs : 1103.200 MB/sec [ 0.358572][ T1] 8regs : 671.200 MB/sec [ 0.458568][ T1] 32regs : 1062.400 MB/sec [ 0.463021][ T1] xor: using function: arm4regs (1103.200 MB/sec) [ 0.468785][ T1] prandom: seed boundary self test passed [ 0.477388][ T1] prandom: 100 self tests passed [ 0.481801][ T1] pinctrl core: initialized pinctrl subsystem [ 0.488937][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 0.489672][ T1] NET: Registered protocol family 16 [ 0.502532][ T1] DMA: preallocated 256 KiB pool for atomic coherent alloca tions [ 0.510427][ T1] audit: initializing netlink subsys (disabled) [ 0.516397][ T31] audit: type=2000 audit(0.490:1): state=initialized audit_ enabled=0 res=1 [ 0.526687][ T1] cpuidle: using governor ladder [ 0.532706][ T1] cpuidle: using governor menu [ 0.537219][ T1] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.809662][ T1] raid6: int32x8 gen() 214 MB/s [ 0.978986][ T1] raid6: int32x8 xor() 135 MB/s [ 1.148653][ T1] raid6: int32x4 gen() 224 MB/s [ 1.318713][ T1] raid6: int32x4 xor() 151 MB/s [ 1.488577][ T1] raid6: int32x2 gen() 414 MB/s [ 1.658571][ T1] raid6: int32x2 xor() 217 MB/s [ 1.828605][ T1] raid6: int32x1 gen() 430 MB/s [ 1.998590][ T1] raid6: int32x1 xor() 201 MB/s [ 2.003121][ T1] raid6: using algorithm int32x1 gen() 430 MB/s [ 2.008694][ T1] raid6: .... xor() 201 MB/s, rmw enabled [ 2.013779][ T1] raid6: using intx1 recovery algorithm [ 2.020115][ T1] vgaarb: loaded [ 2.025085][ T1] SCSI subsystem initialized [ 2.030354][ T1] usbcore: registered new interface driver usbfs [ 2.036054][ T1] usbcore: registered new interface driver hub [ 2.043232][ T1] usbcore: registered new device driver usb [ 2.049955][ T1] mc: Linux media interface: v0.10 [ 2.055380][ T1] videodev: Linux video capture interface: v2.00 [ 2.061870][ T1] pps_core: LinuxPPS API ver. 1 registered [ 2.067039][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodol fo Giometti <giometti@linux.it> [ 2.076775][ T1] PTP clock support registered [ 2.084613][ T1] clocksource: Switched to clocksource armada_370_xp_clocks ource [ 3.073764][ T1] VFS: Disk quotas dquot_6.6.0 [ 3.078146][ T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 3.114256][ T1] NET: Registered protocol family 2 [ 3.121014][ T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 3.129761][ T1] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 3.137725][ T1] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 3.145009][ T1] TCP: Hash tables configured (established 4096 bind 4096) [ 3.152009][ T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear ) [ 3.158822][ T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, l inear) [ 3.166056][ T1] NET: Registered protocol family 1 [ 3.171430][ T1] RPC: Registered named UNIX socket transport module. [ 3.177569][ T1] RPC: Registered udp transport module. [ 3.182498][ T1] RPC: Registered tcp transport module. [ 3.187446][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.193963][ T1] PCI: CLS 0 bytes, default 64 [ 3.198580][ T1] Trying to unpack rootfs image as initramfs... [ 3.819000][ T1] Freeing initrd memory: 9352K [ 3.823527][ T1] NetWinder Floating Point Emulator V0.97 (double precision ) [ 3.830477][ T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available [ 3.841463][ T1] Initialise system trusted keyrings [ 3.848266][ T1] Key type blacklist registered [ 3.852797][ T1] workingset: timestamp_bits=30 max_order=17 bucket_order=0 [ 3.859616][ T1] zbud: loaded [ 3.864207][ T1] NFS: Registering the id_resolver key type [ 3.869941][ T1] Key type id_resolver registered [ 3.874398][ T1] Key type id_legacy registered [ 3.878835][ T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering ... [ 3.885724][ T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 3.892473][ T1] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat , Inc. [ 3.900740][ T1] orangefs_debugfs_init: called with debug mask: :none: :0: [ 3.907693][ T1] orangefs_init: module version upstream loaded [ 3.986625][ T1] async_tx: api initialized (async) [ 3.991256][ T1] Key type asymmetric registered [ 3.995705][ T1] Asymmetric key parser 'x509' registered [ 4.001145][ T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 4.008766][ T1] io scheduler bfq registered [ 4.015884][ T1] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver [ 4.032725][ T1] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000 :00 [ 4.040004][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 4.046060][ T1] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdf ffff] [ 4.052973][ T1] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 4.059654][ T1] pci 0000:00:01.0: [11ab:6710] type 01 class 0x060400 [ 4.065891][ T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pr ef] [ 4.073232][ T1] pci 0000:00:02.0: [11ab:6710] type 01 class 0x060400 [ 4.079602][ T1] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pr ef] [ 4.087917][ T1] PCI: bus0: Fast back to back transfers disabled [ 4.093653][ T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-0 0]), reconfiguring [ 4.101846][ T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-0 0]), reconfiguring [ 4.110287][ T1] pci 0000:01:00.0: [1b4b:9170] type 00 class 0x010601 [ 4.116671][ T1] pci 0000:01:00.0: reg 0x10: [io 0xfffffff8-0xffffffff] [ 4.123037][ T1] pci 0000:01:00.0: reg 0x14: [io 0xfffffffc-0xffffffff] [ 4.129509][ T1] pci 0000:01:00.0: reg 0x18: [io 0xfffffff8-0xffffffff] [ 4.135965][ T1] pci 0000:01:00.0: reg 0x1c: [io 0xfffffffc-0xffffffff] [ 4.142330][ T1] pci 0000:01:00.0: reg 0x20: [io 0xfffffff0-0xffffffff] [ 4.148750][ T1] pci 0000:01:00.0: reg 0x24: [mem 0x40000000-0x400001ff] [ 4.155176][ T1] pci 0000:01:00.0: reg 0x30: [mem 0xd0000000-0xd000ffff pr ef] [ 4.161949][ T1] pci 0000:01:00.0: Enabling fixed DMA alias to 00.1 [ 4.168017][ T1] pci 0000:01:00.0: PME# supported from D3hot [ 4.173874][ T1] pci 0000:00:01.0: ASPM: current common clock configuratio n is inconsistent, reconfiguring [ 4.205702][ T1] PCI: bus1: Fast back to back transfers disabled [ 4.211442][ T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 4.218538][ T1] pci 0000:02:00.0: [1b73:1009] type 00 class 0x0c0330 [ 4.224889][ T1] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x4200ffff 64 bit] [ 4.231734][ T1] pci 0000:02:00.0: reg 0x18: [mem 0x42010000-0x42010fff 64 bit] [ 4.238680][ T1] pci 0000:02:00.0: reg 0x20: [mem 0x42011000-0x42011fff 64 bit] [ 4.245680][ T1] pci 0000:02:00.0: supports D1 [ 4.249978][ T1] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold [ 4.256948][ T1] pci 0000:00:02.0: ASPM: current common clock configuratio n is inconsistent, reconfiguring [ 4.295699][ T1] PCI: bus2: Fast back to back transfers disabled [ 4.301437][ T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 4.308263][ T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80f ffff] [ 4.315235][ T1] pci 0000:00:02.0: BAR 14: assigned [mem 0xf8100000-0xf81f ffff] [ 4.322148][ T1] pci 0000:00:01.0: BAR 13: assigned [io 0x10000-0x10fff] [ 4.328635][ T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8200000-0xf8200 7ff pref] [ 4.335887][ T1] pci 0000:00:02.0: BAR 6: assigned [mem 0xf8300000-0xf8300 7ff pref] [ 4.343124][ T1] pci 0000:01:00.0: BAR 6: assigned [mem 0xf8000000-0xf800f fff pref] [ 4.350373][ T1] pci 0000:01:00.0: BAR 5: assigned [mem 0xf8010000-0xf8010 1ff] [ 4.357228][ T1] pci 0000:01:00.0: BAR 4: assigned [io 0x10000-0x1000f] [ 4.363588][ T1] pci 0000:01:00.0: BAR 0: assigned [io 0x10010-0x10017] [ 4.369964][ T1] pci 0000:01:00.0: BAR 2: assigned [io 0x10018-0x1001f] [ 4.376341][ T1] pci 0000:01:00.0: BAR 1: assigned [io 0x10020-0x10023] [ 4.382701][ T1] pci 0000:01:00.0: BAR 3: assigned [io 0x10024-0x10027] [ 4.389077][ T1] pci 0000:00:01.0: PCI bridge to [bus 01] [ 4.394247][ T1] pci 0000:00:01.0: bridge window [io 0x10000-0x10fff] [ 4.400623][ T1] pci 0000:00:01.0: bridge window [mem 0xf8000000-0xf80ff fff] [ 4.407482][ T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8100000-0xf810f fff 64bit] [ 4.414816][ T1] pci 0000:02:00.0: BAR 2: assigned [mem 0xf8110000-0xf8110 fff 64bit] [ 4.422132][ T1] pci 0000:02:00.0: BAR 4: assigned [mem 0xf8111000-0xf8111 fff 64bit] [ 4.429464][ T1] pci 0000:00:02.0: PCI bridge to [bus 02] [ 4.434652][ T1] pci 0000:00:02.0: bridge window [mem 0xf8100000-0xf81ff fff] [ 4.441609][ T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143) [ 4.447957][ T1] pcieport 0000:00:02.0: enabling device (0140 -> 0142) [ 4.455439][ T1] mv_xor d0060800.xor: Marvell shared XOR driver [ 4.526004][ T1] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.537016][ T1] mv_xor d0060900.xor: Marvell shared XOR driver [ 4.606018][ T1] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 4.808117][ T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 4.818987][ T1] printk: console [ttyS0] disabled [ 4.845281][ T1] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 19, base _baud = 12500000) is a 16550A [ 4.854208][ T1] printk: console [ttyS0] enabled [ 4.854208][ T1] printk: console [ttyS0] enabled [ 4.863378][ T1] printk: bootconsole [earlycon0] disabled [ 4.863378][ T1] printk: bootconsole [earlycon0] disabled [ 4.876227][ T1] ahci 0000:01:00.0: enabling device (0146 -> 0147) [ 4.882466][ T1] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode [ 4.891464][ T1] ahci 0000:01:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 4.902942][ T1] scsi host0: ahci [ 4.907616][ T1] scsi host1: ahci [ 4.911660][ T1] ata1: SATA max UDMA/133 abar m512@0xf8010000 port 0xf8010 100 irq 42 [ 4.919456][ T1] ata2: SATA max UDMA/133 abar m512@0xf8010000 port 0xf8010 180 irq 42 [ 4.928070][ T1] sata_mv d00a0000.sata: slots 32 ports 1 [ 4.936508][ T1] scsi host2: sata_mv [ 4.940844][ T1] ata3: SATA max UDMA/133 irq 27 [ 4.946977][ T1] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1 [ 4.953480][ T1] nand: Micron MT29F1G08ABADAWP [ 4.958930][ T1] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 4.967363][ T1] Bad block table found at page 65472, version 0x01 [ 4.973827][ T1] Bad block table found at page 65408, version 0x01 [ 4.980167][ T1] 5 cmdlinepart partitions found on MTD device pxa3xx_nand- 0 [ 4.986987][ T1] Creating 5 MTD partitions on "pxa3xx_nand-0": [ 4.992609][ T1] 0x000000000000-0x000000180000 : "u-boot" [ 5.000131][ T1] 0x000000180000-0x0000001a0000 : "u-boot-env" [ 5.008493][ T1] 0x000000200000-0x000000800000 : "uImage" [ 5.016572][ T1] 0x000000800000-0x000000c00000 : "minirootfs" [ 5.024962][ T1] 0x000000c00000-0x000008000000 : "ubifs" [ 5.034531][ T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 5.043722][ T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Ja son@zx2c4.com>. All Rights Reserved. [ 5.057273][ T1] libphy: Fixed MDIO Bus: probed [ 5.066828][ T1] libphy: orion_mdio_bus: probed [ 5.089362][ T1] mvneta d0074000.ethernet eth0: Using random mac address 7 e:a5:e6:ae:62:8b [ 5.101839][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drive r [ 5.109195][ T1] ehci-pci: EHCI PCI platform driver [ 5.114167][ T1] ehci-orion: EHCI orion driver [ 5.119187][ T1] orion-ehci d0050000.usb: EHCI Host Controller [ 5.125114][ T1] orion-ehci d0050000.usb: new USB bus registered, assigned bus number 1 [ 5.132978][ T1] orion-ehci d0050000.usb: irq 25, io mem 0xd0050000 [ 5.164662][ T1] orion-ehci d0050000.usb: USB 2.0 started, EHCI 1.00 [ 5.171150][ T1] usb usb1: New USB device found, idVendor=1d6b, idProduct= 0002, bcdDevice= 5.08 [ 5.179495][ T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seria lNumber=1 [ 5.186859][ T1] usb usb1: Product: EHCI Host Controller [ 5.192047][ T1] usb usb1: Manufacturer: Linux 5.8.5-mvebu-370xp-tld-1 ehc i_hcd [ 5.199088][ T1] usb usb1: SerialNumber: d0050000.usb [ 5.205131][ T1] hub 1-0:1.0: USB hub found [ 5.209634][ T1] hub 1-0:1.0: 1 port detected [ 5.215500][ T1] xhci_hcd 0000:02:00.0: xHCI Host Controller [ 5.221504][ T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned b us number 2 [ 5.229970][ T1] xhci_hcd 0000:02:00.0: hcc params 0x200073a1 hci version 0x100 quirks 0x0000000000080010 [ 5.240102][ T1] usb usb2: New USB device found, idVendor=1d6b, idProduct= 0002, bcdDevice= 5.08 [ 5.248519][ T1] usb usb2: New USB device strings: Mfr=3, Product=2, Seria lNumber=1 [ 5.255897][ T1197] ata2: SATA link down (SStatus 0 SControl 300) [ 5.261584][ T1193] ata1: SATA link down (SStatus 0 SControl 300) [ 5.267266][ T1] usb usb2: Product: xHCI Host Controller [ 5.272505][ T1] usb usb2: Manufacturer: Linux 5.8.5-mvebu-370xp-tld-1 xhc i-hcd [ 5.279606][ T1] usb usb2: SerialNumber: 0000:02:00.0 [ 5.285560][ T1] hub 2-0:1.0: USB hub found [ 5.289991][ T1] hub 2-0:1.0: 2 ports detected [ 5.295479][ T1] xhci_hcd 0000:02:00.0: xHCI Host Controller [ 5.300970][ T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned b us number 3 [ 5.308882][ T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed [ 5.315676][ T1] usb usb3: We don't know the algorithms for LPM for this h ost, disabling LPM. [ 5.323968][ T1] usb usb3: New USB device found, idVendor=1d6b, idProduct= 0003, bcdDevice= 5.08 [ 5.332370][ T1] usb usb3: New USB device strings: Mfr=3, Product=2, Seria lNumber=1 [ 5.339733][ T1] usb usb3: Product: xHCI Host Controller [ 5.344920][ T1] usb usb3: Manufacturer: Linux 5.8.5-mvebu-370xp-tld-1 xhc i-hcd [ 5.351896][ T1] usb usb3: SerialNumber: 0000:02:00.0 [ 5.357764][ T1] hub 3-0:1.0: USB hub found [ 5.362160][ T1] hub 3-0:1.0: 2 ports detected [ 5.368323][ T1] usbcore: registered new interface driver usblp [ 5.375125][ T1] usbcore: registered new interface driver usb-storage [ 5.382124][ T1] mousedev: PS/2 mouse device common for all mice [ 5.389967][ T1] i2c /dev entries driver [ 5.398763][ T1] rtc-ds1307 0-0068: 'wakeup-source' is set, request for an IRQ is disabled! [ 5.412146][ T1] rtc-ds1307 0-0068: registered as rtc0 [ 5.418828][ T1] rtc-ds1307 0-0068: setting system clock to 2000-01-06T21: 08:32 UTC (947192912) [ 5.444702][ T1209] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl F300) [ 5.456279][ T1] orion_wdt: Initial timeout 229 sec [ 5.461617][ T1209] ata3.00: ATA-7: ST940210AS, 3.ALC, max UDMA/100 [ 5.468672][ T1] device-mapper: uevent: version 1.0.3 [ 5.473725][ T1209] ata3.00: 78140160 sectors, multi 0: LBA48 NCQ (depth 31/3 2) [ 5.481337][ T1] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialis ed: dm-devel@redhat.com [ 5.490748][ T1] device-mapper: multipath round-robin: version 1.2.0 loade d [ 5.497834][ T1] device-mapper: multipath queue-length: version 0.2.0 load ed [ 5.505048][ T1] device-mapper: multipath service-time: version 0.3.0 load ed [ 5.511879][ T1209] ata3.00: configured for UDMA/100 [ 5.516598][ T1] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 5.522857][ T1] device-mapper: raid: Loading target version 1.15.1 [ 5.536509][ T1] marvell-cesa d0090000.crypto: CESA device successfully re gistered [ 5.544289][ T1201] scsi 2:0:0:0: Direct-Access ATA ST940210AS C PQ: 0 ANSI: 5 [ 5.553293][ T1] hid: raw HID events driver (C) Jiri Kosina [ 5.561124][ T183] sd 2:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.3 GiB) [ 5.570885][ T1] usbcore: registered new interface driver usbhid [ 5.576812][ T20] usb 1-1: new high-speed USB device number 2 using orion-e hci [ 5.584344][ T183] sd 2:0:0:0: [sda] Write Protect is off [ 5.589814][ T1] usbhid: USB HID core driver [ 5.594403][ T183] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabl ed, doesn't support DPO or FUA [ 5.604320][ T1] drop_monitor: Initializing network drop monitor service [ 5.613388][ T1] NET: Registered protocol family 10 [ 5.619641][ T1] Segment Routing with IPv6 [ 5.623667][ T1] RPL Segment Routing with IPv6 [ 5.628228][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 5.636810][ T1] NET: Registered protocol family 17 [ 5.642585][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 5.647305][ T1] Key type dns_resolver registered [ 5.652183][ T1] ThumbEE CPU extension supported. [ 5.656873][ T1] Registering SWP/SWPB emulation handler [ 5.662434][ T1] registered taskstats version 1 [ 5.667316][ T1] Loading compiled-in X.509 certificates [ 5.672534][ T1] zswap: loaded using pool lzo/zbud [ 5.677751][ T1] Key type ._fscrypt registered [ 5.682095][ T1] Key type .fscrypt registered [ 5.686492][ T1] Key type fscrypt-provisioning registered [ 5.694753][ T1] Key type big_key registered [ 5.723710][ T1] Key type encrypted registered [ 5.732724][ T1] input: gpio-keys as /devices/platform/gpio-keys/input/inp ut0 [ 5.773077][ T183] sda: sda1 [ 5.779889][ T183] sd 2:0:0:0: [sda] Attached SCSI disk [ 5.787421][ T20] usb 1-1: New USB device found, idVendor=0781, idProduct=5 56b, bcdDevice= 1.26 [ 5.797376][ T1] Freeing unused kernel memory: 1024K [ 5.802501][ T20] usb 1-1: New USB device strings: Mfr=1, Product=2, Serial Number=3 [ 5.812051][ T1] Checked W+X mappings: passed, no W+X pages found [ 5.818176][ T1] Run /init as init process [ 5.824792][ T20] usb 1-1: Product: Cruzer Edge [ 5.829175][ T20] usb 1-1: Manufacturer: SanDisk [ 5.833597][ T20] usb 1-1: SerialNumber: 20053045001B529189D3 [ 5.856531][ T20] usb-storage 1-1:1.0: USB Mass Storage device detected [ 5.874957][ T20] scsi host3: usb-storage 1-1:1.0 Loading, please wait... Starting version 241 [ 6.906564][ T183] scsi 3:0:0:0: Direct-Access SanDisk Cruzer Edge 1.26 PQ: 0 ANSI: 6 [ 6.925769][ T1201] sd 3:0:0:0: [sdb] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB) [ 6.950244][ T1201] sd 3:0:0:0: [sdb] Write Protect is off [ 6.966202][ T1201] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enab led, doesn't support DPO or FUA [ 7.026454][ T1201] sdb: sdb1 [ 7.037157][ C0] random: fast init done [ 7.043887][ T1201] sd 3:0:0:0: [sdb] Attached SCSI disk [ 8.885016][ T1485] usbcore: registered new interface driver uas 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. [ 21.248622][ T1503] process '/usr/bin/fstype' started with executable stack Begin: Will now check root file system ... fsck from util-linux 2.33.1 [/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1 rootfs: clean, 28904/488640 files, 381660/1953536 blocks done. [ 22.051467][ T1513] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 22.427542][ T1513] EXT4-fs (sda1): mounted filesystem with ordered data mode . Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 24.855464][ T1] systemd[1]: System time before build time, advancing cloc k. [ 25.319091][ T1] systemd[1]: systemd 241 running in system mode. (+PAM +AU DIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTL S +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierar chy=hybrid) [ 25.340710][ T1] systemd[1]: Detected architecture arm. Welcome to Debian GNU/Linux 10 (buster)! [ 25.443933][ T1] systemd[1]: Set hostname to <Neutron>. [ 27.270020][ T1] systemd[1]: File /lib/systemd/system/systemd-journald.ser vice:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. [ 27.286734][ T1] systemd[1]: Proceeding WITHOUT firewalling in effect! (Th is warning is only shown for the first loaded unit using IP firewalling.) [ 28.300706][ T1] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PID File= references path below legacy directory /var/run/, updating /var/run/rpc.st atd.pid → /run/rpc.statd.pid; please update the unit file accordingly. [ 28.505634][ T1] systemd[1]: /lib/systemd/system/fancontrol.service:9: PID File= references path below legacy directory /var/run/, updating /var/run/fancon trol.pid → /run/fancontrol.pid; please update the unit file accordingly. [ 28.629188][ T1] random: systemd: uninitialized urandom read (16 bytes rea d) [ 28.649714][ T1] random: systemd: uninitialized urandom read (16 bytes rea d) [ 28.657998][ T1] systemd[1]: Listening on fsck to fsckd communication Sock et. [ OK ] Listening on fsck to fsckd communication Socket. [ 28.695280][ T1] random: systemd: uninitialized urandom read (16 bytes rea d) [ 28.703911][ T1] systemd[1]: Listening on RPCbind Server Activation Socket . [ OK ] Listening on RPCbind Server Activation Socket. [ 28.746058][ T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Reached target Swap. [ OK ] Created slice User and Session Slice. [ OK ] Reached target Slices. [ OK ] Created slice system-getty.slice. [ OK ] Listening on udev Control Socket. [ OK ] Set up automount Arbitrary…s File System Automount Point. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Listening on Journal Socket. Mounting POSIX Message Queue File System... Mounting NFSD configuration filesystem... Mounting RPC Pipe File System... [ OK ] Reached target System Time Synchronized. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ OK ] Reached target Local Encrypted Volumes. [ OK ] Reached target Paths. [ 29.344727][ C0] random: crng init done [ 29.348525][ C0] random: 7 urandom warning(s) missed due to ratelimiting Starting Load Kernel Modules... Starting Remount Root and Kernel File Systems... Starting Create list of re…odes for the current kernel... Mounting Kernel Debug File System... [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Listening on Journal Audit Socket. Starting Journal Service... [ OK ] Listening on udev Kernel Socket. Starting udev Coldplug all Devices... [ 29.825299][ T1547] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted NFSD configuration filesystem. [ OK ] Mounted RPC Pipe File System. [ OK ] Started Load Kernel Modules. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Create list of req… nodes for the current kernel. [ OK ] Mounted Kernel Debug File System. Starting Create System Users... Starting Load/Save Random Seed... [ 30.331791][ T1] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 30.481048][ T1] systemd[1]: Starting pNFS block layout mapping daemon... Starting pNFS block layout mapping daemon... [ 30.576143][ T1] systemd[1]: nfs-blkmap.service: Can't open PID file /run/ blkmapd.pid (yet?) after start: No such file or directory [ 30.655796][ T1] systemd[1]: Started pNFS block layout mapping daemon. [ OK ] Started pNFS block layout mapping daemon. [ 30.833572][ T1] systemd[1]: Started Load/Save Random Seed. [ OK ] Started Load/Save Random Seed. [ 30.915559][ T1] systemd[1]: Started Create System Users. [ OK ] Started Create System Users. [ 30.945010][ T1] systemd[1]: Started Apply Kernel Variables. [ OK ] Started Apply Kernel Variables. [ 30.997166][ T1] systemd[1]: Starting Create Static Device Nodes in /dev.. . Starting Create Static Device Nodes in /dev... [ 31.460203][ T1] systemd[1]: Started Create Static Device Nodes in /dev. [ OK ] Started Create Static Device Nodes in /dev. [ 31.516727][ T1] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... Starting udev Kernel Device Manager... [ OK ] Mounted /tmp. [ 31.986255][ T1546] systemd-journald[1546]: Received request to flush runtime journal from PID 1 [ OK ] Reached target Local File Systems. Starting Preprocess NFS configuration... [ OK ] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... [ OK ] Started Preprocess NFS configuration. [ OK ] Reached target NFS client services. Starting NFSv4 ID-name mapping service... [ OK ] Started udev Kernel Device Manager. [ OK ] Started NFSv4 ID-name mapping service. [ OK ] Started Create Volatile Files and Directories. Starting RPC bind portmap service... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started RPC bind portmap service. [ OK ] Reached target RPC Port Mapper. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started udev Coldplug all Devices. [ OK ] Reached target System Initialization. [ OK ] Started Daily apt download activities. [ OK ] Started Daily man-db regeneration. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Started Daily rotation of log files. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting Avahi mDNS/DNS-SD Stack... Starting fan speed regulator... [ OK ] Started D-Bus System Message Bus. Starting Login Service... Starting Helper to synchronize boot up for ifupdown... [ OK ] Found device /dev/ttyS0. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started Login Service. [ 36.624973][ T1565] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 36.877757][ T1565] sd 3:0:0:0: Attached scsi generic sg1 type 0 [ OK ] Started fan speed regulator. [ OK ] Started Helper to synchronize boot up for ifupdown. Starting Raise network interfaces... [ 57.409125][ T1847] mvneta d0074000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1318S] (irq=POLL) [ 57.419160][ T1847] mvneta d0074000.ethernet eth0: configuring for phy/rgmii- id link mode [ 59.545616][ T20] mvneta d0074000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 59.553843][ T20] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ OK ] Started Raise network interfaces. [ OK ] Reached target Network. Starting /etc/rc.local Compatibility... [ OK ] Started Glances. Starting NFS Mount Daemon... Starting OpenBSD Secure Shell server... Starting Network Time Service... [ 66.383474][ T1917] Setting Persistent MAC address to 00:50:43:00:02:02 [ 66.562567] rc.local[1915]: <13>Feb 14 02:12:39 root[1927]: Setting Persisten t MAC address to 00:50:43:00:02:02 [ 67.027824] rc.local[1915]: Killed old client process [ OK ] Started Network Time Service. [ OK ] Started NFS Mount Daemon. Starting NFS server and services... [ OK ] Started OpenBSD Secure Shell server. [ 68.004392] rc.local[1915]: Internet Systems Consortium DHCP Client 4.4.1 [ 68.012665] rc.local[1915]: Copyright 2004-2018 Internet Systems Consortium. [ 68.041014] rc.local[1915]: All rights reserved. [ 68.071051] rc.local[1915]: For info, please visit https://www.isc.org/softwa re/dhcp/ [ 68.104249] rc.local[1915]: Listening on LPF/eth0/7e:a5:e6:ae:62:8b [ 68.148363] rc.local[1915]: Sending on LPF/eth0/7e:a5:e6:ae:62:8b [ 68.183830] rc.local[1915]: Sending on Socket/fallback [ 68.192006] rc.local[1915]: DHCPRELEASE of 192.168.2.112 on eth0 to 192.168.2 .1 port 67 [ 68.407761][ T20] mvneta d0074000.ethernet eth0: Link is Down [ 68.764202][ T1947] NFSD: Using UMH upcall client tracking operations. [ 68.778629][ T1947] NFSD: starting 90-second grace period (net f0000021) [ OK ] Started NFS server and services. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. Starting LSB: Starts syslogd... [ OK ] Started Regular background program processing daemon. Starting Permit User Sessions... [ 69.239631] rc.local[1915]: Internet Systems Consortium DHCP Client 4.4.1 [ 69.291020] rc.local[1915]: Copyright 2004-2018 Internet Systems Consortium. [ 69.321038] rc.local[1915]: All rights reserved. [ 69.351027] rc.local[1915]: For info, please visit https://www.isc.org/softwa re/dhcp/ [ OK ] Started Permit User [ 69.611424][ T1996] mvneta d0074000.ethernet eth 0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1318S] (irq=POLL) Sessions. [ 69.643239][ T1996] mvneta d0074000.ethernet eth0: configuring for phy/rgmii- id link mode [ 69.744835] rc.local[1915]: Listening on LPF/eth0/00:50:43:00:02:02 [ 69.758057] rc.local[1915]: Sending on LPF/eth0/00:50:43:00:02:02 [ 69.791226] rc.local[1915]: Sending on Socket/fallback [ 69.820984] rc.local[1915]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 i nterval 4 [ OK ] Started LSB: Starts syslogd. Starting LSB: Starts klogd... [ OK ] Started LSB: Starts klogd. [ 71.787646][ T20] mvneta d0074000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 71.795873][ T20] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 73.786491] rc.local[1915]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 i nterval 6 [ 76.553496] rc.local[1915]: DHCPOFFER of 192.168.2.112 from 192.168.2.1 [ 76.561196] rc.local[1915]: DHCPREQUEST for 192.168.2.112 on eth0 to 255.255. 255.255 port 67 [ 76.590996] rc.local[1915]: DHCPACK of 192.168.2.112 from 192.168.2.1 [ 77.002922] rc.local[1915]: bound to 192.168.2.112 -- renewal in 18447 second s. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. [ 78.800030][ T2066] fbcon: Taking over console Debian GNU/Linux 10 Neutron ttyS0 Neutron login: root Password: Last login: Thu Feb 14 02:15:21 PST 2019 on ttyS0 Linux Neutron 5.8.5-mvebu-370xp-tld-1 #1.0 SMP PREEMPT Mon Aug 31 00:00:32 PDT 2 020 armv7l 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. Neutron 192.168.2.112 NETGEAR ReadyNAS 102 Linux version 5.8.5-mvebu-370xp-tld-1 (root@tldDebianVM) (arm-linux-gnueabihf-gc c (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2 .30) #1.0 SMP PREEMPT Mon Aug 31 00:00:32 PDT 2020 Debian 10.5 Thu Feb 14 02:13:04 PST 2019 up 1 minute root@Neutron:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 37.3G 0 disk └─sda1 8:1 0 37.3G 0 part / sdb 8:16 0 7.5G 0 disk └─sdb1 8:17 0 7.5G 0 part mtdblock0 31:0 0 1.5M 0 disk mtdblock1 31:1 0 128K 0 disk mtdblock2 31:2 0 6M 0 disk mtdblock3 31:3 0 4M 0 disk mtdblock4 31:4 0 116M 0 disk root@Neutron:~# dmesg | grep -i sata [ 4.882466] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 imp l SATA mode [ 4.911660] ata1: SATA max UDMA/133 abar m512@0xf8010000 port 0xf8010100 irq 42 [ 4.919456] ata2: SATA max UDMA/133 abar m512@0xf8010000 port 0xf8010180 irq 42 [ 4.927854] sata_mv d00a0000.sata: version 1.28 [ 4.928070] sata_mv d00a0000.sata: slots 32 ports 1 [ 4.936508] scsi host2: sata_mv [ 4.940844] ata3: SATA max UDMA/133 irq 27 [ 5.255897] ata2: SATA link down (SStatus 0 SControl 300) [ 5.261584] ata1: SATA link down (SStatus 0 SControl 300) [ 5.444702] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl F300) root@Neutron:~#