[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Status of Debian on QNAP



Hello,

I get my TS-219 boot from USB with kernel 5.9.0-4-marvell.

setenv bootargs console=ttyS0,115200n8 root=/dev/ram rw
initrd=0xc00000,0x1500000 ramdisk=34816
usb start
fatload usb 0:1 0xc00000 initrd
fatload usb 0:1 0x800000 kernel
bootm 0x800000

root@qnap:/home/adminuser# cat /proc/cpuinfo
processor	: 0
model name	: Feroceon 88FR131 rev 1 (v5l)
BogoMIPS	: 400.00
Features	: swp half thumb fastmult edsp
CPU implementer	: 0x56
CPU architecture: 5TE
CPU variant	: 0x2
CPU part	: 0x131
CPU revision	: 1

Hardware	: Marvell Kirkwood (Flattened Device Tree)
Revision	: 0000
Serial		: 0000000000000000
root@qnap:/home/adminuser# uname -a
Linux qnap 5.9.0-4-marvell #1 Debian 5.9.11-1 (2020-11-27) armv5tel
GNU/Linux


RTC seems to still working.

root@qnap:/home/adminuser# journalctl -b | grep rtc
Dez 06 22:06:24 qnap kernel: rtc-s35390a 0-0030: registered as rtc0
Dez 06 22:06:24 qnap kernel: rtc-s35390a 0-0030: setting system clock to
2020-12-06T21:06:13 UTC (1607288773)
root@qnap:/home/adminuser#

@ Martin:
Sorry for any inconvenience to write is message to you.
Can you please help to set the boot args to load usb in the uboot-config?

fw_printenv show
bootargs=console=ttyS0,115200 root=/dev/ram initrd=0xa00000,0x900000
ramdisk=34816
bootcmd=uart1 0x68;cp.l 0xf8200000 0x800000 0x80000;cp.l 0xf8400000
0xa00000 0x240000;bootm 0x800000

set initrd addresses to the values above is clear but where do I tell
uboot to start usb and load the files from there?
What did cp.l and the memory adresses behind mean?

Best Regards,




Reply to: