IRC log of #maemo for Thursday, 2016-03-24

*** eMHa has quit IRC00:05
*** chem|st_ is now known as chem|st00:18
*** M4rtinK has quit IRC00:18
GadgetoidWoo, after much rebooting due to the battery being so old it's got grey hair, it's charging!00:24
*** vakkov has joined #maemo00:29
*** Redhair has quit IRC01:05
*** pagurus has quit IRC01:13
*** Redhair has joined #maemo01:15
*** ult has quit IRC01:34
*** LauRoman has quit IRC01:39
*** N-Mi has quit IRC01:42
*** louisdk has quit IRC01:44
*** sombragris has quit IRC01:45
*** Kabouik has joined #maemo01:46
*** florian has quit IRC01:57
*** N-Mi has joined #maemo02:00
*** N-Mi has joined #maemo02:00
*** sunshavi has joined #maemo02:19
*** Axel_H_ is now known as axel_h02:26
*** pagurus has joined #maemo02:29
*** krnlyng has quit IRC02:31
*** krnlyng has joined #maemo02:45
*** robbiethe1st has joined #maemo02:51
*** N-Mi has quit IRC04:20
*** sunshavi has quit IRC04:22
*** HRH_H_Crab has quit IRC04:23
*** enyc has quit IRC04:23
*** robbiethe1st has quit IRC04:57
*** vahe has joined #maemo05:15
*** pagurus has quit IRC05:19
*** SpeedEvil has quit IRC05:37
*** SpeedEvil has joined #maemo05:37
*** lxp1 has joined #maemo06:02
*** lxp has quit IRC06:04
*** DocScrutinizer05 has quit IRC06:09
*** DocScrutinizer05 has joined #maemo06:09
*** enyc has joined #maemo06:14
*** treaki__ has joined #maemo06:23
*** treaki_ has quit IRC06:25
*** DocScrutinizer05 has quit IRC07:02
*** DocScrutinizer05 has joined #maemo07:02
*** SpeedEvil has quit IRC07:03
*** SpeedEvil has joined #maemo07:03
*** githogori has joined #maemo07:49
*** vakkov has quit IRC08:07
*** futpib has joined #maemo08:43
*** florian has joined #maemo08:46
*** Venusaur has quit IRC08:58
*** futpib has quit IRC09:21
*** Venusaur has joined #maemo09:22
*** florian has quit IRC09:33
*** SpeedEvil has quit IRC09:42
*** SpeedEvil has joined #maemo09:42
*** arcean has joined #maemo09:50
*** geaaru has joined #maemo09:52
*** LauRoman has joined #maemo09:56
*** ult has joined #maemo09:59
*** disco_stu_droid has joined #maemo10:01
*** disco_stu has quit IRC10:02
*** disco_stu_droid is now known as disco_stu10:02
*** Natch has quit IRC10:07
*** Natch has joined #maemo10:13
*** vahe has quit IRC10:17
*** Hurrian has quit IRC10:44
*** yosafbridge has quit IRC10:51
*** arcean has quit IRC11:01
*** arcean has joined #maemo11:02
*** Oksana has quit IRC11:05
*** Oksana has joined #maemo11:06
*** eMHa has joined #maemo11:11
*** jskarvad has joined #maemo11:15
*** arcean has quit IRC11:41
*** arcean has joined #maemo11:41
*** yosafbridge has joined #maemo12:01
*** githogori has quit IRC12:02
*** arcean has quit IRC12:03
*** arcean has joined #maemo12:04
*** louisdk has joined #maemo12:09
*** N-Mi has joined #maemo12:18
*** yosafbridge has quit IRC12:21
*** flo_lap has joined #maemo12:23
*** githogori has joined #maemo12:24
*** Hurrian has joined #maemo12:29
*** tanty_off is now known as tanty12:30
*** yosafbridge has joined #maemo12:32
*** SpeedEvil has quit IRC12:41
*** SpeedEvil has joined #maemo12:42
*** arcean_ has joined #maemo12:46
*** arcean has quit IRC12:47
*** N-Mi has quit IRC12:56
*** N-Mi has joined #maemo13:05
*** N-Mi has joined #maemo13:05
*** eMHa has quit IRC13:10
*** zGrr has joined #maemo13:10
zGrrmoin :)13:11
*** arcean_ has quit IRC13:16
*** arcean_ has joined #maemo13:17
DocScrutinizer05moin13:21
*** HRH_H_Crab has joined #maemo13:28
*** thomasm has quit IRC13:29
*** tm__ has joined #maemo13:29
HRH_H_Crabim trying to set up uboot. i have a vfat partition on mmcblk1p1 and my rootfs on mmcblk1p2.13:32
HRH_H_Crabi 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_Crabim 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_Crabso i have something like this:13:34
HRH_H_Crabsetenv bootcmd 'mmc init; ext2load mmc1 0 0x82000000 /boot/uImage; ext2load mmc1 0 0x83000000 /boot/uInitrd; bootm 0x82000000 0x83000000'13:34
HRH_H_Craband then:13:35
HRH_H_Crabsetenv bootcmd 'mmc init; ext2load mmc1 0 0x82000000 /boot/uImage; ext2load mmc1 0 0x83000000 /boot/uInitrd; bootm 0x82000000 0x83000000'13:35
HRH_H_Craboops: setenv bootargs 'root=/dev/mmcblk0p1 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash'13:35
HRH_H_Crabthese clearly need some fixing up - but im not entirely sure what goes where...13:35
HRH_H_Crabcan anyone advise?13:35
HRH_H_Crabi guess the latter one i need to change the root device to /dev/mmcblk1p213:36
HRH_H_Crabbut im not sure where exactly it thinks the uImage should be in the first one.13:36
HRH_H_Craband since the first partition of my mmc1 is vfat i guess i dont need ext2load?!13:37
*** eMHa has joined #maemo13:41
*** tm__ has joined #maemo13:45
MaxdamantusYes, you'd use something other than ext2load.13:53
Maxdamantusfatload13:53
DocScrutinizer05watch out for mmcblk1/mmcblk2 confusion, depending on whether or not you have a uSD inserted during boot, the naming might be messed up in linux13:54
keriofat load13:55
kerio( ͡° ͜ʖ ͡°)13:55
* Maxdamantus wonders why anyone would use fat anyway.13:55
keriobecause pali's uboot doesn't support extfs13:55
HRH_H_Crabkerio: that is the strange thing13:56
MaxdamantusMy u-boot works off ext2.13:56
kerio:o13:56
Maxdamantusthough I compiled it myself.13:56
kerio...so how's that relevant13:56
MaxdamantusI'd be surprised if it were disabled in pali's distribution though.13:56
Maxdamantuswell, "pali's u-boot" might refer to an obsolete branch of u-boot (his N900 support is merged into mainline now).13:57
Maxdamantusor 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 = eMMC13:59
MaxdamantusDo you mean the other way round?14:00
HRH_H_Crabi 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_Craband half were written after14:01
HRH_H_Crabwhich 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
DocScrutinizer05err sorry, 0 and 1 of course14:04
DocScrutinizer05mmcblk0=eMMC14:04
HRH_H_Crabso i now have done s/ext2load/fatload for my bootcmd line14:04
HRH_H_Craband those paths for the kernel / initrd are deffo going to be looking at /dev/mmcblk1p1 ?14:05
DocScrutinizer05however compare cat /proc/partitions14:05
MaxdamantusDoes the kernel even know about mmcblk1?14:06
MaxdamantusI have a feeling it's meant to be mmc1p114:06
HRH_H_Crabwell 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_Crabso the "boot" i am trying to refer to in that bootcmd line is /media/mmc1/boot14:07
DocScrutinizer05compare cat /proc/partitions14:08
HRH_H_Crabto what?14:08
HRH_H_Crab 179        9   28315648 mmcblk1p114:08
HRH_H_Crabthat the line in /proc/partitions that relates to the partition i think im talking about14:08
DocScrutinizer05that's all?14:08
HRH_H_Crabbut that bootcmd example doesnt seem to refer to use that syntax at all14:08
HRH_H_Crabthe whole thing is14:08
HRH_H_Crabmajor minor  #blocks  name14:09
HRH_H_Crab 179        0   15558144 mmcblk014:09
HRH_H_Crab 179        1    1048576 mmcblk0p114:09
HRH_H_Crab 179        2   14508544 mmcblk0p214:09
HRH_H_Crab 179        8   31264768 mmcblk114:09
HRH_H_Crab 179        9   28315648 mmcblk1p114:09
HRH_H_Crab 179       10    2097152 mmcblk1p214:09
HRH_H_Crab 179       11     786432 mmcblk1p314:09
DocScrutinizer05I dunno what uBoot does regarding enum of mmc devices14:09
Maxdamantusah yeah, it is mmcblk14:09
HRH_H_Crabi guess i could rephrase my entire question as:14:09
HRH_H_Crabdoes 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
DocScrutinizer05you see mmcblk1p1 is maemo root partition, and you prolly got a 15GB uSD as mmcblk014:10
HRH_H_Crabmeant by that "mmc1"14:10
HRH_H_Craband is it the same thing that i mean by mmcblk1p1 ?!14:10
HRH_H_Crab;)14:10
DocScrutinizer05later during boot these get renamed so eMMC is mmcblk0 and uSD is mmcblk114:10
HRH_H_Crabaaah14:11
parazydanyone got DRI working with pali's kernel?14:11
HRH_H_Crabso mmc1 is the name for mmcblk1p1 at uboot point in the process?14:11
Maxdamantussetenv 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
MaxdamantusFun quotes.14:12
*** louis_ has joined #maemo14:13
*** kerio has quit IRC14:14
HRH_H_Crabso confused. :(14:14
HRH_H_Crabanyway...14:15
HRH_H_Crabjust got to man up when i get home and randomly pump partition notation in to this bad boy until it submits.14:15
DocScrutinizer05try mmc0 and mmc1, one of both will work ;-)14:15
HRH_H_Crabmmm.14:15
DocScrutinizer05""setenv bootargs 'root=/dev/mmcblk0p1"" prolly points to 1st partition on uSD14:18
HRH_H_Crabinteresting.14:19
HRH_H_Crabso 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 does14:19
DocScrutinizer05but 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 uSD14:21
DocScrutinizer05ask pali!14:22
*** tm__ has quit IRC14:22
*** louisdk has quit IRC14:23
*** tm_ has joined #maemo14:23
*** kerio has joined #maemo14:24
*** louis_ has quit IRC14:24
HRH_H_Crabwell 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
DocScrutinizer05cat /proc/partitions is a remnant from early boot times before devices got renamed14:25
HRH_H_Crabinteresting.14:26
HRH_H_Crabso i can look at the majors and minors and see if they have changed14:26
DocScrutinizer05some script (prolly /sbin/preinit) renames them then, *after* kernel mounted rootfs14:27
HRH_H_Crabet. voila:14:28
HRH_H_Crab /proc/partitions has  179        9   28315648 mmcblk1p114:28
HRH_H_Craband /dev has:14:28
HRH_H_Crabbrw-rw----    1 root     floppy   179,   9 Jan  1  1970 mmcblk0p114:29
HRH_H_Crabi think ive just learned something14:29
HRH_H_Crab(or ive got a migraine)14:29
HRH_H_Crabone of the two.14:29
*** Kabouik_ has joined #maemo14:29
*** tm_ is now known as thomasm14:36
*** louis_ has joined #maemo14:38
parazydhow do i remove the stock kernel entry from uboot?15:15
*** arcean_ has quit IRC15:23
*** arcean_ has joined #maemo15:24
*** cnjj has joined #maemo15:25
*** arcean_ has quit IRC15:27
*** arcean_ has joined #maemo15:28
*** flo_lap has quit IRC15:28
*** Hurrian has quit IRC15:33
*** arcean_ has quit IRC15:36
*** vakkov has joined #maemo15:41
*** vahe has joined #maemo16:15
DocScrutinizer05why would you?16:15
parazydbecause i ahve kernel power16:21
kerioparazyd: edit the script16:24
keriou-boot-update-bootmenu16:24
kerioor just set a default entry16:24
parazydah thanks16:24
*** flo_lap has joined #maemo16:28
*** RedW has joined #maemo16:34
*** RedM has quit IRC16:34
*** jrayhawk has joined #maemo17:07
*** githogori has quit IRC17:13
*** jskarvad has quit IRC17:13
*** netkat has quit IRC17:13
*** ruskie has quit IRC17:13
*** xray256_ has quit IRC17:13
*** jrayhawk_ has quit IRC17:13
*** jake421 has quit IRC17:13
*** netkat has joined #maemo17:13
*** eMHa has quit IRC17:15
*** jake421 has joined #maemo17:25
*** xray256_ has joined #maemo17:25
*** githogori has joined #maemo17:29
*** jskarvad has joined #maemo17:29
*** ruskie has joined #maemo17:31
DocScrutinizer05uBoot 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 default17:33
*** louis_ has quit IRC17:35
DocScrutinizer05when 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 back17:38
*** flo_lap has quit IRC17:47
*** louis_ has joined #maemo17:59
*** eMHa has joined #maemo18:09
*** Pali has joined #maemo18:21
*** vakkov has quit IRC18:22
*** vakkov has joined #maemo18:38
*** tanty is now known as tanty_off18:44
*** vahe has quit IRC18:46
*** geaaru has quit IRC18:46
*** futpib has joined #maemo18:49
*** zGrr has quit IRC18:51
*** L29Ah has left #maemo18:58
*** L29Ah has joined #maemo18:58
*** zGrr has joined #maemo19:10
*** jskarvad has quit IRC19:17
*** tanty_off has quit IRC19:24
*** tanty_off has joined #maemo19:25
*** vakkov has quit IRC19:31
*** vakkov has joined #maemo19:43
*** N-Mi has quit IRC19:50
*** stryngs is now known as alora12320:05
*** alora123 is now known as stryngs20:05
*** ssvb has quit IRC20:22
*** ssvb has joined #maemo20:31
*** ssvb has quit IRC20:34
*** ssvb has joined #maemo20:35
*** Kabouik_ has quit IRC20:36
*** SpeedEvil has quit IRC20:55
*** SpeedEvil has joined #maemo20:55
GadgetoidKotCzarny: :D20:56
*** zGrr has quit IRC20:58
GadgetoidKotCzarny: revived my N810, charged it up, installed oscp, shiny :D20:59
KotCzarnywoo-hoo, it has many features you might like20:59
GadgetoidKotCzarny: pretty sure I've broken the power socket slightly though, although I always remember the cable flapping in the breeze20:59
* DocScrutinizer05 wonders how the power socket could be 'broken slightly'21:02
KotCzarnyremember you can control your n810's oscp with any device with pygtk (via oscp-remote.py)21:02
KotCzarnyor ssh ;)21:03
KotCzarnyalso, it can play network links (http/rtsp/mms) and video clips (audio part)21:04
*** zGrr has joined #maemo21:22
*** zGrr has quit IRC21:33
*** alien2003 has joined #maemo21:33
*** stryngs is now known as tay21:42
*** alien2003 has quit IRC21:44
*** tay is now known as stryngs21:44
*** sunshavi has joined #maemo21:45
*** futpib has quit IRC21:46
*** pagurus has joined #maemo21:47
*** zGrr has joined #maemo21:53
*** florian has joined #maemo22:00
*** sunshavi has quit IRC22:21
*** vakkov has quit IRC22:44
*** andril has joined #maemo23:07
*** andril has quit IRC23:09
*** teotwaki has quit IRC23:33
*** Arch-KT has joined #maemo23:34
*** netkat has quit IRC23:34
*** timeless has quit IRC23:34
*** odin_ has quit IRC23:34
*** inz has quit IRC23:35
*** Dynamit has quit IRC23:35
*** inz has joined #maemo23:36
*** Arch-TK has quit IRC23:36
*** vakkov has joined #maemo23:37
*** timeless has joined #maemo23:39
*** netkat has joined #maemo23:39
*** teotwaki has joined #maemo23:39
*** Kabouik_ has joined #maemo23:44
*** Dynamit has joined #maemo23:44
*** githogori has quit IRC23:44
*** Kabouik has quit IRC23:46
*** odin_ has joined #maemo23:47

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!