Welcome! Log In Create A New Profile

Advanced

Debian on Medion MD 86946

Posted by dingo 
Debian on Medion MD 86946
December 30, 2024 03:47PM
The Medion MD 86946 is a typical Kirkwood system. It does have uBoot 1.1.4 from 2013 on board and support usb and ide commands. Although the processor fits to NSA310S it does not boot from a kernel with this dtb. I am using kirkwood-md86783.dtb and this works but the system looks like a christmas tree with all leds on. I made it bootable from hdd with a hybrid MBR/GPT partition setup. Apparently this version of uBoot does not support reading from a GPT partition.

For now it is working but if I want to update uBoot which version should I use? And what is needed to make it less a christmas tree? For instance does anybody has this version and a better dtb?



Edited 2 time(s). Last edit at 01/03/2025 02:28AM by dingo.
Re: Medion MD 86946
December 30, 2024 04:38PM
dingo,

The NSA310S and NSA320S are clones (88f6702 SoC). Sounds like this 86946 is a Medion box also with 88f6702 SoC, the md86783 DTB is the right one to use.

Check the LEDs
ls -l /sys/class/leds/

Now try testing it by turning OFF and ON:
echo none > /sys/class/leds/md86783:blue:sys/trigger
echo default-on > /sys/class/leds/md86783:blue:sys/trigger
Do the same test for
/sys/class/leds/md86783:orange:sys

For HDD 1 and 2

echo ide-disk1  > /sys/class/leds/md86783:red:hdd1/trigger
echo ide-disk2  > /sys/class/leds/md86783:red:hdd2/trigger
Each HDD LED will blink when there is disk access.

After you're satisfied with the behavior, add these echos to /etc/rc.local (befor exit 0).

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?

There is no modern u-boot for these Medion boxes. But you can try kwboot the Pogo V4 u-boot

https://forum.doozan.com/read.php?3,12381

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.

But don't flash it if kwboot is not successful.

And if kwboot is successful then wait until I have a chance to look at your serial boot log.

=======
bodhi edits: many typos

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 01/02/2025 01:19PM by bodhi.
Re: Medion MD 86946
January 02, 2025 04:16AM
bodhi Wrote:
-------------------------------------------------------
> dingo,
>
> The NS310S and NS320S are clones (88f6702 SoC).
> Sounds like this 86946 is a Medion box also with
> 88f6702 SoC, the md86783 DTB is the right one to
> use.
>
> Check the LEDs
>
> ls -l /sys/class/leds/
>
>
> Now try testing it by turning OFF and ON:
>
> 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
>
>
> For HDD 1 and 2
>
>
> 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
> access.
>
> After you're satisfied with the behavior, add
> these echos to /etc/rc.local (befor exit 0).
>
>
> 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
>
>


I have been experimenting with these and it partly works. I have originally four leds:
1=blue/red for hdd1 (this device has only 1 hdd) blue for present, red for hardware error and blue blinking when r/w.
2=blue/red for power on, blue for on, red for hardware error
3=green for network present, blinking for activity
4=orange for usb-device present, blinking for activity

Edit: Looking at the pcb there are actually 5 leds but outside only 4 visible.

echo none > /sys/class/leds/md86783:blue:sys/trigger turns off led 2
echo none > /sys/class/leds/md86783:orange:sys/trigger does nothing
echo ide-disk1 > /sys/class/leds/md86783:red:hdd1/trigger does make led 1 red blink when hdd active

Without the addition of /trigger the response is /sys/class/leds/md86783:blue:sys Is a directory

BTW I have a file medion-lifecloud-opensource-20131128.tar.gz with src.rpms which are supposed to be for this brick but nothing about uboot in it.

I did not have the time yet to try kwboot I will reply on that later.



Edited 1 time(s). Last edit at 01/02/2025 05:51AM by dingo.
Re: Medion MD 86946
January 02, 2025 07:54AM
As first serial uboot and printenv:

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ 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

Unfortunately kwboot (kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2023.04-tld-1.pogo_v4.kwb -p) does not do anything, the system hangs until ctl - c. After that I have to pull off power to reboot again.
The added file contains the complete serial log from a normal boot from uboot to login.
Attachments:
open | download - serial.log (13.2 KB)
Re: Medion MD 86946
January 02, 2025 01:14PM
dingo,

> The added file contains the complete serial log
> from a normal boot from uboot to login.

Your log got cut off, missing 5 seconds.

Quote

Starting kernel ...

[ 5.818432][ T1] printk: console [ttyS0] enabled
[ 5.828194][ T1] printk: bootconsole [earlycon0] disabled

Please post the missings 5 seconds from dmesg (It looks like you need to adjust bootargs envs).
dmesg

Also, in serial console, before booting,
printenv


====

Too bad the kwboot did not work for Pogo V4 image. You could try the NSA310S image:

uboot.2017.07-tld-1.nsa310s.mtd0.kwb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 01/02/2025 01:21PM by bodhi.
Re: Medion MD 86946
January 02, 2025 01:17PM
> /sys/class/leds/md86783:blue:sys Is a directory

Yes my typos!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Medion MD 86946
January 02, 2025 01:28PM
New attempt for a complete log. I am using screen to connect the usb-serial converter and have to copy the log block by block.
Attachments:
open | download - serial.log (13.2 KB)
Re: Medion MD 86946
January 02, 2025 01:33PM
I see, I am not reading too well.

The missing 5 seconds from dmesg:
[    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

The printenv before boot is in my previous post, first command after stopping autoboot.
Re: Medion MD 86946
January 02, 2025 02:04PM
dingo,

> I see, I am not reading too well.
>
> The missing 5 seconds from dmesg:

>
> [    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

>

Very nice! Looks like everything is working. Even the RTC is like the NSA310S.

That log cut off is weird. You have console defined for Linux bootargs, which is not needed because it is already hard coded in the bootargs.
console=console=ttyS0,115200
Perhaps this u-boot is picky. Try this before booting
setenv console 'ttyS0,115200'

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Medion MD 86946
January 03, 2025 01:26AM
dingo,

Please change the thread subject to "Debian on Medion MD 86946". It will help people to search for support for this box.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Medion MD 86946
January 12, 2025 12:27PM
I did not have much time last weeks so NSA310S has to wait. For now I am battling with systemd which does not work as intended because journald is crashing with ExecStart=/lib/systemd/systemd-journald (code=killed, signal=SEGV). Already tried the newer version from backports but no dice.

Even stranger when I start /lib/systemd/systemd-journald from cli it is working perfect but systemd-journald.service is still not running and will not start either.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: