Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I go the following errors...using gcc version 4.2.1
drivers/ata/built-in.o: In function `swap_buf_le16':
sata_mv.c.text.swap_buf_le16+0x0): multiple definition of `swap_buf_le16'
drivers/scsi/built-in.o:sg.c.text.swap_buf_le16+0x0): first defined here
make[1]: *** [drivers/built-in.o] Error 1
make: *** [drivers] Error 2
Also the kernel 3.5.3 without any patch fails to boot
Marvell_DNS320>> bootm
## Booting image at 02000000 ...
Image Name: Linux-3.5.3
Created: 2012-09-11 10:30:40 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2142408 Bytes = 2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Error: unrecognized/unsupported machine ID (r1 = 0x0000020f).
Available machine support:
ID (hex) NAME
ffffffff Marvell Kirkwood (Flattened Device Tree)
Please check your kernel config and/or bootloader.
-----------------
on this page : http://jamie.lentin.co.uk/devices/dlink-dns325/
it says :
# For DNS-320...
setenv arcNumber 3985
setenv mainlineLinux yes
none of these works...
Offline
I've got the same problem.
I'm not sure but this u-boot release (or kernel dns-32x ?) seems to lack dtb support. So I append dtb to zImage and dns-325 begins to boot.
I enabled in kernel : menuconfig > Boot options
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
make kirkwood-dns325.dtb
make zImage
cat arch/arm/boot/kirkwood-dns325.dtb >> arch/arm/boot/zImage
make uImage
Marvell>> usb start
Marvell>> ext2load usb 0:1 0x00a00000 /uImage
Marvell>> setenv bootargs 'console=ttyS0,115200n8 debug earlyprintk'
Marvell>> bootm 0x00a00000
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.6.0-rc5 (ju1i3n@restalamaison) (gcc version 4.7.1 (crosstool-NG 1.16.0) ) #14 Thu Sep 13 00:33:08 CEST 2012
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell Kirkwood (Flattened Device Tree), model: D-Link DNS-325 NAS (Rev A1)
...
[ 15.233691] VFP support v0.3: not present
[ 15.237799] turn off boot console earlycon0
I only test it on 3.6.0-rc5, my kernel is not yet fully configured and it stops before the end of initialization
Offline
i've managed to compile 3.5.2 with the patch from http://jamie.lentin.co.uk/devices/dlink-dns325/
Marvell_DNS320>> setenv mainlineLinux yes
Marvell_DNS320>> setenv arcNumber 3985
Marvell_DNS320>> bootm
## Booting image at 02000000 ...
Image Name: Linux-3.5.2
Created: 2012-09-12 11:39:39 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2107264 Bytes = 2 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.2 (root@xxxx) (gcc version 4.4.5 (Debian 4.4.5-8) ) #11 PREEMPT Wed Sep 12 14:39:00 EEST 2012
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: D-Link DNS-320
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 123656k/123656k available, 7416k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc052e000 (5272 kB)
.init : 0xc052e000 - 0xc0557914 ( 167 kB)
.data : 0xc0558000 - 0xc05864e0 ( 186 kB)
.bss : 0xc0586504 - 0xc06191a4 ( 588 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:114
sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
Console: colour dummy device 80x30
Calibrating delay loop... 789.70 BogoMIPS (lpj=3948544)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x41f8f8 - 0x41f934
NET: Registered protocol family 16
Kirkwood: MV88F6281-A1, TCLK=166666667.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
PCI-E Device ID: MV88F6281, configuring power-off
dnskw: Setting power-recover on
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
msgmni has been set to 241
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
brd: module loaded
loop: module loaded
sata_mv sata_mv.0: cannot get optional clkdev
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata2: SATA max UDMA/133 irq 21
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
gpio-fan gpio-fan: GPIO fan initialized
cpuidle: using governor ladder
cpuidle: using governor menu
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP: cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Key type dns_resolver registered
VFP support v0.3: not present
input: gpio-keys as /devices/platform/gpio-keys/input/input0
and then hangs... no messages...
Last edited by machitza (2012-09-13 10:39:22)
Offline
julien.news wrote:
I've got the same problem.
I'm not sure but this u-boot release (or kernel dns-32x ?) seems to lack dtb support. So I append dtb to zImage and dns-325 begins to boot.
It's u-boot that is lacking. u-boot should know how to load the dtb into memory and tell Linux where it is. The stock u-boot doesn't know how to do this.
julien.news wrote:
I enabled in kernel : menuconfig > Boot options
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
Did you enable CONFIG_SERIAL_OF_PLATFORM? Without this there is no serial port, so no console.
julien.news wrote:
Marvell>> usb start
Marvell>> ext2load usb 0:1 0x00a00000 /uImage
What does the output of these two commands look like, out of curiosity?
julien.news wrote:
I only test it on 3.6.0-rc5, my kernel is not yet fully configured and it stops before the end of initialization
3.6.0-rc5 should work well. You shouldn't need to use a patched kernel any more, I've started to update my website to reflect this but there may well be gaps just at the moment.
Offline
Thank you, CONFIG_SERIAL_OF_PLATFORM was missing. Now 3.6.0-rc5 works without any patch.
I saw that you have updated your website, very nice. I think you have done a bad copy-paste: ethaddr, ipaddr and serverip are uselessfor usb booting.
I can also confirm that usb boot doesn't work with every usb key.
Offline
julien.news wrote:
I saw that you have updated your website, very nice. I think you have done a bad copy-paste: ethaddr, ipaddr and serverip are uselessfor usb booting.
Thanks I think the ethaddr is still potentially useful, without it the MAC address changes each time you reboot. Will check this though.
julien.news wrote:
I can also confirm that usb boot doesn't work with every usb key.
Yeah, I forgot about this and spent an hour wrestling with my USB microSD reader that doesn't work :$
Offline
Hi guys, wondering if any of you could share your stable kernel images for DNS-320? I seems to have problem with random crashes(looks like memory leak) of my debian boot, not sure if it is due to my kernel, so need to test it out.
Last edited by caekys (2012-12-07 07:03:10)
Offline
caekys wrote:
Hi guys, wondering if any of you could share your stable kernel images for DNS-320? I seems to have problem with random crashes(looks like memory leak) of my debian boot, not sure if it is due to my kernel, so need to test it out.
Got the issue traced and fix, found the rogue script that is messing up box.
Offline
May i know what was the rogue script?
Offline