org.oe.dev compulab-pxa270.conf: fix serial console setup for 2.6.22 kernel,
A message that is not in the archive (sent off-list or not yet received): [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
cbrake commit schreef:
Review
Quoted 6 lines
conf/machine/compulab-pxa270.conf(quoted diff) +4
-0+# the following is require for building tiny images that can fit in NOR flash. +# recommend using uclibc, Angstrom, and angstrom-minimal-image bitbake target +# note, if these are define in your local.conf, they will be overwritten +MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "mtd-utils ipkg"
I have a real hard time believing that a device needs ipkg[1] and mtd-utils to boot. This does not belong in task-base, but in your local.conf or image recipe. Please remove it from the machine file.
regards,
Koen
[1] especially considering angstrom will ditch ipkg and use dpkg in the near future -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGy21bMkyGM64RGpERAptkAJ9yQTM3Cl1XPjBG3BSjKnEFo3x8MgCfWGaL 8QrfzERc5s5NxrSYvT8fQF4=
=sy3r
-----END PGP SIGNATURE-----
Quoted 7 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1cbrake commit schreef:
Quoted 1 line
conf/machine/compulab-pxa270.conf
Quoted 8 lines
Review
Quoted 4 lines
(quoted diff) +4
-0+# the following is require for building tiny images that can fit in NOR flash. +# recommend using uclibc, Angstrom, and angstrom-minimal-image bitbake target +# note, if these are define in your local.conf, they will be overwritten +MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "mtd-utils ipkg"I have a real hard time believing that a device needs ipkg[1] and mtd-utils to boot. This does not belong in task-base, but in your local.conf or image recipe. Please remove it from the machine file.
Hello Koen,
You are right about ipkg.
Let me explain what I'm trying to do, and perhaps someone will have a suggestion how I can better do this. I need to build a small NOR image that fits in less than 2.4MB that includes mtd-utils so that the NOR rootfs can be used to program the NAND flash. This is required to get away from the proprietary compulab NAND driver and use JFFS2. What I'm trying to do is make a way for someone to use OE out-of-the box on the cm-x270 without a lot of hassle. This means having reasonable out-of-the box defaults that can be used to produce a working system.
As a side (maybe you have some suggestions), this is one of the biggest areas where I see OE is lacking for the new user. What do I put in local.conf, and what image should I be building. To those of us who use OE a lot and keep up with it, this is no problem, but for the new user, this is a daunting task, and many probably give up before figuring out the magic combination that happens to work at the moment. Maybe we don't care -- and I guess if OE is hard, that is more business for people like me :-) But no, that is a faulty train of thought. I still need to look into the autobuilder stuff -- perhaps there is some configuration info there.
So I see my options as:
1) Write an article that describes how to do all this, example
local.conf, etc and point to that. I'll do this anyway, so perhaps that is the solution.
2) create a custom image for the cm-x270 NOR rootfs -- where should
I put this?
Appreciate any suggestions.
Have a great day!
Cliff
Signature · 3 lines
======================= Cliff Brake http://bec-systems.com
Hi Cliff,
initramfs is not an option for you?
Bye Henning
Quoted 1 line · Henning Heinold
initramfs is not an option for you?
Hello Henning,
Yes, I am building an initramfs (cpio.gz image) to place in NOR flash.
Specifically, what OE image target are you suggesting? Offhand, I
don't see any that include mtd-utils.
Thanks,
Cliff
Signature · 3 lines
======================= Cliff Brake http://bec-systems.com
Quoted 5 lines · Cliff Brake
Let me explain what I'm trying to do, and perhaps someone will have a suggestion how I can better do this. I need to build a small NOR image that fits in less than 2.4MB that includes mtd-utils so that the NOR rootfs can be used to program the NAND flash. This is required to get away from the proprietary compulab NAND driver and use JFFS2.
packages/images/minimal-image-with-mtd-utils.bb:
require angstrom-minimal-image.bb
RDEPENDS += "mtd-utils"
should do the trick. Then choose better name for recipe and push it into OE.
Quoted 2 lines
2) create a custom image for the cm-x270 NOR rootfs -- where should
I put this?
packages/images/
Signature · 5 lines
JID: hrw-jabber.org OpenEmbedded developer/consultant If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Pro-Logic Surround Sound with Bass Boost and all the music is free.