Debian on Medion MD 86946 December 30, 2024 03:47PM |
Registered: 14 days ago Posts: 7 |
Re: Medion MD 86946 December 30, 2024 04:38PM |
Admin Registered: 13 years ago Posts: 19,197 |
ls -l /sys/class/leds/
echo none > /sys/class/leds/md86783:blue:sys/trigger echo default-on > /sys/class/leds/md86783:blue:sys/triggerDo the same test for
/sys/class/leds/md86783:orange:sys
echo ide-disk1 > /sys/class/leds/md86783:red:hdd1/trigger echo ide-disk2 > /sys/class/leds/md86783:red:hdd2/triggerEach HDD LED will blink when there is disk access.
echo default-on > /sys/class/leds/md86783:blue:sys/trigger echo none > /sys/class/leds/md86783:orange:sys/trigger echo ide-disk1 > /sys/class/leds/md86783:red:hdd1/trigger echo ide-disk2 > /sys/class/leds/md86783:red:hdd2/trigger
Quote
For now it is working but if I want to update uBoot which version should I use?
Quote
2023.04 U-Boot Kirkwood - Pogo V4. This version adds the capability of booting with the rootfs attached to one of the USB 3.0 ports in the back, among other capabilities.
Re: Medion MD 86946 January 02, 2025 04:16AM |
Registered: 14 days ago Posts: 7 |
> ls -l /sys/class/leds/ >>
> echo none > /sys/class/leds/md86783:blue:sys > echo default-on > > /sys/class/leds/md86783:blue:sys >> Do the same test for
> /sys/class/leds/md86783:orange:sys >>
> echo ide-disk1 > > /sys/class/leds/md86783:red:hdd1 > echo ide-disk2 > > /sys/class/leds/md86783:red:hdd2 >> Each HDD LED will blink when there is disk
> echo default-on > > /sys/class/leds/md86783:blue:sys > echo none > /sys/class/leds/md86783:orange:sys > echo ide-disk1 > > /sys/class/leds/md86783:red:hdd1 > echo ide-disk2 > > /sys/class/leds/md86783:red:hdd2 >>
Re: Medion MD 86946 January 02, 2025 07:54AM |
Registered: 14 days ago Posts: 7 |
__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: DB6702A-GMtech LE U-Boot 1.1.4 (Jun 5 2013 - 10:49:39) Marvell version: 3.6.0 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00 Soc: 88F6702 A1 CPU running @ 1000Mhz L2 running @ 500Mhz SysClock = 400Mhz , TClock = 166Mhz DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM Total size 256MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done NAND:256 MB Flash: 0 kB CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: PCI Express Root Complex Interface PEX interface detected Link X1 Net: egiga0 [PRIME] Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 loads_echo=0 run_diag=yes MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000; ethmtu=1500 mvPhoneConfig=mv_phone_config=dev[0]:fxs,dev[1]:fxo mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host yuk_ethaddr=00:00:00:EE:51:81 nandEcc=1bit netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no image_multi=yes ethact=egiga0 console=console=ttyS0,115200 bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc bootargs=console=ttyS0,115200 ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc rootpath=/tftpboot_tokyo/marvell_nfs bootfile=/pxelinux.0 gatewayip=10.0.0.1 netmask=255.255.0.0 ipaddr=10.0.2.14 serverip=10.0.0.5 image_name=uImage.medion ethaddr=00:11:41:3C:4F:8A PK=MEMH-APBN-NWTD-JWQB ide_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial load_uimage=ext2load ide 0:1 0x800000 /boot/uImage load_uinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd ide_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000 ide_bootcmd=run ide_set_bootargs; run ide_boot bootcmd=ide reset; run ide_bootcmd; reset stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no enaAutoRecovery=yes pcieTune=no Environment size: 1634/131068 bytes
Re: Medion MD 86946 January 02, 2025 01:14PM |
Admin Registered: 13 years ago Posts: 19,197 |
Quote
Starting kernel ...
[ 5.818432][ T1] printk: console [ttyS0] enabled
[ 5.828194][ T1] printk: bootconsole [earlycon0] disabled
dmesg
printenv
Re: Medion MD 86946 January 02, 2025 01:17PM |
Admin Registered: 13 years ago Posts: 19,197 |
Re: Medion MD 86946 January 02, 2025 01:28PM |
Registered: 14 days ago Posts: 7 |
Re: Medion MD 86946 January 02, 2025 01:33PM |
Registered: 14 days ago Posts: 7 |
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: Medion MD86783 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960 [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 232344K/262144K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 29800K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns [ 0.000002] sched_clock: 32 bits at 167MHz, resolution 6ns, wraps every 12884901885ns [ 0.008534] Switching to timer-based delay loop, resolution 6ns [ 0.015750] Console: colour dummy device 80x30 [ 0.020989] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666) [ 0.032235] CPU: Testing write buffer coherency: ok [ 0.037931] pid_max: default: 32768 minimum: 301 [ 0.053599] LSM: initializing lsm=capability,integrity [ 0.062261] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.070317] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.092551] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.100713] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. [ 0.109487] Setting up static identity map for 0x100000 - 0x100058 [ 0.116695] mvebu-soc-id: MVEBU SoC ID=0x6702, Rev=0x3 [ 0.123009] rcu: Hierarchical SRCU implementation. [ 0.128497] rcu: Max phase no-delay instances is 1000. [ 0.137636] devtmpfs: initialized [ 0.153029] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.163649] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.174463] prandom: seed boundary self test passed [ 0.185155] prandom: 100 self tests passed [ 0.189984] pinctrl core: initialized pinctrl subsystem [ 0.200084] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.207582] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.222115] audit: initializing netlink subsys (disabled) [ 0.230340] thermal_sys: Registered thermal governor 'step_wise' [ 0.230501] cpuidle: using governor ladder [ 0.242032] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1 [ 0.250603] cpuidle: using governor menu [ 0.255913] Feroceon L2: Enabling L2 [ 0.260252] Feroceon L2: Cache support initialised. [ 0.278431] No ATAGs? [ 0.648551] raid6: int32x8 gen() 93 MB/s [ 0.988547] raid6: int32x4 gen() 92 MB/s [ 1.328580] raid6: int32x2 gen() 123 MB/s [ 1.668547] raid6: int32x1 gen() 94 MB/s [ 1.673498] raid6: using algorithm int32x2 gen() 123 MB/s [ 2.028551] raid6: .... xor() 76 MB/s, rmw enabled [ 2.034029] raid6: using intx1 recovery algorithm [ 2.050393] SCSI subsystem initialized [ 2.058700] libata version 3.00 loaded. [ 2.059196] usbcore: registered new interface driver usbfs [ 2.065427] usbcore: registered new interface driver hub [ 2.088833] usbcore: registered new device driver usb [ 2.094991] pps_core: LinuxPPS API ver. 1 registered [ 2.108555] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 2.118383] PTP clock support registered [ 2.151245] vgaarb: loaded [ 2.155551] clocksource: Switched to clocksource orion_clocksource [ 2.186478] VFS: Disk quotas dquot_6.6.0 [ 2.191579] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 2.253165] NET: Registered PF_INET protocol family [ 2.259118] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.285767] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 2.295072] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 2.315598] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 2.323961] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 2.355616] TCP: Hash tables configured (established 2048 bind 2048) [ 2.363438] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear) [ 2.385843] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.393068] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.416599] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 2.436270] RPC: Registered named UNIX socket transport module. [ 2.442874] RPC: Registered udp transport module. [ 2.455577] RPC: Registered tcp transport module. [ 2.460965] RPC: Registered tcp-with-tls transport module. [ 2.475572] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.482703] PCI: CLS 0 bytes, default 32 [ 2.508887] Trying to unpack rootfs image as initramfs... [ 3.617680] Freeing initrd memory: 5656K [ 4.628182] Initialise system trusted keyrings [ 4.633412] Key type blacklist registered [ 4.639782] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 4.647184] zbud: loaded [ 4.672984] NFS: Registering the id_resolver key type [ 4.678829] Key type id_resolver registered [ 4.683693] Key type id_legacy registered [ 4.688634] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 4.696041] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 4.705998] jffs2: version 2.2. (NAND) (SUMMARY) \xc2\xa9 2001-2006 Red Hat, Inc. [ 4.714702] fuse: init (API version 7.38) [ 4.721137] orangefs_debugfs_init: called with debug mask: :none: :0: [ 4.728612] orangefs_init: module version upstream loaded [ 4.735146] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled [ 4.997021] xor: measuring software checksum speed [ 5.013120] arm4regs : 932 MB/sec [ 5.035804] 8regs : 559 MB/sec [ 5.053254] 32regs : 793 MB/sec [ 5.058307] xor: using function: arm4regs (932 MB/sec) [ 5.064128] async_tx: api initialized (async) [ 5.069188] Key type asymmetric registered [ 5.073962] Asymmetric key parser 'x509' registered [ 5.137308] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 5.146108] io scheduler bfq registered [ 5.376519] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 5.386910] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 5.398023] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 5.408821] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges: [ 5.418760] mvebu-pcie mbus@f1000000:pcie@82000000: Parsing ranges property... [ 5.418814] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0x00f1040000..0x00f1041fff -> 0x0000040000 [ 5.428974] mvebu-pcie mbus@f1000000:pcie@82000000: MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 5.439634] mvebu-pcie mbus@f1000000:pcie@82000000: IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000 [ 5.451131] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00 [ 5.459490] pci_bus 0000:00: root bus resource [bus 00-ff] [ 5.465729] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff]) [ 5.476607] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 5.484156] pci_bus 0000:00: root bus resource [io 0x1000-0xeffff] [ 5.491127] pci_bus 0000:00: scanning bus [ 5.491243] pci 0000:00:01.0: [11ab:6702] type 01 class 0x060400 [ 5.498443] pci 0000:00:01.0: vgaarb: pci_notify [ 5.499907] pci_bus 0000:00: fixups for bus [ 5.499932] PCI: bus0: Fast back to back transfers disabled [ 5.506219] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0 [ 5.506241] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 5.514922] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1 [ 5.515206] pci_bus 0000:01: scanning bus [ 5.515284] pci 0000:01:00.0: [1b21:1042] type 00 class 0x0c0330 [ 5.522036] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x90007fff 64bit] [ 5.529757] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 5.545659] pci 0000:01:00.0: vgaarb: pci_notify [ 5.575633] pci_bus 0000:01: fixups for bus [ 5.575658] PCI: bus1: Fast back to back transfers disabled [ 5.581908] pci_bus 0000:01: bus scan returning with max=01 [ 5.581926] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 5.589257] pci_bus 0000:00: bus scan returning with max=01 [ 5.589294] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff] [ 5.596879] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0007fff 64bit] [ 5.604880] pci 0000:00:01.0: PCI bridge to [bus 01] [ 5.610552] pci 0000:00:01.0: bridge window [mem 0xe0000000-0xe00fffff] [ 5.618125] pcieport 0000:00:01.0: vgaarb: pci_notify [ 5.618173] pcieport 0000:00:01.0: assign IRQ: got 0 [ 5.618201] pcieport 0000:00:01.0: enabling device (0140 -> 0142) [ 5.624981] pcieport 0000:00:01.0: enabling bus mastering [ 5.625023] pcieport 0000:00:01.0: vgaarb: pci_notify [ 5.625067] pci 0000:00:01.0: enabling bus mastering [ 5.626159] mv_xor f1060800.xor: Marvell shared XOR driver [ 5.698593] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 5.712085] mv_xor f1060900.xor: Marvell shared XOR driver [ 5.778595] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 5.792530] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 5.802632] printk: console [ttyS0] disabled [ 5.808426] f1012100.serial: ttyS0 at MMIO 0xf1012100 (irq = 28, base_baud = 10416666) is a 16550A [ 5.818181] printk: console [ttyS0] enabled [ 5.827944] printk: bootconsole [earlycon0] disabled
Re: Medion MD 86946 January 02, 2025 02:04PM |
Admin Registered: 13 years ago Posts: 19,197 |
> [ 0.000000] Booting Linux on physical CPU 0x0 > [ 0.000000] Linux version 6.5.7-kirkwood-tld-1 > (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, > GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT > Wed Oct 18 21:14:11 PDT 2023 > [ 0.000000] CPU: Feroceon 88FR131 [56251311] > revision 1 (ARMv5TE), cr=0005397f > [ 0.000000] CPU: VIVT data cache, VIVT > instruction cache > [ 0.000000] OF: fdt: Machine model: Medion > MD86783 > [ 0.000000] Kernel command line: > console=ttyS0,115200 root=LABEL=rootfs > rootdelay=10 earlyprintk=serial >
console=console=ttyS0,115200Perhaps this u-boot is picky. Try this before booting
setenv console 'ttyS0,115200'
Re: Medion MD 86946 January 03, 2025 01:26AM |
Admin Registered: 13 years ago Posts: 19,197 |
Re: Medion MD 86946 January 12, 2025 12:27PM |
Registered: 14 days ago Posts: 7 |