**** BEGIN LOGGING AT Tue Sep 06 02:59:56 2011 Sep 06 10:00:54 Hello everybody. Do you think that U-Boot is able to load and boot kernel from an UBIFS partition ? Sep 06 10:14:16 seems to be http://www.newit.co.uk/forum/index.php?topic=135.0 Sep 06 10:22:40 vadmeste: why would you want that? :< Sep 06 10:26:27 kerio: in fact, I want to develop a script that can automatically upgrade the linux kernel. I saw the script http://sheeva.with-linux.com/sheeva/README-PLUG-UPDATE.sh which would do the same thing, but what if the power supply crashes when we are flashing the new kernel ? The device cannot boot anymore, right ? Sep 06 10:27:38 what if you have a blackout while moving your kernel to the right place? Sep 06 10:27:51 what if a power surge makes your sheevaplug explode? Sep 06 10:29:13 you shouldn't upgrade your kernel unless you have physical access anyway Sep 06 10:33:08 I don't like to have physical acess.. That's my problem :) Sep 06 10:33:32 Let's suppose that my sheevaplug is in another country Sep 06 10:42:13 then you shouldn't upgrade its kernel Sep 06 10:42:17 unless you can get remove usb access Sep 06 10:42:23 *remote Sep 06 14:04:29 I see.. What about trying to prepare free space and install in it the updated kernel and then configure uboot (well remotely) to boot the new kernel ? Sep 06 14:15:05 that would work better i guess Sep 06 14:15:13 but you still have the possibility of a botched kernel install Sep 06 14:15:23 and so you still need someone there to reflash a known kernel :) Sep 06 14:15:37 (not with a problem in the flashing, but with a problem in the kernel itself) Sep 06 14:22:35 okey thanks Sep 06 14:23:19 really, don't upgrade your kernel remotely Sep 06 14:26:18 :), it's not a big problem if it fails and also I can test it here, I have a sheevaplug with me now Sep 06 14:51:08 by the way, where can I ask ubifs related question ? Sep 06 16:35:04 why not update the kernel remotely? isn't that what the sheevaplug-installer does? Sep 06 16:39:47 rigid: remotely as in "without being physically present to fix problems in case it doesn't survive a reboot" Sep 06 16:40:04 ah ok Sep 06 16:40:25 well even with that i don't see a problem... the sheevaplug-installer script does that quite decently Sep 06 16:40:40 although it's using the physical jtag connection Sep 06 16:41:33 it would be a nice experiment... connecting the jtag-usb to the usb-host to do self-updating... Sep 06 16:41:59 after all remote servers can be serviced without bios-access quite nicely Sep 06 16:42:27 still you're right... it would be experimental Sep 06 16:58:39 rigid: or just use nanderase/nandwrite Sep 06 16:58:59 i had my miniusb connected to my router at some point Sep 06 16:59:01 it worked Sep 06 16:59:07 it was like a kvm switch :) Sep 06 16:59:28 hehe yep Sep 06 16:59:37 with a 2nd device, it should be no problem i guess Sep 06 16:59:49 but complete standalone would be experimental Sep 06 17:00:17 useless Sep 06 17:00:23 openOCD stops the cpu Sep 06 17:00:30 Did someone try to modify u-boot environment from running linux system ? Sep 06 17:00:44 you wouldn't necessarily need openOCD Sep 06 17:00:55 then you'd just have a serial Sep 06 17:01:04 whoop-de-doop, you can just call /bin/login Sep 06 17:01:36 well, as you said, you could boot into a ramfs system and then use nandearase/nandwrite to upgrade Sep 06 17:01:51 or reboot from an sdcard/usb-stick **** ENDING LOGGING AT Wed Sep 07 02:59:57 2011