GlobalScale DreamPlug + FreeBSD 8.2 release

Luiz Otavio O Souza lists.br at gmail.com
Sat Oct 1 22:33:18 UTC 2011


On Oct 1, 2011, at 5:49 AM, Mattia Rossi wrote:

>>> 
>>> I don't know.. it just doesn't work for me.
>>> 
>>> U-Boot 2011.06-02334-g8f495d9-dirty (Mar 28 2011 - 05:21:06)
>>> Marvell-DreamPlug
>>> 
>>> SoC: Kirkwood 88F6281_A0
>>> DRAM: 512 MiB
>>> SF: Detected MX25L1606 with page size 256, total 1 MiB
>>> In: serial
>>> Out: serial
>>> Err: serial
>>> Net: egiga0, egiga1
>>> 88E1121 Initialized on egiga0
>>> 88E1121 Initialized on egiga1
>>> Hit any key to stop autoboot: 0
>>> Marvell>> set ipaddr 192.168.12.80
>>> Marvell>> set serverip 192.168.12.81
>>> Marvell>> tftpboot 0x900000 kernel.bin
>>> No link on egiga0
>>> Using egiga1 device
>>> TFTP from server 192.168.12.81; our IP address is 192.168.12.80
>>> Filename 'kernel.bin'.
>>> Load address: 0x900000
>>> Loading:
>>> #################################################################
>>> #################################################################
>>> #################################################################
>>> ###################################
>>> done
>>> Bytes transferred = 3366392 (335df8 hex)
>>> Marvell>> go 0x900000
>>> ## Starting application at 0x00900000 ...
>>> 
>>> 
>>> And there it just hangs.
>>> Kernel compiled with:
>>> KERNCONF=DB-88F6XXX
>>> TARGET=arm
>>> TARGET_ARCH=arm
>>> 
>>> Help?
>>> 
>>> Mat
>>> 
>> 
>> I have luck with SheevaPlug based kernel config.
>> Here is the kernel config file I'm using. It's based on SheevaPlug.
>> You probably need to adjust the root FS, network protocol.
>> 
>> Good luck.
>> 
> 
> Thanks Naoyuki,
> 
> I've tried the KERNCONF you sent me, but still no luck.
> 
> I had to add the following line to get it to compile though:
> 
> options FDT
> 
> Hope that didn't kill it.
> 
> The kernel still hangs after i tell uboot to go to 0x900000
> 
> This is weird.
> 
> Mat


Hi Mat,

This is not so weird, you probably need to find the correct entry point for the kernel you've built.

You can find it with the following commands (please adapt it to your environment):

# cd /your/current/build/sources/
# make ${MAKEFLAGS} kernel-toolchain
# make ${MAKEFLAGS} buildenv
Entering world for mipseb:mips
# nm /data/tftpboot/ar7240/boot/kernel/kernel | grep " _start"
80050100 T _start

So in this case i need to load the load the kernel at 0x80050000 and then start it with 'go 0x80050100'. (this kernel was built with KERNLOADADDR=0x80050000: http://pastebin.com/A1d06Eqe).

Regards,
Luiz


More information about the freebsd-arm mailing list