*** eMHa has quit IRC | 00:05 | |
*** chem|st_ is now known as chem|st | 00:18 | |
*** M4rtinK has quit IRC | 00:18 | |
Gadgetoid | Woo, after much rebooting due to the battery being so old it's got grey hair, it's charging! | 00:24 |
---|---|---|
*** vakkov has joined #maemo | 00:29 | |
*** Redhair has quit IRC | 01:05 | |
*** pagurus has quit IRC | 01:13 | |
*** Redhair has joined #maemo | 01:15 | |
*** ult has quit IRC | 01:34 | |
*** LauRoman has quit IRC | 01:39 | |
*** N-Mi has quit IRC | 01:42 | |
*** louisdk has quit IRC | 01:44 | |
*** sombragris has quit IRC | 01:45 | |
*** Kabouik has joined #maemo | 01:46 | |
*** florian has quit IRC | 01:57 | |
*** N-Mi has joined #maemo | 02:00 | |
*** N-Mi has joined #maemo | 02:00 | |
*** sunshavi has joined #maemo | 02:19 | |
*** Axel_H_ is now known as axel_h | 02:26 | |
*** pagurus has joined #maemo | 02:29 | |
*** krnlyng has quit IRC | 02:31 | |
*** krnlyng has joined #maemo | 02:45 | |
*** robbiethe1st has joined #maemo | 02:51 | |
*** N-Mi has quit IRC | 04:20 | |
*** sunshavi has quit IRC | 04:22 | |
*** HRH_H_Crab has quit IRC | 04:23 | |
*** enyc has quit IRC | 04:23 | |
*** robbiethe1st has quit IRC | 04:57 | |
*** vahe has joined #maemo | 05:15 | |
*** pagurus has quit IRC | 05:19 | |
*** SpeedEvil has quit IRC | 05:37 | |
*** SpeedEvil has joined #maemo | 05:37 | |
*** lxp1 has joined #maemo | 06:02 | |
*** lxp has quit IRC | 06:04 | |
*** DocScrutinizer05 has quit IRC | 06:09 | |
*** DocScrutinizer05 has joined #maemo | 06:09 | |
*** enyc has joined #maemo | 06:14 | |
*** treaki__ has joined #maemo | 06:23 | |
*** treaki_ has quit IRC | 06:25 | |
*** DocScrutinizer05 has quit IRC | 07:02 | |
*** DocScrutinizer05 has joined #maemo | 07:02 | |
*** SpeedEvil has quit IRC | 07:03 | |
*** SpeedEvil has joined #maemo | 07:03 | |
*** githogori has joined #maemo | 07:49 | |
*** vakkov has quit IRC | 08:07 | |
*** futpib has joined #maemo | 08:43 | |
*** florian has joined #maemo | 08:46 | |
*** Venusaur has quit IRC | 08:58 | |
*** futpib has quit IRC | 09:21 | |
*** Venusaur has joined #maemo | 09:22 | |
*** florian has quit IRC | 09:33 | |
*** SpeedEvil has quit IRC | 09:42 | |
*** SpeedEvil has joined #maemo | 09:42 | |
*** arcean has joined #maemo | 09:50 | |
*** geaaru has joined #maemo | 09:52 | |
*** LauRoman has joined #maemo | 09:56 | |
*** ult has joined #maemo | 09:59 | |
*** disco_stu_droid has joined #maemo | 10:01 | |
*** disco_stu has quit IRC | 10:02 | |
*** disco_stu_droid is now known as disco_stu | 10:02 | |
*** Natch has quit IRC | 10:07 | |
*** Natch has joined #maemo | 10:13 | |
*** vahe has quit IRC | 10:17 | |
*** Hurrian has quit IRC | 10:44 | |
*** yosafbridge has quit IRC | 10:51 | |
*** arcean has quit IRC | 11:01 | |
*** arcean has joined #maemo | 11:02 | |
*** Oksana has quit IRC | 11:05 | |
*** Oksana has joined #maemo | 11:06 | |
*** eMHa has joined #maemo | 11:11 | |
*** jskarvad has joined #maemo | 11:15 | |
*** arcean has quit IRC | 11:41 | |
*** arcean has joined #maemo | 11:41 | |
*** yosafbridge has joined #maemo | 12:01 | |
*** githogori has quit IRC | 12:02 | |
*** arcean has quit IRC | 12:03 | |
*** arcean has joined #maemo | 12:04 | |
*** louisdk has joined #maemo | 12:09 | |
*** N-Mi has joined #maemo | 12:18 | |
*** yosafbridge has quit IRC | 12:21 | |
*** flo_lap has joined #maemo | 12:23 | |
*** githogori has joined #maemo | 12:24 | |
*** Hurrian has joined #maemo | 12:29 | |
*** tanty_off is now known as tanty | 12:30 | |
*** yosafbridge has joined #maemo | 12:32 | |
*** SpeedEvil has quit IRC | 12:41 | |
*** SpeedEvil has joined #maemo | 12:42 | |
*** arcean_ has joined #maemo | 12:46 | |
*** arcean has quit IRC | 12:47 | |
*** N-Mi has quit IRC | 12:56 | |
*** N-Mi has joined #maemo | 13:05 | |
*** N-Mi has joined #maemo | 13:05 | |
*** eMHa has quit IRC | 13:10 | |
*** zGrr has joined #maemo | 13:10 | |
zGrr | moin :) | 13:11 |
*** arcean_ has quit IRC | 13:16 | |
*** arcean_ has joined #maemo | 13:17 | |
DocScrutinizer05 | moin | 13:21 |
*** HRH_H_Crab has joined #maemo | 13:28 | |
*** thomasm has quit IRC | 13:29 | |
*** tm__ has joined #maemo | 13:29 | |
HRH_H_Crab | im trying to set up uboot. i have a vfat partition on mmcblk1p1 and my rootfs on mmcblk1p2. | 13:32 |
HRH_H_Crab | i have converted my kernel and initrd to uboot format and copied them to /media/mmc1/boot (which is on the vfat mmcblk1p1 partition). | 13:33 |
HRH_H_Crab | im now trying to figure out what needs to go in boot.scr and where that should be saved. i think its implied it should sit in the root of the vfat partition. | 13:33 |
HRH_H_Crab | so i have something like this: | 13:34 |
HRH_H_Crab | setenv bootcmd 'mmc init; ext2load mmc1 0 0x82000000 /boot/uImage; ext2load mmc1 0 0x83000000 /boot/uInitrd; bootm 0x82000000 0x83000000' | 13:34 |
HRH_H_Crab | and then: | 13:35 |
HRH_H_Crab | setenv bootcmd 'mmc init; ext2load mmc1 0 0x82000000 /boot/uImage; ext2load mmc1 0 0x83000000 /boot/uInitrd; bootm 0x82000000 0x83000000' | 13:35 |
HRH_H_Crab | oops: setenv bootargs 'root=/dev/mmcblk0p1 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash' | 13:35 |
HRH_H_Crab | these clearly need some fixing up - but im not entirely sure what goes where... | 13:35 |
HRH_H_Crab | can anyone advise? | 13:35 |
HRH_H_Crab | i guess the latter one i need to change the root device to /dev/mmcblk1p2 | 13:36 |
HRH_H_Crab | but im not sure where exactly it thinks the uImage should be in the first one. | 13:36 |
HRH_H_Crab | and since the first partition of my mmc1 is vfat i guess i dont need ext2load?! | 13:37 |
*** eMHa has joined #maemo | 13:41 | |
*** tm__ has joined #maemo | 13:45 | |
Maxdamantus | Yes, you'd use something other than ext2load. | 13:53 |
Maxdamantus | fatload | 13:53 |
DocScrutinizer05 | watch out for mmcblk1/mmcblk2 confusion, depending on whether or not you have a uSD inserted during boot, the naming might be messed up in linux | 13:54 |
kerio | fat load | 13:55 |
kerio | ( ͡° ͜ʖ ͡°) | 13:55 |
* Maxdamantus wonders why anyone would use fat anyway. | 13:55 | |
kerio | because pali's uboot doesn't support extfs | 13:55 |
HRH_H_Crab | kerio: that is the strange thing | 13:56 |
Maxdamantus | My u-boot works off ext2. | 13:56 |
kerio | :o | 13:56 |
Maxdamantus | though I compiled it myself. | 13:56 |
kerio | ...so how's that relevant | 13:56 |
Maxdamantus | I'd be surprised if it were disabled in pali's distribution though. | 13:56 |
Maxdamantus | well, "pali's u-boot" might refer to an obsolete branch of u-boot (his N900 support is merged into mainline now). | 13:57 |
Maxdamantus | or it might refer to a binary distribution he's made. | 13:57 |
* Maxdamantus also modified his to use Dvorak instead of QWERTY> | 13:58 | |
DocScrutinizer05 | (messed up) IOW maemo kernel detects uSD as mmcblk1 if present, and only later on those devices get renamed to show consistent mmcblk1 = eMMC | 13:59 |
Maxdamantus | Do you mean the other way round? | 14:00 |
HRH_H_Crab | i think about half of the documents and how to's ive read were written during a time that it did not support ext* | 14:01 |
HRH_H_Crab | and half were written after | 14:01 |
HRH_H_Crab | which is probably why im in the mess i am. | 14:01 |
* Maxdamantus just figured it out once then wrote some scripts to generate the .scr and uimage crap. | 14:03 | |
DocScrutinizer05 | err sorry, 0 and 1 of course | 14:04 |
DocScrutinizer05 | mmcblk0=eMMC | 14:04 |
HRH_H_Crab | so i now have done s/ext2load/fatload for my bootcmd line | 14:04 |
HRH_H_Crab | and those paths for the kernel / initrd are deffo going to be looking at /dev/mmcblk1p1 ? | 14:05 |
DocScrutinizer05 | however compare cat /proc/partitions | 14:05 |
Maxdamantus | Does the kernel even know about mmcblk1? | 14:06 |
Maxdamantus | I have a feeling it's meant to be mmc1p1 | 14:06 |
HRH_H_Crab | well im logged in to the machine now and i have: /dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir) | 14:07 |
HRH_H_Crab | so the "boot" i am trying to refer to in that bootcmd line is /media/mmc1/boot | 14:07 |
DocScrutinizer05 | compare cat /proc/partitions | 14:08 |
HRH_H_Crab | to what? | 14:08 |
HRH_H_Crab | 179 9 28315648 mmcblk1p1 | 14:08 |
HRH_H_Crab | that the line in /proc/partitions that relates to the partition i think im talking about | 14:08 |
DocScrutinizer05 | that's all? | 14:08 |
HRH_H_Crab | but that bootcmd example doesnt seem to refer to use that syntax at all | 14:08 |
HRH_H_Crab | the whole thing is | 14:08 |
HRH_H_Crab | major minor #blocks name | 14:09 |
HRH_H_Crab | 179 0 15558144 mmcblk0 | 14:09 |
HRH_H_Crab | 179 1 1048576 mmcblk0p1 | 14:09 |
HRH_H_Crab | 179 2 14508544 mmcblk0p2 | 14:09 |
HRH_H_Crab | 179 8 31264768 mmcblk1 | 14:09 |
HRH_H_Crab | 179 9 28315648 mmcblk1p1 | 14:09 |
HRH_H_Crab | 179 10 2097152 mmcblk1p2 | 14:09 |
HRH_H_Crab | 179 11 786432 mmcblk1p3 | 14:09 |
DocScrutinizer05 | I dunno what uBoot does regarding enum of mmc devices | 14:09 |
Maxdamantus | ah yeah, it is mmcblk | 14:09 |
HRH_H_Crab | i guess i could rephrase my entire question as: | 14:09 |
HRH_H_Crab | does anyone know wtf whoever wrote this: setenv bootcmd 'mmc init; ext2load mmc1 0 0x82000000 /boot/uImage; ext2load mmc1 0 0x83000000 /boot/uInitrd; bootm 0x82000000 0x83000000' | 14:10 |
DocScrutinizer05 | you see mmcblk1p1 is maemo root partition, and you prolly got a 15GB uSD as mmcblk0 | 14:10 |
HRH_H_Crab | meant by that "mmc1" | 14:10 |
HRH_H_Crab | and is it the same thing that i mean by mmcblk1p1 ?! | 14:10 |
HRH_H_Crab | ;) | 14:10 |
DocScrutinizer05 | later during boot these get renamed so eMMC is mmcblk0 and uSD is mmcblk1 | 14:10 |
HRH_H_Crab | aaah | 14:11 |
parazyd | anyone got DRI working with pali's kernel? | 14:11 |
HRH_H_Crab | so mmc1 is the name for mmcblk1p1 at uboot point in the process? | 14:11 |
Maxdamantus | setenv bootmenu_1 zImage-2.6.28.10-cssu1='setenv setup_omap_atag 1; setenv bootcmd '\''ext2load mmc 1:1 0x86008000 /k/zImage-2.6.28.10-cssu1.u; setenv bootargs '\'''\\''\'''\''init=/sbin/preinit ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc rw console=ttyMTD,log console=tty0 snd-soc-rx51.hp_lim=42 snd-soc-tlv320aic3x.hp_dac_lim=6'\'''\\''\'''\''; bootm 0x86008000'\''; boot' | 14:12 |
Maxdamantus | Fun quotes. | 14:12 |
*** louis_ has joined #maemo | 14:13 | |
*** kerio has quit IRC | 14:14 | |
HRH_H_Crab | so confused. :( | 14:14 |
HRH_H_Crab | anyway... | 14:15 |
HRH_H_Crab | just got to man up when i get home and randomly pump partition notation in to this bad boy until it submits. | 14:15 |
DocScrutinizer05 | try mmc0 and mmc1, one of both will work ;-) | 14:15 |
HRH_H_Crab | mmm. | 14:15 |
DocScrutinizer05 | ""setenv bootargs 'root=/dev/mmcblk0p1"" prolly points to 1st partition on uSD | 14:18 |
HRH_H_Crab | interesting. | 14:19 |
HRH_H_Crab | so id need to make that p2. | 14:19 |
DocScrutinizer05 | ""setenv bootcmd 'mmc init; ext2load mmc1"" migth point to uSD too, or to eMMC, dunno what uBoot does | 14:19 |
DocScrutinizer05 | but I'm pretty sure for bootargs the kernel will use that initial numbering which means mmcblk0 is eMMC when no uSD insterted, otherwise it's uSD | 14:21 |
DocScrutinizer05 | ask pali! | 14:22 |
*** tm__ has quit IRC | 14:22 | |
*** louisdk has quit IRC | 14:23 | |
*** tm_ has joined #maemo | 14:23 | |
*** kerio has joined #maemo | 14:24 | |
*** louis_ has quit IRC | 14:24 | |
HRH_H_Crab | well i looked at that root=/dev/mmcblk0p1 and was sure it must mean the eMMC but now that you've sown the seed in my head that there could be insane ennumeration shenanigans, it is all sort of making sense (for certain values of sense) | 14:24 |
DocScrutinizer05 | cat /proc/partitions is a remnant from early boot times before devices got renamed | 14:25 |
HRH_H_Crab | interesting. | 14:26 |
HRH_H_Crab | so i can look at the majors and minors and see if they have changed | 14:26 |
DocScrutinizer05 | some script (prolly /sbin/preinit) renames them then, *after* kernel mounted rootfs | 14:27 |
HRH_H_Crab | et. voila: | 14:28 |
HRH_H_Crab | /proc/partitions has 179 9 28315648 mmcblk1p1 | 14:28 |
HRH_H_Crab | and /dev has: | 14:28 |
HRH_H_Crab | brw-rw---- 1 root floppy 179, 9 Jan 1 1970 mmcblk0p1 | 14:29 |
HRH_H_Crab | i think ive just learned something | 14:29 |
HRH_H_Crab | (or ive got a migraine) | 14:29 |
HRH_H_Crab | one of the two. | 14:29 |
*** Kabouik_ has joined #maemo | 14:29 | |
*** tm_ is now known as thomasm | 14:36 | |
*** louis_ has joined #maemo | 14:38 | |
parazyd | how do i remove the stock kernel entry from uboot? | 15:15 |
*** arcean_ has quit IRC | 15:23 | |
*** arcean_ has joined #maemo | 15:24 | |
*** cnjj has joined #maemo | 15:25 | |
*** arcean_ has quit IRC | 15:27 | |
*** arcean_ has joined #maemo | 15:28 | |
*** flo_lap has quit IRC | 15:28 | |
*** Hurrian has quit IRC | 15:33 | |
*** arcean_ has quit IRC | 15:36 | |
*** vakkov has joined #maemo | 15:41 | |
*** vahe has joined #maemo | 16:15 | |
DocScrutinizer05 | why would you? | 16:15 |
parazyd | because i ahve kernel power | 16:21 |
kerio | parazyd: edit the script | 16:24 |
kerio | u-boot-update-bootmenu | 16:24 |
kerio | or just set a default entry | 16:24 |
parazyd | ah thanks | 16:24 |
*** flo_lap has joined #maemo | 16:28 | |
*** RedW has joined #maemo | 16:34 | |
*** RedM has quit IRC | 16:34 | |
*** jrayhawk has joined #maemo | 17:07 | |
*** githogori has quit IRC | 17:13 | |
*** jskarvad has quit IRC | 17:13 | |
*** netkat has quit IRC | 17:13 | |
*** ruskie has quit IRC | 17:13 | |
*** xray256_ has quit IRC | 17:13 | |
*** jrayhawk_ has quit IRC | 17:13 | |
*** jake421 has quit IRC | 17:13 | |
*** netkat has joined #maemo | 17:13 | |
*** eMHa has quit IRC | 17:15 | |
*** jake421 has joined #maemo | 17:25 | |
*** xray256_ has joined #maemo | 17:25 | |
*** githogori has joined #maemo | 17:29 | |
*** jskarvad has joined #maemo | 17:29 | |
*** ruskie has joined #maemo | 17:31 | |
DocScrutinizer05 | uBoot comes with stock kernel attached anyway (siamese twins), so I'd suggest to keep the stock kernel plus NAND (mtd) as rescue system, and just make the new powerkernel system (on eMMC or uSD) dualboot default | 17:33 |
*** louis_ has quit IRC | 17:35 | |
DocScrutinizer05 | when you keep the screen.cfg(?) uboot config and the uboot.dpk on eMMC resp uSD, you even can do a full reflash (without eMMC) of N900 and you only need to dpkg -i /media/card/uboot.dpk to have your previous settings back | 17:38 |
*** flo_lap has quit IRC | 17:47 | |
*** louis_ has joined #maemo | 17:59 | |
*** eMHa has joined #maemo | 18:09 | |
*** Pali has joined #maemo | 18:21 | |
*** vakkov has quit IRC | 18:22 | |
*** vakkov has joined #maemo | 18:38 | |
*** tanty is now known as tanty_off | 18:44 | |
*** vahe has quit IRC | 18:46 | |
*** geaaru has quit IRC | 18:46 | |
*** futpib has joined #maemo | 18:49 | |
*** zGrr has quit IRC | 18:51 | |
*** L29Ah has left #maemo | 18:58 | |
*** L29Ah has joined #maemo | 18:58 | |
*** zGrr has joined #maemo | 19:10 | |
*** jskarvad has quit IRC | 19:17 | |
*** tanty_off has quit IRC | 19:24 | |
*** tanty_off has joined #maemo | 19:25 | |
*** vakkov has quit IRC | 19:31 | |
*** vakkov has joined #maemo | 19:43 | |
*** N-Mi has quit IRC | 19:50 | |
*** stryngs is now known as alora123 | 20:05 | |
*** alora123 is now known as stryngs | 20:05 | |
*** ssvb has quit IRC | 20:22 | |
*** ssvb has joined #maemo | 20:31 | |
*** ssvb has quit IRC | 20:34 | |
*** ssvb has joined #maemo | 20:35 | |
*** Kabouik_ has quit IRC | 20:36 | |
*** SpeedEvil has quit IRC | 20:55 | |
*** SpeedEvil has joined #maemo | 20:55 | |
Gadgetoid | KotCzarny: :D | 20:56 |
*** zGrr has quit IRC | 20:58 | |
Gadgetoid | KotCzarny: revived my N810, charged it up, installed oscp, shiny :D | 20:59 |
KotCzarny | woo-hoo, it has many features you might like | 20:59 |
Gadgetoid | KotCzarny: pretty sure I've broken the power socket slightly though, although I always remember the cable flapping in the breeze | 20:59 |
* DocScrutinizer05 wonders how the power socket could be 'broken slightly' | 21:02 | |
KotCzarny | remember you can control your n810's oscp with any device with pygtk (via oscp-remote.py) | 21:02 |
KotCzarny | or ssh ;) | 21:03 |
KotCzarny | also, it can play network links (http/rtsp/mms) and video clips (audio part) | 21:04 |
*** zGrr has joined #maemo | 21:22 | |
*** zGrr has quit IRC | 21:33 | |
*** alien2003 has joined #maemo | 21:33 | |
*** stryngs is now known as tay | 21:42 | |
*** alien2003 has quit IRC | 21:44 | |
*** tay is now known as stryngs | 21:44 | |
*** sunshavi has joined #maemo | 21:45 | |
*** futpib has quit IRC | 21:46 | |
*** pagurus has joined #maemo | 21:47 | |
*** zGrr has joined #maemo | 21:53 | |
*** florian has joined #maemo | 22:00 | |
*** sunshavi has quit IRC | 22:21 | |
*** vakkov has quit IRC | 22:44 | |
*** andril has joined #maemo | 23:07 | |
*** andril has quit IRC | 23:09 | |
*** teotwaki has quit IRC | 23:33 | |
*** Arch-KT has joined #maemo | 23:34 | |
*** netkat has quit IRC | 23:34 | |
*** timeless has quit IRC | 23:34 | |
*** odin_ has quit IRC | 23:34 | |
*** inz has quit IRC | 23:35 | |
*** Dynamit has quit IRC | 23:35 | |
*** inz has joined #maemo | 23:36 | |
*** Arch-TK has quit IRC | 23:36 | |
*** vakkov has joined #maemo | 23:37 | |
*** timeless has joined #maemo | 23:39 | |
*** netkat has joined #maemo | 23:39 | |
*** teotwaki has joined #maemo | 23:39 | |
*** Kabouik_ has joined #maemo | 23:44 | |
*** Dynamit has joined #maemo | 23:44 | |
*** githogori has quit IRC | 23:44 | |
*** Kabouik has quit IRC | 23:46 | |
*** odin_ has joined #maemo | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!