Date: Sat, 1 Oct 2011 19:08:53 -0300 From: Luiz Otavio O Souza <lists.br@gmail.com> To: mrossi@swin.edu.au Cc: freebsd-arm@freebsd.org Subject: Re: GlobalScale DreamPlug + FreeBSD 8.2 release Message-ID: <FBD1925E-883D-491A-8731-1260859B4486@gmail.com> In-Reply-To: <4E86D41D.1070908@swin.edu.au> References: <4E782686.6070500@smartfruit.com> <20110920160544.b8d6d969.ray@dlink.ua> <op.v131qha6i1oka3@luxor.smartfruit.com> <20110920173523.4043c0be.ray@dlink.ua> <op.v1324co3i1oka3@luxor.smartfruit.com> <4E85949F.1000004@swin.edu.au> <4E85D39F.1010606@smartfruit.com> <4E86D41D.1070908@swin.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 1, 2011, at 5:49 AM, Mattia Rossi wrote: >>>=20 >>> I don't know.. it just doesn't work for me. >>>=20 >>> U-Boot 2011.06-02334-g8f495d9-dirty (Mar 28 2011 - 05:21:06) >>> Marvell-DreamPlug >>>=20 >>> 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 =3D 3366392 (335df8 hex) >>> Marvell>> go 0x900000 >>> ## Starting application at 0x00900000 ... >>>=20 >>>=20 >>> And there it just hangs. >>> Kernel compiled with: >>> KERNCONF=3DDB-88F6XXX >>> TARGET=3Darm >>> TARGET_ARCH=3Darm >>>=20 >>> Help? >>>=20 >>> Mat >>>=20 >>=20 >> 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. >>=20 >> Good luck. >>=20 >=20 > Thanks Naoyuki, >=20 > I've tried the KERNCONF you sent me, but still no luck. >=20 > I had to add the following line to get it to compile though: >=20 > options FDT >=20 > Hope that didn't kill it. >=20 > The kernel still hangs after i tell uboot to go to 0x900000 >=20 > This is weird. >=20 > 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=3D0x80050000: http://pastebin.com/A1d06Eqe). Regards, Luiz=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FBD1925E-883D-491A-8731-1260859B4486>