-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Koen Kooi schreef:
> Junqian Gordon Xu schreef:
>> Koen,
>
>> Could you check the integrity of the jffs2 files
and post the md5sum?
>
>> I have tried both console and x-11 images. Ended up
with the following
>> error after flashing
>
>> JFFS2 compression type 0x07 not available
>> Error: jffs2_decompress returned -5
>> kernel panic - not syncing: No init found. Try
passing init = option to
>> kernel
>
> The integrity is OK, the problem is that the images
seem to be using LZO compression for
> jffs2, while the 2.6.17 kernel used on tosa doesn't
support that.
> Richard do you have a solution for that?
The intermediate solution I used is this:
#
# old_revision [54d07772a3c6a37991b9742a23b1ae062438c9e5]
#
# patch "conf/machine/tosa.conf"
# from [6c59a88ddb8ab5b419264c1a4d2f172bd7ba76c3]
# to [feb139a82928c8ad70d7a4d353f2a83eba57ab54]
#
============================================================
- --- conf/machine/tosa.conf
6c59a88ddb8ab5b419264c1a4d2f172bd7ba76c3
+++ conf/machine/tosa.conf
feb139a82928c8ad70d7a4d353f2a83eba57ab54
 -1,9
+1,25  require conf/machine/include/zaurus-2.6.
# TYPE: Machine
# NAME: Sharp Zaurus SL-6000
# DESCRIPTION: Machine configuration for the PXA255
based Sharp Zaurus SL-6000 device
require conf/machine/include/zaurus-2.6.conf
+
+#2.6.17 doesn't understande the LZO option, so we need to
duplicate the IMAGE_CMD here to
prevent LZO being turned on
+
+IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=$
--faketime
+ --output=$/$.rootfs.jffs2
--pad --little-endian
- --eraseblock=$ -n
+ && sumtool -i
$/$.rootfs.jffs2
+ -o
$/$.rootfs.jffs2.summary
+ --eraseblock=$ -l -p;
+ cat
$/sharp-flash-header/header-c700.bin
+ $/$.rootfs.jffs2 >
$/$.rootfs.jffs2;
+ rm $/$.rootfs.jffs2;
+ cat
$/sharp-flash-header/header-c700.bin
+ $/$.rootfs.jffs2.summary
>
$/$.rootfs.summary.jffs2;
+ rm
$/$.rootfs.jffs2.summary;"
+
+
# newer kernels does not build
PREFERRED_VERSION_linux-rp = "2.6.17"
(yes, thunderbird whitespace damaged it, but you get the
idea)
A new console image is up, x11-image will follow later. I'll
have to cross my fingers,
since I don't have a tosa to test this on.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGD6/1MkyGM64RGpERAtouAJ4noFJhw6MfjYcQR3bPzAn6s55NgQCg
ug5J
FrpWiqVg8nboIVoaLdgIkoU=
=pqie
-----END PGP SIGNATURE-----
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mail
man/listinfo/angstrom-distro-devel
|