Skip to contentSkip to conversation

HowTo make jffs2 image after linux.mk?

Buildroot Konstantin Kletschke 2 participants 4 messages Jul 26, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi Folks!

Actually I am going into production with a buildroot tree advanced by target/device/vendor/product subdirectory :)

Well, I adapted a linux-mk for my needs and the function is quite handy.

But what is the best way to create a jffs2 image _after_ compiling kernel modules?

The only chance I see is to move "source "target/device/Config.in"" just above "source "target/jffs2/Config.in"" but that looks rather ugly and hackish.

Is there a more canonical way to do this?

Regards, Konstantin Kletschke

Signature · 2 lines
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF
#1 lore raw
Quoted 11 lines · Konstantin Kletschke

Actually I am going into production with a buildroot tree advanced by target/device/vendor/product subdirectory :)

Well, I adapted a linux-mk for my needs and the function is quite handy.

But what is the best way to create a jffs2 image _after_ compiling kernel modules?

The only chance I see is to move "source "target/device/Config.in"" just above "source "target/jffs2/Config.in"" but that looks rather ugly and hackish.

In my buildroot tree, I did the same thing the gumstix folks did. I added a TARGET_FS target to the end of the world target list and moved all the all the *root targets from TARGETS to TARGET_FS. This way the jffs2 target is always built last.

                           --Clem
#2 lore raw

Am 2006-07-26 11:20 -0400 schrieb Clem Taylor:

Quoted 1 line

In my buildroot tree, I did the same thing the gumstix folks did. I

gumstix? I did not found gunstix stuff there...

Quoted 3 lines

added a TARGET_FS target to the end of the world target list and moved all the all the *root targets from TARGETS to TARGET_FS. This way the jffs2 target is always built last.

I removed the last three lines of target/jffs2/jffs2root.mk
and added jffs2root to "all: world" in main Makefile for now...

Regards, Konsti

Signature · 2 lines
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF
#4 lore raw
In reply to a message not in the archive

Am 2006-07-26 12:06 -0400 schrieb Clem Taylor:

Quoted 4 lines
Quoted 1 line

gumstix? I did not found gunstix stuff there...

Yeah, they have a bunch of buildroot customizations in there tree:
http://svn.gumstix.com/gumstix-buildroot/trunk

Ok, now I got it :-)

Quoted 3 lines

They happened to be using u-boot and I wanted to see how they handled some u-boot integration issues. In the process I found that they had fixed a number of buildroot annoyances.

I will keep an eye on their stuff.

They should use "make xxx_defconfig" in kernel source tree instead of copying a linux.config I already saw ;)

Regards, Konsti

Signature · 2 lines
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF