in an attempt to solve my current problems in a methodical way, i
got ahold of what i'm hoping is a stock, factory-installed TS-7250
board and i'm going to use that as a starting point. that would seem
to make more sense than trying this with a board of unknown provenance
with a totally unofficial kernel on it which came from god knows
where.
(first question -- is there a rev or spin identifier on these boards
anywhere, whose value might be important?)
so, starting with this new board and booting into redboot, i see
this:
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
(reserved) 0x60000000 0x60000000 0x07D20000 0x00000000
RedBoot 0x67D20000 0x67D20000 0x00040000 0x00000000
vmlinux 0x67D60000 0x00218000 0x000C0000 0x00218000
FIS directory 0x67FE0000 0x67FE0000 0x00003000 0x00000000
RedBoot config 0x67FFF000 0x67FFF000 0x00001000 0x00000000
the first thing i notice is that this is *not* the same layout as
the earlier board so i'm assuming that whoever set up that earlier
board also modified the flash partitioning. certainly, the MTD
partitioning is different given that "fconfig -l" shows that the root
filesystem is at mtdblock1, not mtdblock2 as the earlier board was.
(second question -- can anyone verify that the above output from
"fis list" represents the *default* layout of a 32M-flash TS-7250?)
now let's boot this new board to see:
Using static partition definition
Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00020000 : "TS-BOOTROM"
0x00020000-0x07d20000 : "Linux"
0x07d20000-0x08000000 : "RedBoot"
and
$ cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00020000 "TS-BOOTROM"
mtd1: 07d00000 00020000 "Linux"
mtd2: 002e0000 00020000 "RedBoot"
$ uname -a
Linux ts7200 2.4.26-ts11 #3 Tue Jun 6 14:13:14 MST 2006 armv4l unknown
$
excellent. so i'm now convinced that this board has a perfectly
working install on it, even if it is only 2.4.26-ts11. so what i want
to do now is take this a couple steps further and:
1) boot from a pre-built image that matches what's on the board, and
2) build my own kernel image that matches what's on the board, and
boot from that. (i'll leave the root fs as it is for now.)
so, the last few questions:
* if i look at the kernel images here:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7250-linux/binaries/ts-kernels/
which one corresponds to what's on a new TS-7250 board? i would
have thought i'd want one for the combination of 7250 and ts11, but i
see one that is real-time, another that is a zImage, and so on. am i
missing the obvious choice that would represent booting from *exactly*
what's already on this board?
* if i download the source for the 2.4.26-ts11 kernel, and do a
defconfig, should that theoretically give me exactly what's on the
board as well, since that would be my next test.
* finally, what's the best choice of toolchain for the above? (i have
all of the toolchains installed and i can switch between them at
will.)
all i'm trying to verify is that i can build and boot my own
kernels, and i'll start slowly with 2.4.26 so i can localize the
first place i get into trouble. thanks for any info.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|