<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Zaurus bootloader starts to be a real PITA</title> <atom:link href="http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/feed/" rel="self" type="application/rss+xml" /><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/</link> <description>Embedded Linux development</description> <lastBuildDate>Tue, 31 Jan 2012 13:33:03 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Marcin Juszkiewicz</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6999</link> <dc:creator>Marcin Juszkiewicz</dc:creator> <pubDate>Sun, 24 Feb 2008 19:51:25 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6999</guid> <description>&lt;p&gt;espi: I would get Nokia N810 instead of Zaurus -- better hardware for lower price.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>espi: I would get Nokia N810 instead of Zaurus &#8212; better hardware for lower price.</p>]]></content:encoded> </item> <item><title>By: espi</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6986</link> <dc:creator>espi</dc:creator> <pubDate>Sun, 24 Feb 2008 03:47:59 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6986</guid> <description>&lt;p&gt;I&#039;ve been reading about the Zaurus all day after JUST NOW discovering it and it seems great. I wouldn&#039;t know which OS ROM to settle on for everyday use (HQ PDF reading, torrents, web, office, notes) and would certainly want to multiboot. I plan on getting a Zaurus next month and multiboot. Much kudos to all the contributors.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>I&#8217;ve been reading about the Zaurus all day after JUST NOW discovering it and it seems great. I wouldn&#8217;t know which OS ROM to settle on for everyday use (HQ PDF reading, torrents, web, office, notes) and would certainly want to multiboot. I plan on getting a Zaurus next month and multiboot. Much kudos to all the contributors.</p>]]></content:encoded> </item> <item><title>By: Andrea Adami</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6743</link> <dc:creator>Andrea Adami</dc:creator> <pubDate>Tue, 05 Feb 2008 21:44:21 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6743</guid> <description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&#039;m amazed by the waste of time spent shrinking the kernel and complaining how bad the sharp bootloader is and I appreciate very much the efforts for alternatives ways (kexecs+initramfs) but is hard for me to think nobody want invest a couple of hours to fix once for all u-boot.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Hi,</p><p>I&#8217;m amazed by the waste of time spent shrinking the kernel and complaining how bad the sharp bootloader is and I appreciate very much the efforts for alternatives ways (kexecs+initramfs) but is hard for me to think nobody want invest a couple of hours to fix once for all u-boot.</p>]]></content:encoded> </item> <item><title>By: Marcin Juszkiewicz</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6366</link> <dc:creator>Marcin Juszkiewicz</dc:creator> <pubDate>Sat, 29 Dec 2007 19:41:15 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6366</guid> <description>&lt;p&gt;Paul: 1st and 2nd way are not a solution.&lt;/p&gt;&lt;p&gt;We can not forget about using kernel partition as Sharp bootloader load kernel from it. Repartition of flash would require another kernel change -- Sharp bootloader do not provide sensible kernel commandline -- we hardcode own one and also hardcode flash partition scheme.&lt;/p&gt;&lt;p&gt;Busybox for this initramfs will be quite small (most of functionality will be removed). During last attempt I was able to nearly reach limit. When I will get my c7x0 working again (batteries starts to show age) I will try how does it works. Of course final version should be small binary which just parse file from flash rootfs and &quot;kexec&quot; kernel.&lt;/p&gt;&lt;p&gt;And Zaurus does not have to care about NFS root support I think -- we have stable on-device storage.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Paul: 1st and 2nd way are not a solution.</p><p>We can not forget about using kernel partition as Sharp bootloader load kernel from it. Repartition of flash would require another kernel change &#8212; Sharp bootloader do not provide sensible kernel commandline &#8212; we hardcode own one and also hardcode flash partition scheme.</p><p>Busybox for this initramfs will be quite small (most of functionality will be removed). During last attempt I was able to nearly reach limit. When I will get my c7x0 working again (batteries starts to show age) I will try how does it works. Of course final version should be small binary which just parse file from flash rootfs and &#8220;kexec&#8221; kernel.</p><p>And Zaurus does not have to care about NFS root support I think &#8212; we have stable on-device storage.</p>]]></content:encoded> </item> <item><title>By: Paul Sokolovsky</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6365</link> <dc:creator>Paul Sokolovsky</dc:creator> <pubDate>Sat, 29 Dec 2007 18:38:04 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6365</guid> <description>&lt;p&gt;P.S.
Other choice of cutting down size of initramfs-bootmenu-image (built with uclibc, ~500k w/o NFS support, ~700k with NFS support) would be to use klibc. Alas, it seems that it doesn&#039;t support AEABI ;-&#092;&lt;/p&gt; </description> <content:encoded><![CDATA[<p>P.S.
Other choice of cutting down size of initramfs-bootmenu-image (built with uclibc, ~500k w/o NFS support, ~700k with NFS support) would be to use klibc. Alas, it seems that it doesn&#8217;t support AEABI ;-&#92;</p>]]></content:encoded> </item> <item><title>By: Paul Sokolovsky</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6364</link> <dc:creator>Paul Sokolovsky</dc:creator> <pubDate>Sat, 29 Dec 2007 18:33:18 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6364</guid> <description>&lt;p&gt;If you&#039;re trying to solve problem of what to do with 1.2Mb leftover partition in vendor&#039;s flash partitioning, then indeed something with shell interpreter in initramfs won&#039;t help you to get use of it. So can imagine following choices:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Give up on those 1.2Mb is preserving vendor&#039;s ancient layout is important.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Repartition flash.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Write an adhoc bootloader tools in C to save on busybox size in initramfs.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;But is seems that besides there 3 choices, there&#039;s 4th weighs as Sword of Damocles: &quot;our Zaurus hackers usually moves to newer platforms now …&quot;. Hacking out and maintaining userspace tools are obviously easier than LAB, but maybe you don&#039;t want to carry burden of maintaining some adhoc solution after all? How will it boot from NFS for example?&lt;/p&gt;&lt;p&gt;IMHO, that&#039;s how community-driven open-source projects should work: provide general solution which is easy to support and maintain. It may be not optimal however: that&#039;s what vendors are good at, focusing on specific solution for specific time span. Trying to do other party&#039;s job is IMHO wasting resources. Individuals and device interest groups of course may chose to provide device-optimized solution. But as optimization, not as the only, adhoc, timespan-limited way to handle the task.&lt;/p&gt;&lt;p&gt;As for LAB, it&#039;s apparently doomed now IMHO. It was interesting solution when there was no other choice, while it offered &quot;just works right now&quot; feature. With maturing of initramfs-uniboot (image of which initramfs-bootmenu-image builds), LAB is out of my personal list of things, even if it twice as big (with kernel) than LAB and would push poor h3600&#039;s flash to extreme. At least bootloading for it will work, and will work at least as long as for other devices.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>If you&#8217;re trying to solve problem of what to do with 1.2Mb leftover partition in vendor&#8217;s flash partitioning, then indeed something with shell interpreter in initramfs won&#8217;t help you to get use of it. So can imagine following choices:</p><ol><li><p>Give up on those 1.2Mb is preserving vendor&#8217;s ancient layout is important.</p></li><li><p>Repartition flash.</p></li><li><p>Write an adhoc bootloader tools in C to save on busybox size in initramfs.</p></li></ol><p>But is seems that besides there 3 choices, there&#8217;s 4th weighs as Sword of Damocles: &#8220;our Zaurus hackers usually moves to newer platforms now …&#8221;. Hacking out and maintaining userspace tools are obviously easier than LAB, but maybe you don&#8217;t want to carry burden of maintaining some adhoc solution after all? How will it boot from NFS for example?</p><p>IMHO, that&#8217;s how community-driven open-source projects should work: provide general solution which is easy to support and maintain. It may be not optimal however: that&#8217;s what vendors are good at, focusing on specific solution for specific time span. Trying to do other party&#8217;s job is IMHO wasting resources. Individuals and device interest groups of course may chose to provide device-optimized solution. But as optimization, not as the only, adhoc, timespan-limited way to handle the task.</p><p>As for LAB, it&#8217;s apparently doomed now IMHO. It was interesting solution when there was no other choice, while it offered &#8220;just works right now&#8221; feature. With maturing of initramfs-uniboot (image of which initramfs-bootmenu-image builds), LAB is out of my personal list of things, even if it twice as big (with kernel) than LAB and would push poor h3600&#8242;s flash to extreme. At least bootloading for it will work, and will work at least as long as for other devices.</p>]]></content:encoded> </item> <item><title>By: Marcin Juszkiewicz</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6362</link> <dc:creator>Marcin Juszkiewicz</dc:creator> <pubDate>Sat, 29 Dec 2007 17:47:22 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6362</guid> <description>&lt;p&gt;Paul: I looked at &quot;initramfs-bootmenu-image&quot; but this is not solution for Zaurus problem. It is good when you do not have limit on kernel size (which is true for ipaq devices due to kernel in rootfs). Our initramfs way will be more like LAB - kernel small enough to read kernel and params from real rootfs and then &quot;kexec&quot; into it.&lt;/p&gt;&lt;p&gt;We will not use LAB because it is handhelds.org product which is not accepted in mainline kernel. Due to that it would add extra work for us to maintain it.&lt;/p&gt;&lt;p&gt;Other bootloader was discussed already -- there is a patch for U-Boot which adds c7x0 and akita/spitz support. But this would also require teaching our users how to use it and we know how much problems pdaX users had when that distro switched to U-Boot.&lt;/p&gt;&lt;p&gt;Fully modular kernel is other problem -- our current Zaurus kernels are currently stripped from most of things. We supports two methods of booting now: Flash or SD (microdrive or SD for Spitz line). It is hard to find another parts to remove.&lt;/p&gt;&lt;p&gt;Looks like minimal kernel with initramfs (containing kexec mainly) is a way to go.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Paul: I looked at &#8220;initramfs-bootmenu-image&#8221; but this is not solution for Zaurus problem. It is good when you do not have limit on kernel size (which is true for ipaq devices due to kernel in rootfs). Our initramfs way will be more like LAB &#8211; kernel small enough to read kernel and params from real rootfs and then &#8220;kexec&#8221; into it.</p><p>We will not use LAB because it is handhelds.org product which is not accepted in mainline kernel. Due to that it would add extra work for us to maintain it.</p><p>Other bootloader was discussed already &#8212; there is a patch for U-Boot which adds c7x0 and akita/spitz support. But this would also require teaching our users how to use it and we know how much problems pdaX users had when that distro switched to U-Boot.</p><p>Fully modular kernel is other problem &#8212; our current Zaurus kernels are currently stripped from most of things. We supports two methods of booting now: Flash or SD (microdrive or SD for Spitz line). It is hard to find another parts to remove.</p><p>Looks like minimal kernel with initramfs (containing kexec mainly) is a way to go.</p>]]></content:encoded> </item> <item><title>By: Paul Sokolovsky</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6360</link> <dc:creator>Paul Sokolovsky</dc:creator> <pubDate>Sat, 29 Dec 2007 17:01:23 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6360</guid> <description>&lt;p&gt;Hopefully, it will be done in both directions:&lt;/p&gt;&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Making a kernel fully modular, opening up opportunity for single kernel binary for all devices of the same arch (I know, I know, it &quot;can&#039;t&quot; be done, but only because of ARM Linux/core Linux issues).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Choosing a new bootloader, hopefully with the similar requirement - to support &lt;em&gt;any&lt;/em&gt; device, to break vicious cycle of every device porting community to reinvent the wheel. APEX looks more favorable as it allows really slim builds (~30K).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;As for early-userpace initramfs which allows to boot rootfs in various ways, it&#039;s already in OE, &quot;bitbake initramfs-bootmenu-image&quot; is a quick way to get start with it.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Hopefully, it will be done in both directions:</p><ul><li><p>Making a kernel fully modular, opening up opportunity for single kernel binary for all devices of the same arch (I know, I know, it &#8220;can&#8217;t&#8221; be done, but only because of ARM Linux/core Linux issues).</p></li><li><p>Choosing a new bootloader, hopefully with the similar requirement &#8211; to support <em>any</em> device, to break vicious cycle of every device porting community to reinvent the wheel. APEX looks more favorable as it allows really slim builds (~30K).</p></li></ul><p>As for early-userpace initramfs which allows to boot rootfs in various ways, it&#8217;s already in OE, &#8220;bitbake initramfs-bootmenu-image&#8221; is a quick way to get start with it.</p>]]></content:encoded> </item> <item><title>By: Dmitry Baryshkov</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6359</link> <dc:creator>Dmitry Baryshkov</dc:creator> <pubDate>Sat, 29 Dec 2007 13:43:19 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6359</guid> <description>&lt;p&gt;I would also prefer to use trimmed kernel as a second-stage bootloader.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>I would also prefer to use trimmed kernel as a second-stage bootloader.</p>]]></content:encoded> </item> <item><title>By: Richard Purdie</title><link>http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6352</link> <dc:creator>Richard Purdie</dc:creator> <pubDate>Thu, 27 Dec 2007 10:15:00 +0000</pubDate> <guid
isPermaLink="false">http://marcin.juszkiewicz.com.pl/2007/12/26/zaurus-bootloader-starts-to-be-a-real-pita/#comment-6352</guid> <description>&lt;p&gt;Personally I think uboot would be a lot of work and that there are better ways to approach the problem. Making the kernel small is a worthwhile aim since the loaded kernel takes up valuable RAM, the bigger kernel, the more RAM used before you have applications. Fitting modern kernels  into 1.2MB is a challenge but I&#039;d like to see the problem reported upstream and some analysis done to fine out where the bloat is coming from and hopefully seeing some of it removed. Failing that you may as well just use a cut down kernel as a second stage bootloader...&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Personally I think uboot would be a lot of work and that there are better ways to approach the problem. Making the kernel small is a worthwhile aim since the loaded kernel takes up valuable RAM, the bigger kernel, the more RAM used before you have applications. Fitting modern kernels  into 1.2MB is a challenge but I&#8217;d like to see the problem reported upstream and some analysis done to fine out where the bloat is coming from and hopefully seeing some of it removed. Failing that you may as well just use a cut down kernel as a second stage bootloader&#8230;</p>]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching using disk: basic
Object Caching 359/387 objects using disk: basic

Served from: marcin.juszkiewicz.com.pl @ 2012-02-09 16:22:36 -->
