I'm attempting to create a kernel image for a 16mb
version of the TS-7200. Can someone give me some pointers?
Here is my fis list:
RedBoot> fis
list
Name FLASH addr Mem addr Length Entry point (reserved) 0x60000000 0x60000000 0x00E20000 0x00000000 RedBoot 0x60E20000 0x60E20000 0x00040000 0x00000000 RedBoot config 0x60FC0000 0x60FC0000 0x00001000 0x00000000 FIS directory 0x60FE0000 0x60FE0000 0x00020000 0x00000000 If I understand this correctly, I need to crosscompile
evbarm and create gzimg_TS7200_wd0_flash_0x60e60000. Here are the steps I've
taken:
- Under .../sys/arch/evbarm/stand/gzboot/, cp -Rf
TS7200_flash_0x60660000 TS7200_flash_0x60e60000.
- Modify Makefile RELOC= 0x60e60000, and change ldscript
to set 0x60e60000.
- With an empty ../obj, I did a ./build.sh -u -U -m
evbarm kernel=TS7200 distribution, but got the build distribution
errors:
======= 1 extra files in DESTDIR
=========
Files in DESTDIR but missing from flist. File is obsolete or flist is out of date ? ------------------------------------------ ./usr/mdec/gzboot_TS7200_0x60e60000.bin ========= end of 1 extra files =========== *** Failed target: checkflist *** Failed command: cd /usr/src/distrib/sets && DESTDIR=/usr/src/obj/destdir.evbarm MACHINE=evbarm MACHINE_ARCH=arm AWK=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbawk CKSUM=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbcksum DB=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbdb HOST_SH=/bin/sh MAKE=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake MKTEMP=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmktemp MTREE=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmtree PAX=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbpax SED=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbsed TSORT=/usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbtsort\ -q /bin/sh /usr/src/distrib/sets/checkflist -M /usr/src/obj/destdir.evbarm/METALOG.sanitised *** Error code 1 Stop.
nbmake: stopped in /usr/src/distrib/sets *** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-5.0_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets checkflist *** Error code 1 Stop.
nbmake: stopped in /usr/src ERROR: Failed to make distribution
*** BUILD ABORTED *** |