|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 16, 2018 05:36AM |
Registered: 7 years ago Posts: 5 |
|
Re: other USB ports March 16, 2018 03:33PM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 16, 2018 11:30PM |
Admin Registered: 14 years ago Posts: 19,935 |
./boot/dts/armada-388-db.dtb
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 17, 2018 07:14AM |
Registered: 7 years ago Posts: 104 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 17, 2018 04:44PM |
Admin Registered: 14 years ago Posts: 19,935 |
+ usb2_power: regulator@1 {
+ compatible = "regulator-fixed";
+ reg = <1>;
+ regulator-name = "USB2 Power";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ enable-active-high;
+ regulator-always-on;
+ regulator-boot-on;
+ gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
+ };
|
Re: other USB ports March 17, 2018 05:55PM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 01:57AM |
Admin Registered: 14 years ago Posts: 19,935 |
/* N2350 GPIO(MPP) Definition */ static const unsigned char FAN_TACH = 6; static const unsigned char STAT_LED_WHITE = 14; static const unsigned char STAT_LED_RED = 15; static const unsigned char USB_LED_WHITE = 16; static const unsigned char USB_LED_RED = 17; static const unsigned char PWR_LED_RED = 18; static const unsigned char HDD1_LED_WHITE = 19; static const unsigned char HDD0_LED_WHITE = 20; static const unsigned char USB3_PORT0_EN = 21; static const unsigned char USB3_PORT1_EN = 24; static const unsigned char HDD0_ATTACH = 26; static const unsigned char HDD1_ATTACH = 27; static const unsigned char PWR_LED_BLUE = 43; static const unsigned char HDD0_EN = 44; static const unsigned char HDD1_EN = 45; static const unsigned char HDD0_LED_RED = 46; static const unsigned char HDD1_LED_RED = 47; static const unsigned char FAN_CTRL = 48; static const unsigned char PWR_BTN = 49; static const unsigned char RESET_BTN = 50; static const unsigned char BUZZER_CTRL = 51; static const unsigned char USB_COPY_BTN = 52; static const unsigned char USB_OVER_CURRENT = 53; static const unsigned char PWROFF_CTRL = 54; static const unsigned char TEMPERATURE_INT = 55;
static const unsigned char USB3_PORT0_EN = 21; static const unsigned char USB3_PORT1_EN = 24;
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 01:59AM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: other USB ports March 18, 2018 02:21AM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: other USB ports March 18, 2018 02:33AM |
Registered: 7 years ago Posts: 104 |
|
Re: other USB ports March 18, 2018 03:07AM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: other USB ports March 18, 2018 04:22AM |
Registered: 7 years ago Posts: 104 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 06:49AM |
Admin Registered: 14 years ago Posts: 19,935 |
BootROM - 1.73 Booting from SPI flash
[ 3.652367] 2 ofpart partitions found on MTD device spi1.0 [ 3.657900] Creating 2 MTD partitions on "spi1.0": [ 3.662714] 0x000000000000-0x000000400000 : "U-Boot-img" [ 3.669677] 0x000000100000-0x000000400000 : "U-Boot-env"
cat /proc/mtd
dd if=/dev/mtdx of=mtd_uboot bs=1024k conv=sync
kwboot -t -B 115200 /dev/ttyUSB0 -b mtd_uboot -p
kwboot -t -B 115200 /dev/ttyUSB0 -b mtd_uboot -p -s 0 -q 1
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 08:02AM |
Registered: 7 years ago Posts: 104 |
N2350:~# cat /proc/mtd dev: size erasesize name mtd0: 20000000 00020000 "ubifs" mtd1: 00400000 00010000 "U-Boot-img" mtd2: 00300000 00010000 "U-Boot-env" mtd3: 05885000 0001f000 "boot" mtd4: 008f6000 0001f000 "etc" mtd5: 1803b000 0001f000 "rom" mtd6: 00706000 0001f000 "version" N2350:~# ls N2350:~# dd if=/dev/mtd1 of=mtd_uboot bs=1024k conv=sync 4+0 records in 4+0 records out N2350:~# ls -l -rw-r--r-- 1 root root 4194304 Mar 18 20:40 mtd_uboot
[kwboot]$ ../kwboot-x86_64 -t -B 115200 /dev/ttyACM0 -b mtd_uboot -p Sending boot message. Please reboot the target...\ Sending boot image... BootROM - 1.73 (Boot) Booting from SPI flash General initialization - Version: 1.0.0 AVS selection from EFUSE disabled (Skip reading EFUSE values) Overriding default AVS value to: 0x23 Detected Device ID 6820 High speed PHY - Version: 2.0 Init Customer board board SerDes lanes topology details: | Lane # | Speed| Type | ------------------------------| | 0 | 0 | SGMII0 | | 1 | 3 | SATA0 | | 2 | 3 | SATA1 | | 4 | 5 | USB3 HOST0 | | 5 | 5 | USB3 HOST1 | ------------------------------- High speed PHY - Ended Successfully DDR4 Training Sequence - Ver TIP-0.23.(Sublib 0.8)0 0 % [+xmodem: Protocol error
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 08:44AM |
Registered: 7 years ago Posts: 5 |
[ 8708.644145] usb 2-2.1: New USB device found, idVendor=10c4, idProduct=ea60 [ 8708.644148] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 8708.644150] usb 2-2.1: Product: CP2102 USB to UART Bridge Controller [ 8708.644152] usb 2-2.1: Manufacturer: Silicon Labs [ 8708.644153] usb 2-2.1: SerialNumber: 0001 [ 8708.706781] cp210x 2-2.1:1.0: cp210x converter detected [ 8708.743441] usb 2-2.1: cp210x converter now attached to ttyUSB0
root@ubuntu:~# kwboot -t -B 115200 /dev/ttyUSB0 -b mtd_uboot -p -s 0 -q 1 Sending boot message. Please reboot the target...- Sending boot image... BootROM - 1.73 (Boot) Booting from SPI flash General initialization - Version: 1.0.0 AVS selection from EFUSE disabled (Skip reading EFUSE values) Overriding default AVS value to: 0x23 Detected Device ID 6820 High speed PHY - Version: 2.0 Init Customer board board SerDes lanes topology details: | Lane # | Speed| Type | ------------------------------| | 0 | 0 | SGMII0 | | 1 | 3 | SATA0 | | 2 | 3 | SATA1 | | 4 | 5 | USB3 HOST0 | | 5 | 5 | USB3 HOST1 | ------------------------------- High speed PHY - Ended Successfully DDR4 Training Sequence - Ver TIP-0.23.(Sublib 0.8)0 0 % [+xmodem: Protocol error
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 03:48PM |
Admin Registered: 14 years ago Posts: 19,935 |
BootROM - 1.73 (Boot) Booting from SPI flash
Sending boot image...
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 04:20PM |
Admin Registered: 14 years ago Posts: 19,935 |
setenv load_dtb_addr 0x1000000 setenv load_initrd_addr 0x2900000 setenv load_image_addr 0x02000000 setenv dtbfilename armada-385-thecus-n2350.dtb setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"' setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; ext2load usb 0:1 $load_image_addr /boot/zImage; ext2load usb 0:1 $load_dtb_addr /boot/dts/$dtbfilename; run usb_set_bootargs; bootz $load_image_addr - $load_dtb_addr' usb start run usb_bootcmd
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 04:23PM |
Registered: 7 years ago Posts: 104 |
[kwboot]$ ../kwboot-x86_64 -t -B 115200 /dev/ttyACM0 -b mtd_uboot -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [+++++++++++++++++xmodem: Bad message
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 04:32PM |
Admin Registered: 14 years ago Posts: 19,935 |
> [kwboot]$ ../kwboot-x86_64 -t -B 115200 > /dev/ttyACM0 -b mtd_uboot -p > Sending boot message. Please reboot the > target...- > Sending boot image... > 0 % [+++++++++++++++++xmodem: Bad message >
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 04:32PM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 04:39PM |
Registered: 7 years ago Posts: 104 |
BootROM - 1.73
Booting from SPI flash
General initialization - Version: 1.0.0
AVS selection from EFUSE disabled (Skip reading EFUSE values)
Overriding default AVS value to: 0x23
Detected Device ID 6820
High speed PHY - Version: 2.0
Init Customer board board SerDes lanes topology details:
| Lane # | Speed| Type |
------------------------------|
| 0 | 0 | SGMII0 |
| 1 | 3 | SATA0 |
| 2 | 3 | SATA1 |
| 4 | 5 | USB3 HOST0 |
| 5 | 5 | USB3 HOST1 |
-------------------------------
High speed PHY - Ended Successfully
DDR4 Training Sequence - Ver TIP-0.23.(Sublib 0.8)0
DDR4 Training Sequence - Switching XBAR Window to FastPath Window
DDR4 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **
U-Boot 2013.01 (Aug 09 2017 - 16:51:03) Marvell version: 2015_T1.0p18
Board: A38x-Customer0-Thecus-N2350
SoC: MV88F6820 Rev A0
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 1066 [MHz]
L2 @ 800 [MHz]
TClock @ 200 [MHz]
DDR4 @ 800 [MHz]
DDR4 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM: 1 GiB
NAND: 512 MiB
MMC: mv_sdh: 0
SF: Detected MX25L3205D with page size 64 KiB, total 4 MiB
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Map: Code: 0x3fed0000:0x3ff959e4
BSS: 0x3ffef104
Stack: 0x3f9bff20
Heap: 0x3f9c0000:0x3fed0000
U-Boot Environment: 0x00100000:0x00110000 (SPI)
Board configuration detected:
Net:
| port | Interface | PHY address |
|--------|-----------|--------------|
| egiga0 | SGMII | 0x01 |
egiga0 [PRIME]
Hit any key to stop autoboot: 3 0
Marvell>> setenv load_dtb_addr 0x1000000
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv dtbfilename armada-385-thecus-n2350.dtb
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; ext2load usb 0:1 $load_image_addr /boot/zImage; ext2load usb 0:1 $load_dtb_addr /boot/dts/$dtbfilename; run usb_set_bootargs; bootz $load_image_addr - $load_dtb_addr'
Marvell>> usb start
(Re)start USB...
USB0: Port (usbActive) : 0 Interface (usbType = 3) : Anson:xhci_usb_lowlevel_init--1--index=0
Anson:xhci_usb_lowlevel_init--2
Anson:Register 2000120 NbrPorts 2
USB XHCI 1.00
Anson:xhci_usb_lowlevel_init--3
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> run usb_bootcmd
Booting from USB ...
4141288 bytes read in 503 ms (7.9 MiB/s)
17815 bytes read in 663 ms (25.4 KiB/s)
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x01000000
Loading Device Tree to 00ff8000, end 00fff596 ... OK
Skipping Device Tree update ('fdt_skip_update' = yes)
Limit DDR size at 3GB due to power of 2 requirement of Address decoding
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.1-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4)) #1 SMP PREEMPT Sat Nov 25 00:32:53 PST 2017
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Thecus N2350
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 17 pages/cpu @ef7c7000 s40716 r8192 d20724 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260608
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=armada-nand:-(ubifs);spi_flash:0x00100000(uboot),0x00010000@0x00100000(uboot_env) earlyprintk=serial
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1025948K/1048576K available (8192K kernel code, 722K rwdata, 2180K rodata, 1024K init, 337K bss, 22628K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0db4848 ( 723 kB)
[ 0.000000] .bss : 0xc0dbbf1c - 0xc0e103c4 ( 338 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 D prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[ 0.000009] sched_clock: 64 bits at 533MHz, resolution 1ns, wraps every 2199023255551ns
[ 0.008074] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x7aed16d152, max_idle_ns: 440795225656 ns
[ 0.019168] Switching to timer-based delay loop, resolution 1ns
[ 0.025381] Ignoring duplicate/late registration of read_current_timer delay
[ 0.032491] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[ 0.043939] Console: colour dummy device 80x30
[ 0.048472] Calibrating delay loop (skipped), value calculated using timer frequency.. 1066.00 BogoMIPS (lpj=5330000)
[ 0.059134] pid_max: default: 32768 minimum: 301
[ 0.063926] Security Framework initialized
[ 0.068157] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.074832] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.082458] CPU: Testing write buffer coherency: ok
[ 0.087587] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.125247] Setting up static identity map for 0x100000 - 0x100060
[ 0.131594] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[ 0.136942] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.143273] Hierarchical SRCU implementation.
[ 0.185218] smp: Bringing up secondary CPUs ...
[ 0.235290] Booting CPU 1
[ 0.238194] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.238281] smp: Brought up 1 node, 2 CPUs
[ 0.248195] SMP: Total of 2 processors activated (2132.00 BogoMIPS).
[ 0.254607] CPU: All CPU(s) started in SVC mode.
[ 0.260039] devtmpfs: initialized
[ 0.266172] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.274174] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.284072] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.290431] prandom: seed boundary self test passed
[ 0.297906] prandom: 100 self tests passed
[ 0.302072] pinctrl core: initialized pinctrl subsystem
[ 0.308216] NET: Registered protocol family 16
[ 0.313465] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.321738] cpuidle: using governor ladder
[ 0.325966] cpuidle: using governor menu
[ 0.330124] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.338195] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.344253] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[ 0.352416] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[ 0.415816] vgaarb: loaded
[ 0.418804] SCSI subsystem initialized
[ 0.423346] usbcore: registered new interface driver usbfs
[ 0.429062] usbcore: registered new interface driver hub
[ 0.434559] usbcore: registered new device driver usb
[ 0.439994] media: Linux media interface: v0.10
[ 0.444616] Linux video capture interface: v2.00
[ 0.450169] clocksource: Switched to clocksource arm_global_timer
[ 0.509193] VFS: Disk quotas dquot_6.6.0
[ 0.513285] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.526086] NET: Registered protocol family 2
[ 0.530992] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.538159] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.544770] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.551262] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.557273] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.563893] NET: Registered protocol family 1
[ 0.568609] RPC: Registered named UNIX socket transport module.
[ 0.574613] RPC: Registered udp transport module.
[ 0.579382] RPC: Registered tcp transport module.
[ 0.584167] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.590929] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.597725] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.606787] audit: initializing netlink subsys (disabled)
[ 0.612366] audit: type=2000 audit(0.579:1): state=initialized audit_enabled=0 res=1
[ 0.612624] Initialise system trusted keyrings
[ 0.612651] Key type blacklist registered
[ 0.612737] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[ 0.620207] zbud: loaded
[ 0.631037] NFS: Registering the id_resolver key type
[ 0.631050] Key type id_resolver registered
[ 0.631052] Key type id_legacy registered
[ 0.631062] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.631066] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.631222] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.631548] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 0.631654] orangefs_init: module version upstream loaded
[ 0.635263] Key type asymmetric registered
[ 0.635267] Asymmetric key parser 'x509' registered
[ 0.635305] bounce: pool size: 64 pages
[ 0.635344] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.635349] io scheduler noop registered
[ 0.635352] io scheduler deadline registered
[ 0.635416] io scheduler cfq registered (default)
[ 0.637011] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 0.639441] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[ 0.639449] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 0.639455] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 0.639460] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.639840] PCI: bus0: Fast back to back transfers disabled
[ 0.639852] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.639865] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.639950] PCI: bus1: Fast back to back transfers enabled
[ 0.640050] PCI: bus2: Fast back to back transfers enabled
[ 0.640081] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.640091] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 0.640701] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.700759] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 0.701032] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.760741] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 0.821973] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.824543] console [ttyS0] disabled
[ 0.859834] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[ 0.868953] console [ttyS0] enabled
[ 0.868953] console [ttyS0] enabled
[ 0.876066] bootconsole [earlycon0] disabled
[ 0.876066] bootconsole [earlycon0] disabled
[ 0.886407] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 0.895534] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 0.905261] scsi host0: ahci-mvebu
[ 0.909016] scsi host1: ahci-mvebu
[ 0.912677] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 43
[ 0.920675] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 43
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 05:28PM |
Admin Registered: 14 years ago Posts: 19,935 |
[ 0.920675] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 43
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 05:45PM |
Registered: 7 years ago Posts: 104 |
> [ 0.920675] ata2: SATA max UDMA/133 mmio [mem > 0xf10a8000-0xf10a9fff] port 0x180 irq 43 >
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 06:13PM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 18, 2018 06:21PM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 19, 2018 12:18AM |
Admin Registered: 14 years ago Posts: 19,935 |
setenv load_dtb_addr 0x1000000 setenv load_initrd_addr 0x2900000 setenv load_image_addr 0x02000000 setenv dtbfilename armada-385-thecus-n2350.dtb setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"' setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; ext2load usb 0:1 $load_image_addr /boot/zImage; ext2load usb 0:1 $load_dtb_addr /boot/dts/$dtbfilename; run usb_set_bootargs; bootz $load_image_addr - $load_dtb_addr' usb start run usb_bootcmd
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 19, 2018 02:03AM |
Registered: 7 years ago Posts: 104 |
BootROM - 1.73
Booting from SPI flash
General initialization - Version: 1.0.0
AVS selection from EFUSE disabled (Skip reading EFUSE values)
Overriding default AVS value to: 0x23
Detected Device ID 6820
High speed PHY - Version: 2.0
Init Customer board board SerDes lanes topology details:
| Lane # | Speed| Type |
------------------------------|
| 0 | 0 | SGMII0 |
| 1 | 3 | SATA0 |
| 2 | 3 | SATA1 |
| 4 | 5 | USB3 HOST0 |
| 5 | 5 | USB3 HOST1 |
-------------------------------
High speed PHY - Ended Successfully
DDR4 Training Sequence - Ver TIP-0.23.(Sublib 0.8)0
DDR4 Training Sequence - Switching XBAR Window to FastPath Window
DDR4 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** LOADER **
U-Boot 2013.01 (Aug 09 2017 - 16:51:03) Marvell version: 2015_T1.0p18
Board: A38x-Customer0-Thecus-N2350
SoC: MV88F6820 Rev A0
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 1066 [MHz]
L2 @ 800 [MHz]
TClock @ 200 [MHz]
DDR4 @ 800 [MHz]
DDR4 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM: 1 GiB
NAND: 512 MiB
MMC: mv_sdh: 0
SF: Detected MX25L3205D with page size 64 KiB, total 4 MiB
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Map: Code: 0x3fed0000:0x3ff959e4
BSS: 0x3ffef104
Stack: 0x3f9bff20
Heap: 0x3f9c0000:0x3fed0000
U-Boot Environment: 0x00100000:0x00110000 (SPI)
Board configuration detected:
Net:
| port | Interface | PHY address |
|--------|-----------|--------------|
| egiga0 | SGMII | 0x01 |
egiga0 [PRIME]
Hit any key to stop autoboot: 3 2 0
Marvell>> setenv load_dtb_addr 0x1000000
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv dtbfilename armada-385-thecus-n2350.dtb
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; ext2load usb 0:1 $load_image_addr /boot/zImage; ext2load usb 0:1 $load_dtb_addr /boot/dts/$dtbfilename; run usb_set_bootargs; bootz $load_image_addr - $load_dtb_addr'
Marvell>> usb start
(Re)start USB...
USB0: Port (usbActive) : 0 Interface (usbType = 3) : Anson:xhci_usb_lowlevel_init--1--index=0
Anson:xhci_usb_lowlevel_init--2
Anson:Register 2000120 NbrPorts 2
USB XHCI 1.00
Anson:xhci_usb_lowlevel_init--3
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> run usb_bootcmd
Booting from USB ...
4141288 bytes read in 503 ms (7.9 MiB/s)
18770 bytes read in 663 ms (27.3 KiB/s)
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x01000000
Loading Device Tree to 00ff8000, end 00fff951 ... OK
Skipping Device Tree update ('fdt_skip_update' = yes)
Limit DDR size at 3GB due to power of 2 requirement of Address decoding
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.1-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4)) #1 SMP PREEMPT Sat Nov 25 00:32:53 PST 2017
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Thecus N2350
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] random: fast init done
[ 0.000000] percpu: Embedded 17 pages/cpu @ef7c6000 s40716 r8192 d20724 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260608
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=armada-nand:-(ubifs);spi_flash:0x00100000(uboot),0x00010000@0x00100000(uboot_env) earlyprintk=serial
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1025944K/1048576K available (8192K kernel code, 722K rwdata, 2180K rodata, 1024K init, 337K bss, 22632K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0db4848 ( 723 kB)
[ 0.000000] .bss : 0xc0dbbf1c - 0xc0e103c4 ( 338 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 D prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[ 0.000009] sched_clock: 64 bits at 533MHz, resolution 1ns, wraps every 2199023255551ns
[ 0.008074] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x7aed16d152, max_idle_ns: 440795225656 ns
[ 0.019168] Switching to timer-based delay loop, resolution 1ns
[ 0.025379] Ignoring duplicate/late registration of read_current_timer delay
[ 0.032488] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[ 0.043960] Console: colour dummy device 80x30
[ 0.048493] Calibrating delay loop (skipped), value calculated using timer frequency.. 1066.00 BogoMIPS (lpj=5330000)
[ 0.059155] pid_max: default: 32768 minimum: 301
[ 0.063944] Security Framework initialized
[ 0.068175] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.074850] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.082470] CPU: Testing write buffer coherency: ok
[ 0.087599] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.125247] Setting up static identity map for 0x100000 - 0x100060
[ 0.131594] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[ 0.136942] mvebu-pmsu: Initializing Power Management Service Unit
[ 0.143275] Hierarchical SRCU implementation.
[ 0.185217] smp: Bringing up secondary CPUs ...
[ 0.235289] Booting CPU 1
[ 0.238193] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.238279] smp: Brought up 1 node, 2 CPUs
[ 0.248192] SMP: Total of 2 processors activated (2132.00 BogoMIPS).
[ 0.254604] CPU: All CPU(s) started in SVC mode.
[ 0.260037] devtmpfs: initialized
[ 0.266309] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.274314] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.284212] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.290579] prandom: seed boundary self test passed
[ 0.298054] prandom: 100 self tests passed
[ 0.302220] pinctrl core: initialized pinctrl subsystem
[ 0.308360] NET: Registered protocol family 16
[ 0.313610] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.321886] cpuidle: using governor ladder
[ 0.326118] cpuidle: using governor menu
[ 0.330274] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.338344] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.344402] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[ 0.352565] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[ 0.386662] vgaarb: loaded
[ 0.389881] SCSI subsystem initialized
[ 0.395731] usbcore: registered new interface driver usbfs
[ 0.401363] usbcore: registered new interface driver hub
[ 0.406978] usbcore: registered new device driver usb
[ 0.412659] media: Linux media interface: v0.10
[ 0.417512] Linux video capture interface: v2.00
[ 0.423382] clocksource: Switched to clocksource arm_global_timer
[ 0.482389] VFS: Disk quotas dquot_6.6.0
[ 0.486502] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.501418] NET: Registered protocol family 2
[ 0.506456] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.513691] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.520276] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.526795] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.532804] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.539444] NET: Registered protocol family 1
[ 0.564229] RPC: Registered named UNIX socket transport module.
[ 0.570210] RPC: Registered udp transport module.
[ 0.575024] RPC: Registered tcp transport module.
[ 0.579794] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.586558] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.593347] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.602415] audit: initializing netlink subsys (disabled)
[ 0.608251] Initialise system trusted keyrings
[ 0.612785] Key type blacklist registered
[ 0.616909] audit: type=2000 audit(0.569:1): state=initialized audit_enabled=0 res=1
[ 0.616983] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[ 0.624739] zbud: loaded
[ 0.635426] NFS: Registering the id_resolver key type
[ 0.640550] Key type id_resolver registered
[ 0.644844] Key type id_legacy registered
[ 0.648931] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.655710] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.662281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.669742] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 0.676364] orangefs_init: module version upstream loaded
[ 0.684748] Key type asymmetric registered
[ 0.688915] Asymmetric key parser 'x509' registered
[ 0.693929] bounce: pool size: 64 pages
[ 0.697882] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.705349] io scheduler noop registered
[ 0.709341] io scheduler deadline registered
[ 0.713755] io scheduler cfq registered (default)
[ 0.720178] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[ 0.729404] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[ 0.735415] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff]
[ 0.741743] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[ 0.748688] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.754641] PCI: bus0: Fast back to back transfers disabled
[ 0.760286] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.768370] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.776530] PCI: bus1: Fast back to back transfers enabled
[ 0.782185] PCI: bus2: Fast back to back transfers enabled
[ 0.787778] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 0.792815] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 0.798421] mv_xor f1060800.xor: Marvell shared XOR driver
[ 0.863956] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 0.871574] mv_xor f1060900.xor: Marvell shared XOR driver
[ 0.933950] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[ 0.979241] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.987825] console [ttyS0] disabled
[ 1.012273] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[ 1.021343] console [ttyS0] enabled
[ 1.021343] console [ttyS0] enabled
[ 1.028619] bootconsole [earlycon0] disabled
[ 1.028619] bootconsole [earlycon0] disabled
[ 1.038415] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 1.047535] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 1.057022] scsi host0: ahci-mvebu
[ 1.060705] scsi host1: ahci-mvebu
[ 1.064293] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 43
[ 1.072253] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 43
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 19, 2018 02:12AM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 19, 2018 02:22AM |
Admin Registered: 14 years ago Posts: 19,935 |
|
Re: Debian Installation on Thecus N2350 (Marvell Armada 385) March 19, 2018 02:43AM |
Registered: 7 years ago Posts: 104 |
[ 3.550713] armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC [ 3.565269] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit), 512MiB, page size: 2048, OOB size: 64
spi1: spi@10680 {
status = "okay";
pinctrl-0 = <&spi1_pins>;
pinctrl-names = "defaults";
spi-flash@0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "mx25l3205d";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <108000000>;
spi-cpha;
mtd1@00000000 {
label = "U-Boot-img";
reg = <0x00000000 0x00100000>;
};
mtd2@00100000 {
label = "U-Boot-env";
reg = <0x00100000 0x00010000>;
};
};
};
/*
* 1GB Flash via NFC NAND controller
* should be disabled when the board boots
* from SPI flash, since NFC shares the same
* pins with SPI0 and requires SLM-1358 jumper.
* However the u-boot DTB parser will
* handle this situation and disable/remove
* unnessesary devices according to board
* boot-up configuration.
*/
nfc: nand@d0000 {
status = "okay";
#address-cells = <1>;
#size-cells = <1>;
nfc,nfc-mode = "normal"; /* normal or ganged */
nfc,nfc-dma = <0>; /* 0 for no, 1 for dma */
nfc,nfc-width = <8>;
nfc,ecc-type = <1>; /* 4 bit */
nfc,num-cs = <0>;
mtd0@00000000 {
label = "ubifs";
reg = <0x00000000 0x20000000>;
};
flash@d0000 {
status = "okay";
num-cs = <1>;
marvell,nand-keep-config;
marvell,nand-enable-arbiter;
nand-on-flash-bbt;
nand-ecc-strength = <4>;
nand-ecc-step-size = <512>;
partition@0 {
label = "U-Boot";
reg = <0 0x800000>;
};
partition@800000 {
label = "Linux";
reg = <0x800000 0x800000>;
};
partition@1000000 {
label = "Filesystem";
reg = <0x1000000 0x3f000000>;
};
};
&spi0 {
status = "okay";
spi-flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "w25q32", "jedec,spi-nor";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <108000000>;
};
};