Port-arm archive

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

Re: Unable to boot NetBSD on Linksys NSLU2 (armbe / armv5tel)

Pe 8 mar. 2015 11:35, "Martin Husemann" <martin%duskware.de@localhost> a scris:
> Can you please show us the build.sh command that you are using to build

I use the script below:

0 eddy@heidi ~/usr/src/netbsd/net $ cat cleanbuild.sh
set -e

git clean -x -f -d
git reset --hard HEAD

cp ../NSLU2_ALL sys/arch/evbarm/conf/
cp ../IxNpeMicrocode.dat sys/arch/arm/xscale/

#patch -p1 < ../binutils.patch
export NOGCCERROR=yes

git diff

./build.sh -j 3 -U -m evbarm -a armeb -V NOGCCERROR=yes tools
./build.sh -j 3 -u -U -m evbarm -a armeb -V NOGCCERROR=yes build
./build.sh -j 3 -u -U -m evbarm -a armeb -V KERNEL_SETS=NSLU2_ALL release

ls -l obj/releasedir/evbarm/binary/sets

(I'm running this from the src dir in the git clone of the CVS repo from https://github.com/jsonn/src)

> everything, and the output of file(1) for a binary (like sbin/init) and

eddy@ritter:/export/netbsd-nslu2/root$ file sbin/init
sbin/init: ELF 32-bit MSB executable, ARM, version 1, dynamically linked (uses shared libs), for NetBSD 6.99.24, compiled for: armeb, not stripped

> the kernel you are trying to load?

Do you mean the .bin file?

eddy@ritter:/export/netbsd-nslu2/root$ file netbsd-nfs*
netbsd-nfs:     ELF 32-bit MSB executable, ARM, version 1, statically linked, for NetBSD 6.99.24, not stripped
netbsd-nfs.bin: data

> Martin

Home | Main Index | Thread Index | Old Index