All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Sokolovsky <pmiscml@gmail.com>
To: Richard Purdie <rpurdie@rpsys.net>
Cc: openembedded-devel@lists.openembedded.org,
	angstrom-distro-devel@linuxtogo.org
Subject: Re: [Angstrom-devel] [RFC] Get rid of adhoc machine-specific messing with [linux-handhelds-2.6] kernel packages
Date: Thu, 4 Jan 2007 23:38:09 +0200	[thread overview]
Message-ID: <343253992.20070104233809@gmail.com> (raw)
In-Reply-To: <1167944118.7757.164.camel@localhost.localdomain>

Hello Richard,

Thursday, January 4, 2007, 10:55:18 PM, you wrote:

> On Thu, 2007-01-04 at 21:03 +0200, Paul Sokolovsky wrote:
>>   No. My original mail said that it lead to broken snapshots released
>> for hx4700, so I RFCed its removal for it, and for another PocketPC
>> machine, htcuniversal, because I'm pretty sure it can live without it.

> Why were the snapshots broken? Was the problem not the total lack of a
> zImage file. The fact that doesn't automatically deploy atm is actually
> a bitbake trunk issue as it doesn't see any dependency to trigger that.

  It was quite simple: while usually snapshots include standalone
zImage, 1219 lacked it. It's not issue for the most devices, because
zImage can be taken from rootfs, but hx4700 for example lacks it,
rendering snapshot for it useless.

  Obviously, it's small release mistake, but mistakes like this will
come up again and again.

> If those devices don't boot from a kernel within the image and need a
> separate one, this would appear to be an unrelated problem as most users
> are not going to extract the zImage from the image file.

  It's a matter of habit. I personally find it quite natural to have
kernel in /boot, because that's what I have with all other Linuxes I
run around.


>> > Machine config files set information that is specific to the machine.
>> > Whether of not a given machine has a sucky bootloader is a property of
>> > the machine.
>> 
>>   Point of view. It's all just point of view. Many-many people would
>> consider you crazy for wanting to install something else, handmade,
>> instead of vendor-carved-in stuff. But you smile and do just that. And
>> yet you tell that /home partition and bootloader are carved in stone.
>> But someone else will flash them away just as easily.

> I was thinking of the Zaurus case where the separate zImage is a
> property of the machine at this time as there are no practical
> alternatives to having a kernel outside the rootfs. The hh.org case is
> admittedly less clear cut. There are documented standard methods of
> using these handhelds with Linux and its machine specific whether a
> separate kernel is required or not. Having this documented on a per
> machine basis therefore makes more sense than hardcoding it into the
> linux-*.inc files. The example would be when I try a Zaurus kernel from
> hh.org. If its set in the machine files, the hh.org kernel would stand a
> better chance of working.

  Yes, machine config is much better than kernel recipes. And as long
as machine choices can be overridden by distro's, that's just perfect
solution too.

> At the end of the day its the machine maintainer's choice. You put RFC
> in the subject and you got comments. You don't have to agree with them!

  Well, I didn't expect that to be easy, that's why I decided to raise
this topic early ;-)

>>   As argued, on the order of magnitude you'd have been had already.
>> But err..., I don't ask Zaurus to switch. Just to let PocketPCs try it,
>> and preferably, consistently. We already have user support nightmare
>> just because there're few adhoc kernel install/upgrade methods for each of
>> the few well supported models, and lack of any booting for the rest.

> I said this reply was to both you and Koen. Koen called for one unified
> approach which implies the Zaurus would have to follow your proposal. I
> took issue with that for the reasons I outlined. 

>>   Ok, so it's clear that Zaurus machines need to keep using existing
>> methods, and those methods should not be touched. On the other hand, I
>> hope I was able to argue that other machines might have other
>> requirements. In this regard, I'll still need to argue to machine
>> mentors of (PocketPC!) machines in question to drop
>> FILES_kernel-image_MACH = "".

> You've shown your position, I've not seen other PocketPC machine
> maintainers comment. You won't change my view regarding the hx2000
> either though ;-).

>>   But anyway, I think that ROOTFS_POSTPROCESS_COMMAND +=  "remove_zimages; "
>> thing is still useful. It doesn't mean that machines should switch to
>> it, but it offers nice, potentially machine-independent, way to remove
>> zImage file from the image. So, besides alternative way to produce
>> real rootfs image without zImage which will be still possible to
>> upgrade with ipkg (even if semi-manually) - and that's considered to
>> be a feature, not breakage, it can be useful for other things, like
>> initrd creation.

> In one breath you complain about the zimage packages being a "hack at
> best". You then propose hacking the generated images ;-).

  Because packages and images are two different things. Packages can
be used for different purposes - at lease for initial rootfs creation
and for following upgrades, whereas image's purpose is more specific
and constrained. So as usual, the question is not to do or not to do,
but how (in particular, in what place). I'll raise question of initrd
creation later in separate topic.


> Richard





-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




  parent reply	other threads:[~2007-01-04 21:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <53610736.20061228191750@gmail.com>
2006-12-28 17:50 ` [Angstrom-devel] [RFC] Get rid of adhoc machine-specific messing with kernel packages Koen Kooi
2006-12-28 20:32   ` Richard Purdie
2006-12-29  2:05     ` Paul Sokolovsky
2006-12-29 11:34       ` Richard Purdie
2007-01-04 19:03         ` [Angstrom-devel] [RFC] Get rid of adhoc machine-specific messing with [linux-handhelds-2.6] " Paul Sokolovsky
2007-01-04 20:55           ` Richard Purdie
2007-01-04 21:22             ` Koen Kooi
2007-01-04 21:33               ` Richard Purdie
2007-01-04 21:38             ` Paul Sokolovsky [this message]
2007-01-05  8:41           ` Marcin Juszkiewicz
2007-01-05  9:15             ` Koen Kooi
2007-01-05 10:15               ` pHilipp Zabel
2007-01-06 10:26             ` Paul Sokolovsky
2006-12-29  1:30   ` [Angstrom-devel] [RFC] Get rid of adhoc machine-specific messing with " Paul Sokolovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=343253992.20070104233809@gmail.com \
    --to=pmiscml@gmail.com \
    --cc=angstrom-distro-devel@linuxtogo.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=rpurdie@rpsys.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.