Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: TS-7200 16mb kernel image
Hi Håvard -- thanks for your help. I was able to create the kernel image;
however I'm now stuck on booting the kernel. Here are the messages during
boot:
RedBoot> g 0x60E60000
NetBSD/TS7200 Gzip Boot, Revision 1.2
(root@..., Mon Aug 3 17:32:57 PDT 2009)
Load address: 0x200000
Uncompressing image...FATAL: error -3 from zlib
Does this indicate a checksum error?
Here's a summary of the steps I've taken so far to create
gzimg_TS7200_wd0_flash_0x60e60000:
- cp -Rf TS7200_flash_0x60660000 TS7200_flash_0x60e60000 and modify Makefile
RELOC= 0x60e60000 and ldscript.
- Add SUBDIR to /usr/src/sys/arch/evbarm/stand/gzboot/Makefile.
- Modify /usr/src/distrib/evbarm/gzboot/gzimg/Makefile targets to RELOC_ADDR
0x60e60000 for TS7200.
- Add gzboot_TS7200_0x60e60000.bin to
/usr/src/distrib/sets/lists/base/md.evbarm.
- Build tools, kernel, and distribution.
- From /usr/src/distrib/evbarm/gzboot/gzimg: make
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
- gzimg_TS7200_wd0_flash_0x60e60000 is located in
/usr/src/distrib/evbarm/gzboot/gzimg/obj.
- Generally followed the instructions in the evbarm ports install under
Preparation for the Technologic Systems TS-7200, replacing 0x60660000 with
0x60e60000.
Thanks - Joel
--------------------------------------------------
From: "Havard Eidnes" <he%NetBSD.org@localhost>
Sent: Monday, August 03, 2009 05:35
To: <idatum%comcast.net@localhost>
Cc: <port-arm%netbsd.org@localhost>
Subject: Re: TS-7200 16mb kernel image
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 ===========
The next step would then be to add this file name to
src/distrib/sets/lists/base/md.evbarm
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index