Re: Qi vs U-boot (was Re: QtMoko v30; UBIFS; can't boot)
Please tell me how to do this! I have no religious bind to Qi. To hell with minimalism, let us all use the bootloader that is standard, smart, configurable and well supported. I think easiest way is to use fw_setenv. I rethought, need relatively trivial modification to u-boot to support loading plain file to env variable with something like 'ext2loadvar location [var]'. But this brain-dead by design idea The brain-dead idea is not mine :) /boot/grub/menu.lst You can achive a similar result using editUenv.sh from http://code.google.com/p/edituenv/ (also based on devirginator). It is quite rough, but may help. Cheers Giacomo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Qi vs U-boot (was Re: QtMoko v30; UBIFS; can't boot)
Hi, Ivan, В Втр, 28/12/2010 в 06:04 +0300, Ivan Matveev пишет: Lets burn some linux.org.ru style flame! Hey, such foreword spoils good talk, so i'll try to be short. It's also possible to setup u-boot like qi, 'read kernel first from sd part 1, boot if loads, then try from sd part 2, boot if loads, then from nand'. All with 10 lines in config file. Just noone need it. No one needs the good stuff :). Cause is that this stuff is not good :) Does every FR user have to develop a bootloader? Process of changing configuration is not development. Process of looking up something in C sources of Qi is development ;) Please tell me how to do this! I have no religious bind to Qi. To hell with minimalism, let us all use the bootloader that is standard, smart, configurable and well supported. I think easiest way is to use fw_setenv. I rethought, need relatively trivial modification to u-boot to support loading plain file to env variable with something like 'ext2loadvar location [var]'. But this brain-dead by design idea require bootloader to support all possible fses (how does qi reads ubifs for kernel parameters, if it has no support for ubi?) I'm waiting for Radek's comment on this. Qi's sources are not easy, no stdlib functions. Local Qi pontiff is Paul Fertser. Please do not be offended. I was frustrated by FR suddenly not booting. It's impossible to offend me with good arguments. Gennady. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Qi vs U-boot (was Re: QtMoko v30; UBIFS; can't boot)
On Tue, 28 Dec 2010 16:45:56 +0300 Gennady Kupava g...@bsdmn.com wrote: Please tell me how to do this! I have no religious bind to Qi. To hell with minimalism, let us all use the bootloader that is standard, smart, configurable and well supported. I think easiest way is to use fw_setenv. I rethought, need relatively trivial modification to u-boot to support loading plain file to env variable with something like 'ext2loadvar location [var]'. But this brain-dead by design idea The brain-dead idea is not mine :) /boot/grub/menu.lst require bootloader to support all possible fses (how does qi reads ubifs for kernel parameters, if it has no support for ubi?) No it doesn't require jffs/ubifs support. The identity-ext2(mtd5, dfu-util calls it factory) NAND partition contains ext2 fs. So on linux runing from NAND echo /dev/mtdblock5 /boot ext2 defaults /etc/fstab Navigate to /boot, edit append-GTA02... Natural way for people used to PC bootloader like grub. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Qi vs U-boot (was Re: QtMoko v30; UBIFS; can't boot)
On Tue, Dec 28, 2010 at 06:04:12AM +0300, Ivan Matveev wrote: Hi Gennady! Lets burn some linux.org.ru style flame! I don't want to go back to u-boot. I disagree - going to Qi is going back, going to u-boot is going forward :) Hello Everyone Would I be correct in thinking that we are will all need to use u-boot anyway one day as Qi is only compatible with the GTA2? If we are moving to the GTA4 from Dr. N, I suppose we might as well start dusting off our old u-boot configs and re-learning how it all works. By the way, does anyone else have any examples of the environemnt.in config which they would like to share? I have tried to boot SHR using Gennady's version but it did not work for me. It seemed to boot the kernel but X did not load for some reason. Thanks Ben ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community