**** BEGIN LOGGING AT Tue Apr 19 02:59:58 2011 Apr 19 08:35:34 how complicated can a bootloader for embedded hardware be? :| Apr 19 11:04:05 Afternoon peeps.. Apr 19 11:05:36 Starting to get a little narked off at this Sheeva plug.. I have followed the instructions here http://www.plugcomputer.org/plugwiki/index.php/Installing_Debian_To_Flash religiously.. all went smooth.. until it comes to rebooting into the nand flash. For some reason even when I change the bootargs and save them they are not used? Apr 19 11:06:06 and resetting seem to bring up the default bootargs.. tftp boot etc. Apr 19 11:09:06 I mean what is wrong with this? http://pastebin.ca/2048198 Apr 19 11:23:14 bootcmd is still tftp? Apr 19 11:26:43 ShadowJK: Fixed that now.. now I am getting this http://pastebin.ca/2048201 Apr 19 11:27:08 I think I will have to boot off the USB to investigate no? Apr 19 11:30:29 I mean I know the ubifs was created and named is that how it find the partition just by the label? Apr 19 11:32:33 ShadowJK: hmm could be just that it is an older kernel I spose? Apr 19 11:32:54 just noticed it was 2.6.22 seems wrong think. Apr 19 11:39:53 ok something funky is going on.. Apr 19 11:41:05 have a 2.6.38-2-kirkwood kernel on the usb stick.. but when I try to boot it I get this http://pastebin.ca/2048207 Apr 19 11:45:03 Shouldn't this be supported? http://sheeva.with-linux.com/sheeva/2.6.38/2.6.38.3/ Apr 19 11:59:13 I wonder if there are other bootargs needed for ubi Apr 19 12:00:31 perhaps so.. but right now I am even struggling to boot again off the usb stick.. even though it did previously Apr 19 12:00:51 I think I will restart from the beginning.. might be quicker Apr 19 12:00:59 good luck Apr 19 12:03:50 Well practice makes perfect eh? Apr 19 12:17:38 DonAlex: did you get it working? Apr 19 12:18:05 Reinstalling from scratch now.. Apr 19 12:18:35 Will double check the ubifs name when I can boot into the ubs stick again Apr 19 12:20:12 DonAlex: your last problem you posted there was due to a bad arcNumber Apr 19 12:21:02 setenv mainlineLinux yes; setenv arcNumber 2097; saveenv; reset Apr 19 12:21:09 then make whatever changes you want to uboot Apr 19 12:23:22 Hmm I thought I set that.. Apr 19 12:23:27 I am sure I did.. Apr 19 12:23:59 Well give me 10 mins and I can verify.. Apr 19 12:24:08 installing base packages now. Apr 19 13:05:49 Ok so logged in now downloaded mtd-tools and am formatting flash as per http://www.plugcomputer.org/plugwiki/index.php/Installing_Debian_To_Flash Apr 19 13:06:47 So far so good.. http://pastebin.ca/2048232 Apr 19 13:08:17 all seems ok to me http://pastebin.ca/2048233 Apr 19 13:18:18 ok so now comes the crux of it. Apr 19 13:18:42 what is wrong with this command ? setenv bootargs 'console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs' Apr 19 13:39:35 Tootoot222: ok.. now I am sure it is to do with boot args or bootcmds or something.. Can you help? My money is on this bootcmd Hmmm http://pastebin.ca/2048248 Apr 19 13:41:38 See I don't see any reference to bootargs_ubi in the cmd string Apr 19 13:45:37 Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh Apr 19 13:45:41 typo.. no.. Apr 19 13:45:46 e=...... Apr 19 13:46:10 stupid.. must have miss the variable name Apr 19 13:48:28 Hmm maybe not then.. seems part of the default options Apr 19 13:59:17 Tootoot222: ok now the kernel is just hanging? http://pastebin.ca/2048257 Apr 19 13:59:57 ahh wait.. why is that the old kernel? Apr 19 13:59:59 hmmm Apr 19 14:00:00 one mo Apr 19 14:12:43 hmm ok.. so far so good I tftpd the kernel uimage to the same address and it booted. Apr 19 14:23:44 Whoa.. This does not look good? http://pastebin.ca/2048270 Apr 19 14:31:03 well it boots.. Apr 19 14:31:16 but why do I get this each time ? http://pastebin.ca/2048274 Apr 19 14:53:59 DonAlex: Have you read http://plugcomputer.org/plugwiki/index.php/Getting_the_Plug_Computer_Running_with_an_Operating_System and the links from the that page? Apr 19 14:54:45 * tinker-f595 away Apr 19 14:55:20 tinker-f595: Well it is all booting fine now.. seems there was an old kernel image saved to the nand.. once I booted the right uimage and rand the update script boots fine execpt for that strange udev messages Apr 19 17:23:07 DonAlex: you still getting those uboot messages? Apr 19 17:23:36 Tootoot222: Nope Uboot is fine now.. still getting these udev messages though.. Apr 19 17:23:41 irritating.. but not critical Apr 19 17:24:09 erm, yea, meant udev Apr 19 17:24:17 do those files exist in /dev? Apr 19 17:24:30 hmm good point. supposed ot be dynamic innit. Apr 19 17:24:59 Yep all seem the .. root.disk Apr 19 17:25:50 it is only partially dynamic Apr 19 17:26:00 it expects a specific base set of files to be present on disk at boot time Apr 19 17:26:14 if certain ones are missing the system will refuse to boo Apr 19 17:26:15 t Apr 19 17:28:49 Tootoot222: Well here is the entire boot. http://pastebin.ca/2048335 .. I think .udev.. should be virtual I am not sure.. Apr 19 17:28:58 or was it .udev is the static config.. Apr 19 17:31:20 Tootoot222: hmm interestingly enough.. .udev does not exist on the booted system. Apr 19 17:31:31 Tootoot222: but it is here on my laptop so...? Apr 19 17:33:08 Tootoot222: you know what. I bet I know what it is .. I bed the initrd script is supposed to handle that.. but because it is nand it is not running initd is it? Apr 19 17:33:42 DonAlex: i think the files just didn't get created Apr 19 17:34:22 although they're not regular files... they're device nodes Apr 19 17:34:31 so you have to use mknod with the right params to recreate them Apr 19 17:34:35 or copy them from another system Apr 19 17:34:46 DonAlex: do you have the sheevaplug_installer package? Apr 19 17:35:05 you can extract the installer/rootfs.tar.gz (as root) somewhere and tar up /dev Apr 19 17:35:11 extract onto your plug, should fix your problem Apr 19 17:35:32 Tootoot222: Sounds like a plan.. Apr 19 17:58:38 Tootoot222: ok heading home now.. will work at it from there.. Cheers for your help. chat later maybe.. Apr 19 20:32:34 fyi: my tech here has posted a very through posting about flashing dreamplugs (including getting them to boot from USB media and the like) on the newit forums. **** ENDING LOGGING AT Wed Apr 20 02:59:58 2011