Hi.
I have a problem booting a TS-7260 with a new kernel binary generated
from
tskernel-2.4.26-ts11-src.tar.gz, with ADEOS path applied. I had to make some
changes in a file in the kernel tree to boot with yaffs2: ts7250.c, some
changes to offsets of the partitions. It is strange that the source files of
kernel shipped with the TS-7260 doesn´t match with the binaries installed on
it.
--- a/ts7250.c 2007-01-30 22:42:57.000000000 -0500
+++ b/ts7250.c 2007-02-03 00:10:02.000000000 -0500
@@ -48,14 +48,14 @@
{
.name = "TS-BOOTROM",
.offset = 0x00000000,
- .size = 0x00004000,
+ .size = 0x00020000,
}, {
.name = "Linux",
- .offset = 0x00004000,
+ .offset = 0x00020000,
.size = 0x01d00000,
}, {
.name = "RedBoot",
- .offset = 0x01d04000,
+ .offset = 0x01d20000,
.size = 0x002fc000,
},
};
@@ -67,15 +67,15 @@
{
.name = "TS-BOOTROM",
.offset = 0x00000000,
- .size = 0x00004000,
+ .size = 0x00020000,
}, {
.name = "Linux",
- .offset = 0x00004000,
+ .offset = 0x00020000,
.size = 0x07d00000,
}, {
.name = "RedBoot",
- .offset = 0x07d04000,
- .size = 0x002fc000,
+ .offset = 0x07d20000,
+ .size = 0x002e0000,
},
};
#endif
After i changed the file, and some other configuration files (to use
YAFFS2, and not YAFFS) the kernel was ready and everything is working ok,
but i have a warning in boot (Bad eraseblock n at xxxx):
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V
8-bit)
Scanning device for bad blocks
Bad eraseblock 0 at 0x00000000
Bad eraseblock 1 at 0x00020000
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"
The warnings are not present when i boot with the kernel already
instaled
in the TS (that haven´t adeos, so it not usefull to me). After some googling
and research it looks like its a behaviour related with yaffs
implementation... unfortunatelly, there are no patchs for kernel 2.4.x (at
least, i didn´t found any patch).
Any help would be very welcomed.
Thanks in advance.
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/
|