28.07.2016 19:31, kp kirchdoerfer пишет:
> Hi Andrew;
>
> Am Donnerstag, 28. Juli 2016, 12:24:58 schrieb Andrew:
>> Hi.
>>
>> I think that we should move root, config and maybe some other 'core'
>> packages to initrd - to make it possible to run on tiny systems with
>> small amount of RAM and available persistent ROM for permanently mounted
>> initrd (like SOHO routers).
> Looks almost like a packaging task, or am I wrong?
Yes, it's mostly packages reorganization. Simple, but very important 
step. Other step - use r/o squash + r/w tmpfs over the top on it if 
kernel option is specified - slightly harder, but harmless and may be 
done even after first beta.

Maybe we even should move iptables here too - IMHO in 95% use cases 
iptables is used.
> Do you expect space savings or just simplification?
I don't think that it'll have significant space changing. Maybe +-20-30kb.
>
> I think the most important task for very small platforms is to get rid of
> modules.sqfs.
> E.g. the modules for rpi kernel is still 4.9MB, and of course it can be
> reduced nect to zero, if decisions are made what devices will be supoorted and
> what not - though rpi is still an somewhat open platform and with enough space
> on the CF and RAM, so I'm not bothered too much; but for closed SOHO routers
> this won't be acceptable.
We'll target to SOHO routers with USB - boxes w/o USB (esp. with 4M ROM) 
aren't too perspective for LEAF, OpenWRT better fits there.

About modules.sqfs - IMHO it'll be a good idea to try to mount it till 
modprobing + add delayed umount to prevent needless umount/mount on each 
module.

Basically we should build SoC/platform 'core' modules (important ones 
that are 99% used - for ex., storage, wired network) as 
statically-linked to save space and to make maintaining easier.

> Not shure if we should add it to 6.0.0 (for a beta), but if we do make steps
> forward it could be at least for 6.1.0, which could be targeted until end of
> year if things goes well.
> Will you try in a new branch??
>
Yes, I'll try to look on it.

> For 6.0.0 an issue with perf needs to be solved, may I ask you to have a look
> at it first?
>   
Ok, I'll look on this package on this week.

>> Also, on beta release we should also freeze uClibc-ng version for this
>> branch.
> Agreed.
>
> kp
>


------------------------------------------------------------------------------

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to