/srv/irclogs.ubuntu.com/2011/06/20/#ubuntu-arm.txt

=== Lopi is now known as Lopi|idle
Xofratshi, quick question, why does rootstock on karmic insist on qemu even when running under arm?10:24
ogra_sigh, apachelogger had a boring sunday it seems11:43
* ogra_ wades through bugmail11:44
=== lilstevie|ZNC is now known as lilstevie
lilstevieogra: heh, any interesting bugs?11:55
ogra_nah, just general noise11:56
lilsteviedamn11:56
lilstevieyou should see this weird bug I have had come up since switching to a newer kernel :p11:56
apachelogger^^11:57
ogra_tell me11:57
apacheloggerogra_: more like proper triage :P11:57
ogra_heh, yeah11:57
lilsteviethe bootloader image is taking over, graphical corruption all round,11:57
ogra_ouch11:57
lilsteviebasically in samsungs 2.6.35 sourcedrop the fbdev driver has been royally screwed11:57
ogra_yeah, sounds bad11:58
lilsteviemy login screen is a few gdm elements overlayed over the bootsplash11:58
ogra_did you try to roll back the driver ?11:58
lilstevienot yet11:58
lilstevieI will try that when I get back11:59
lilsteviebrb11:59
lilsteviefood11:59
XofratsHey, either of you familiar with rootstock?11:59
XofratsI guess I killed the channel again12:02
ogra_while i initially wrote rootstock i havent touched it in more than 12months12:03
XofratsWell, close enough... I had a sorta-generic question12:04
XofratsIs there a armel image that contains enough to run rootstock from a chroot setup?12:05
XofratsBecause most of the references I see refer to qemu this or that12:06
* ogra_ has never run rootstock on arm ... and it wasnt originally created for that 12:06
XofratsI can't even apt-get rootstock on karmic because it fails on qemu12:06
ogra_iirc someone patched it to be able to run natively though, but i have zero experience with that12:07
XofratsHmmm....12:07
ogra_you shouldnt run karmic anyway12:07
ogra_its EOL12:07
XofratsI know, but that's the image I got to be able to run Ubuntu on an android phone12:07
XofratsLinux localhost 2.6.32.9 #1 Sun May 22 19:44:33 CDT 2011 armv7l GNU/Linux12:08
ogra_what HW is that ?12:08
Xofratsepic12:08
ogra_ah, thats samsung, right ?12:09
hrwhtc12:09
XofratsYeah12:09
hrwsorry12:09
Xofratsno. sammy12:09
Xofratsevo is htc12:09
ogra_lilstevie has some samsung experience ...12:10
Xofratsk, good12:10
XofratsI want to also sorta-resurrect rhodbuntu for xda soon12:10
ogra_if you want a barebone image, take the omap preinstalled netbook image, grab the content of the second partiton and touch /var/lib/oem-config/run12:10
Xofratshmm, k12:11
ogra_tar it up and untar it on your phone12:11
Xofratswell, there lies the issue12:11
ogra_or if you want it more minimal you can du the same with the headless image12:11
Xofratsthis *is* my computer atm12:11
ogra_*do12:11
Xofratsso right now karmic is chroot'ed and running epic4 which lets me be here12:12
Xofratsbut I want to be able to create something a bit better12:13
lilsteviewhich device?12:14
XofratsI just find it quite amusing that I can subsystem a true GNU/Linux on my phone12:14
Xofratsepic 4g12:14
lilsteviethat is the same family as the i9000 isn't it12:14
Xofratsyeah12:14
Xofratsgalaxys12:15
Xofratsonly one with a keyboard12:15
lilstevieok, if you give me a bit I will run through some of it with you, I have already gotten things working on the sgs i900012:15
lilsteviejust no modem12:15
XofratsI don't need modem, I just nice chroot /data/local/ubuntu /bin/sh12:16
lilstevieeh I don't chroot12:16
XofratsLet android handle the hw...12:16
lilsteviechrooting is far from ideal, just fyi12:17
XofratsI know12:17
XofratsTrust me, I know12:17
lilstevieheh12:18
lilstevieI have a nice setup going, flash kernel and param with heimdall and throw the image on one of the SD cards12:18
ogra_lilstevie, btw, how about providing your flash-kernel patch for upstream inclusion (or at least ubuntu inclusion)12:19
XofratsI just use an ext4 kernel and loopmount the ubuntu image12:19
lilstevieogra_: I dd12:19
ogra_oh ?12:19
lilstevieogra_: the kernel is stored in its own block device that the bootloader reads12:20
lilsteviea flash_kernel patch may help for easier updates including command line12:20
ogra_yes12:20
lilstevieI'm still trying to figure exactly how but there is a socket in one of the closed source modules that allows writing direct to the non-volatile stash that bootloader params are stored in12:21
Xofratshow big is your sd image?12:21
lilsteviemy SD image is 2GB12:21
lilsteviebrb gotta do something so the mrs doesn't kill me12:22
XofratsThe current "linux" image is woefully inadequate12:23
Xofratsthe guy that wrote the bootstrap script doesn't even know how to sed and cut12:24
XofratsI got it to the point where it doesn't whine about fs and partiion layouts12:25
Xofratsbut at least android uses the linux kernel to the point that you can chroot and run a gnu system under it12:27
lilstevieback,12:27
lilstevieI use an ubuntu initramfs in my kernels12:28
lilstevieafter playing round with the compression managed to get a natty initramfs to fit too :)12:28
Xofratsnice12:29
ogra_lilstevie, oh. you had compression issues ?12:29
Xofratskernel now supports lz right?12:29
lilstevieogra_: yeah the zImage was 8.3MB12:29
ogra_lilstevie, what did you do ?12:30
ogra_i have a similar prob on the ac10012:30
lilsteviebut the partition is just over 712:30
lilstevieI switched to lzma12:30
Xofratsthought so12:30
Xofratslz is great except it's a memory hog12:30
ogra_hmm, doesnt help here12:31
* ogra_ already tried all possible compression methods12:31
lilsteviegzip gave me an 8.3MB kernel12:31
lilstevielzo gave me 10mb12:31
lilstevielzma is just fitting weighing in at 6.9MB12:31
Xofratseverytime someone posts something in 7z I can't decompress half cuz the dictionary is too big12:31
lilstevieogra_: how big is your partition12:32
ogra_8M12:32
lilsteviehmm12:32
lilsteviewhy so big then?12:32
ogra_but for a full fastboot boot.img12:32
lilsteviedo you need to mkboot12:32
ogra_the kernel is 3.5M12:32
ogra_so i only have 4.5 left12:33
lilsteviethe samsung bootloader takes a raw vmlinux12:33
lilstevieor zImage12:33
ogra_ah, lucky you12:33
ogra_ac100 uses a fastboot img file to boot ... i need to pre-process kernel and initrd12:34
lilstevieI also have a serial shell with the bootloader12:34
ogra_using abootimg12:34
ogra_no serial port here12:34
lilstevieeugh, I am not looking forward to that with the transformer12:34
ogra_so a console wouldnt help much12:34
ogra_yep12:34
ogra_well, should be easy12:34
lilstevieheh yeah, going to be kernel level for most of it12:35
ogra_i guess it shouldnt take more than one/two days to get a first cut image running12:35
lilstevieyeah thats how long I give it12:35
lilstevieit is being sent tomorrow,12:35
ogra_properly integrated rather a week or two12:35
ogra_(depending on the kernel)12:35
lilsteviebut when it gets here I forsee booting within the hour12:35
lilstevieI am going to be getting on ASUS ass about GPL12:36
ogra_the kernel source is there12:36
lilsteviethey still haven't released the 3.1 kernel source12:36
ogra_question is how the nvidia bits are integrated12:36
lilsteviemuch like the xoom12:37
lilsteviefrom what I have looked over so far in the 3.0 source12:37
ogra_if transformer uses nvec as badly as ac100 it will be really really bad to get the peripherials working12:37
lilstevieyeah I hope not :/12:37
ogra_they all need undocumented init codes from nvec here12:37
lilstevieare nvidia willing to cooperate?12:37
ogra_so for ac100 it took nearly 6 months to get that properly worked out12:37
lilstevieI take it not12:37
ogra_nvidia ?12:38
ogra_lol12:38
lilstevieheh well their SoC is horribly documented12:38
ogra_i think the devs would love to ... but management doesnt care12:38
lilstevieheh12:38
lilsteviesamsung are actually taking a big interest in OSS which has been a huge plus12:38
Xofratsstevie: do you think using rootstock is the best way to create a new image?12:38
ogra_just getting their 3D driver in a binry form like the x86 one would change the world12:39
lilstevieI have been using the omap4 prebuilt12:39
Xofratsdidn't they just send a few 'pad to kernel hackers?12:39
Xofratshmm, k12:39
lilstevieyeah they sent a 10.1 to supercurio12:39
Xofratsand natty works on the galaxy?12:40
Xofratsand I think karmic was the last one to support arm6 correct?12:41
hrwyes12:43
hrw(karmic)12:43
lilstevieit is much harder galaxy s is armv712:43
lilstevie'er12:43
lilstevieshouldnt stop half way in :p12:44
lilsteviegalaxy s is an armv7 device, cortex-a812:44
XofratsWell, gonna use natty on the epic12:44
lilstevieogra_: 3D drivers are something we wish for here too12:45
XofratsBut I also want to do something similar for the msm7k212:45
Xofratswhich is arm612:45
ogra_lilstevie, well, the nvidia ones exist ... but they are linked and built against unusable xorg versions12:45
Xofratsmemory might be an issue though12:45
ogra_so you can onyl use them if you also replace half your rootfs12:45
lilstevieogra_: while I can try hijacking the tiomap SGX drivers my gpl-glue is horrible and doesn't support DRI12:46
lilstevieew12:46
ogra_you should talk to jessebarkers team in #linaro :)12:46
lilsteviewhy would they do that12:46
lilsteviefor the module?12:46
Xofratswould omap4 be the right one for karmic too?12:47
lilstevieI've been chipping away at patching in the samsung stuff to the DKMS but it has been a slow process12:47
ogra_the module isnt the prob, the xerver is12:48
ogra_i can roll a kernel that ignores all versioning info from that module12:48
ogra_but i cant run userspace without the right xlibs12:48
lilsteviewell when I say I use the omap4 image, I use the rootfs, rip out all the omap stuff and replace with hummingbird modules and firmwares12:49
ogra_dont use omap4 :)12:49
ogra_use omap12:49
lilstevieah you mean for the ULP GeForce12:49
lilsteviewhat is the difference12:49
ogra_omap4 has the PPA bits12:49
lilstevieah12:49
ogra_so you have a few pieces more to remove to get back to a clean image12:50
lilstevieI used the omap4 image cause hardware wise it is closest, ie: same GPU :p12:50
ogra_on omap you can just dpkg -l |grep omap and remove all the bits12:50
lilstevieah nice12:50
Xofratsokay12:51
Xofratswhat's ppa, sorry12:51
lilsteviePersonal Package Archives12:53
Xofratsk12:53
* ogra_ actually hopes someone from the nouveau people will develop some interest in tegra12:54
lilstevieogra_: I really hope that the keyboard dock for the transformer doesn't need undocumented shit implemented in nvec to work12:55
lilsteviethat would be a massive failure12:55
ogra_well, that would be what i expect though :)12:56
ogra_from nvidia12:56
Xofratshow different is the omap prebuilt to say rootstock-based image?12:56
ogra_it uses a diffrerent build system12:56
lilstevieogra_: lets just hope asus took a bit more control for their dock12:57
ogra_we'll see12:57
Xofratsany pro/cons to either, or am I being a n00b12:58
ogra_well, prebuilt gives you a read made system, rootstock *creates* a system13:00
ogra_and given that you cant run it natively apparently, i dodnt really see where you have choice ;)13:01
lilstevieeugh, looking at the sources it appears the dock is interfaced through NVIDIA Tegra internal matrix keyboard controller13:02
Xofratsyeah, true13:02
ogra_sounds like nvec13:03
plmAre there plans to support tegra?13:05
ogra_no, but there will be an ac100 community image13:07
ogra_and probably also one for the eeepad tarnsformer13:07
ogra_*trans13:07
Xofratshow much ram is considered decent for arm-based sytem?13:07
ogra_there wont be official tegra support from ubuntu though13:07
ogra_Xofrats, 512M works ... i wouldnt even start trying with anything less13:08
lilsteviehopefully my eeepad arrives this week13:08
lilstevie512 is ok13:08
Xofratshmmm, ew...13:08
Xofratswonder how rhodbuntu got it working with 20013:08
lilstevieI am actually thinking of cramfs13:08
ogra_Xofrats, cutting out tons of stuff13:09
ogra_Xofrats, my ac100 uses 130MB for teh desktop on start13:09
ogra_as you can see you can indeed use that on 200M13:09
ogra_just dont start any app ;)13:09
XofratsI guess13:10
XofratsBut in this case it'll be sharing memory space with *ndr**d13:10
lilstevieyeah I use about 150MB on boot with the tab13:10
ogra_using a browser with 20tabs open, xchat with about 30 channels on several servers, a bunch of terminals and evolution via ssh -X from another machine i use 380M ram and 250M swap here13:11
Xofrats20 tabs...13:11
ogra_according to htop13:11
plmogra_: why wont be official tegra support from ubuntu? any special subject?13:12
XofratsI don't need much for gui from ubuntu anyway13:13
ogra_no collaboration with nvidia atm13:13
lilstevieogra_: k maybe it doesn't I am looking in the wrong config block13:13
Xofratstons of useful console/ncurses app to use13:13
Xofratsstrobe, ping -f...13:14
plmogra_: wow, nvidia is so close.. :-(13:14
Xofratsoh wait, wrong hat *switches hat*13:14
ogra_plm, but there are a bunch of community projects for specific devices13:14
ogra_plm, so we will have community images on cdmiang for some13:15
ogra_*cdimage13:15
plmogra_: yes, I know about OMAP3/4 of TI..13:15
ogra_i.e. toshiba ac100 ... probably the transformer, likely the nook color13:15
plmogra_: like as pandaboard, bealge ans so one..13:15
ogra_they are official images13:15
ogra_panda and the omap3 ones are fully supported by canonical13:16
ogra_the tegra2 ones wont be13:16
lilstevieogra_: how does one go about getting a community image on cdimage13:16
ogra_lilstevie, we just work on documenting that13:17
plmogra_: yes.. I would like to use tegra3.. and I would like know if are a there (i not found) a community project for tegra3 like as are there with panda..13:17
ogra_for now you need to work with a person from the cdimage team (or be in that team)13:17
lilstevieah ok13:17
ogra_lilstevie, though it all starts with having a kernel package in universe13:17
ogra_plm, i dont think you can get tegra3 HW aynwhere yet13:18
ogra_so there is no community for it yet13:18
plmogra_: ok.. but not for tegra2 too :-(13:18
ogra_well, for tegra2 the above applies13:19
lilstevieogra_: ah ok, well my galaxy kernel is nowhere near that standard yet13:19
ogra_ac100 images will be there for oneiric13:19
ogra_lilstevie, what standard ?13:19
ogra_its universe13:19
lilstevieogra_: my standard13:19
plmogra_: above?13:19
ogra_lilstevie, if it doesnt remove all your user data from the HDD and makes most devices work it should be enough13:20
plmogra_: what is that ac100 ?13:20
ogra_indeed if you have a "wipe my disk" bug you ship, thats below any standard :)13:20
plmogra_: I'm looking for in https://wiki.ubuntu.com/ARM13:20
ogra_plm, toshiba ac100 netbook13:20
ogra_yeah, persia wanted to add a page for tegra/ac100 ... apparently thats not there yet13:21
XofratsMine comes with "nuke from orbit" and locks onto my agps chip13:21
Xofratsdoes that count?13:21
plmogra_: ok.. well.. notebook is so big.. I would like to use power of GPUs but in a little device.. like as omap with dsp...13:22
lilstevieogra_: my standard means it works and can be used13:22
ogra_lilstevie, well, if it does that, roll a package from it :)13:23
lilstevieby can be used I mean modem and all13:24
lilstevieand modem is far from even close to booting13:24
lilstevieogra_: the more I look at the source for the eeepad the more it looks like it is going to be done in nvec13:28
Xofratsanyway, thanks for the info, I'll prolly be back with more n00b q13:33
lilsteviewelcome back ogra13:52
jeremiahw00t! The oneiric daily build from today is booting on the OMAP 4 pandaboard :)15:05
ogra_funny, given that there was no build today15:07
ogra_oh, wait, you mean headless15:08
jeremiahogra_: Yeah, the headless version. :)15:09
jeremiahStill going through some filesystem checks at the moment.15:09
ogra_yeah, netbook wouldnt be much fun atm15:09
ogra_given that the whole USB stack seems to be screwed in the current kernel15:10
jeremiahAh.15:10
jeremiahThat sounds, um, painful.15:10
loologra_: hey15:14
loologra_: how much do you use qemu-system-arm with versatile kernels these days?15:14
ogra_lool, me ?15:14
loologra_: you15:14
ogra_i havent used that since two releases iirc15:14
loolOk; thanks  :-)15:15
ogra_rootstock still uses it though15:15
ogra_should be ported to omap or some such15:15
lilstevieheh15:15
noah1989hi15:17
noah1989where can i browse the packages available for ARM architectures?15:18
noah1989packages.ubuntu.com seems to have amd64 and i386 only15:18
ogra_launchpad15:20
ogra_generally you can say though that the source package list doesnt differ between x86 and armel, apart from very few arch specific packages like bootloaders15:21
ogra_http://qa.ubuntuwire.org/ftbfs/natty.html has a list of binaries that didnt build on arm15:22
ogra_everything else is available on armel as well as on i38615:22
noah1989ah.. that's fine15:26
jeremiahhttp://pastie.org/209611415:28
jeremiahHmm, OMAP 4 headless image hangs there ^^15:28
ogra_how big is your SD ?15:30
ogra_the actual write of the resizing happens after that line, it might take a moment with bigger SDs15:30
jeremiah8 gigs15:30
ogra_(you should see the LEDs being busy though)15:30
jeremiahBoth LEDS are busy15:31
jeremiah:)15:31
ogra_good15:31
ogra_then just give it time15:31
jeremiahWill do.15:31
ogra_lool, yre you planning to drop versatile completely or just the v7 patch ?15:49
loologra_: drop it completely15:50
ogra_good15:51
loologra_: essentially, vexpress should be better in all respects15:51
ogra_in aemu respects too ? :)15:51
loolI'm using vexpress these days, and it's buggy, but I believe the same code is used for versatile, so it should be the same really15:51
ogra_*qemu15:51
loolYes; AFAIK it's using the same QEMU drivers15:51
loolfor SD, fb etc.15:51
ogra_ah, awesome15:51
loolbut it's not much usable sadly15:52
loolthe network corrupts or cuts some packets somehow15:52
ogra_worse than versatile ?15:52
looland the SD stalls regularly15:52
loolI don't think it's worse than versatile15:52
ogra_k15:52
looloddly, using a Debian userspace makes things better15:52
loolnot perfect, but better15:52
loolI think it's just an accident though15:52
ogra_yeah, i heard the same for the ac100 port, people using debian have less kernel issues it seems15:53
jeremiahheh, that reminds me. I want to get debian working on my AC 10015:53
ogra_(we have a kernel bug that makes input devices die, apparently that shows only very rarely on debian userspace with the same kernel binary)15:53
ogra_(and with similar userspace)15:53
ogra_jeremiah, just bootstrap a rootfs :)15:54
jeremiahCool, I'll do that. :-)15:55
lilstevieogra_: actually something I haven't been able to get straight about the tegra215:57
lilsteviewhere does APX exist15:57
lilsteviebootloader, or bootrom15:57
ogra_APX ?15:58
lilsteviethe mode that nvflash talks to15:59
alex12greetings all.  Anyone have a moment to help me out with an ubuntu 11.04 installation on beagleboard-xm rev C?15:59
ogra_in the ac100 thats in rom i think16:01
lilsteviehm cool, I am just wondering about flashing risk, etc. if I fuck a flash on the tab when it is doing the bootloader, I am pretty much left with jtag as my only option, other than taking it to samsung16:02
ogra_well, if it is set up similar to the ac100 you cant brick it16:02
GrueMasteralex12: what issues are you having?16:03
ogra_even if i screw up the MMC completely i can always get it into flash mode and re-do everything16:03
lilstevieok thats what I wanted to hear16:03
lilstevieI bricked my tab once, :/16:03
ogra_thats why i think its in ROM16:03
hrwlilstevie: define 'bricked'16:03
lilstevieogra_: ok, that tells me what I want to know16:04
lilsteviehrw: as in it was a paper weight16:04
lilsteviehrw: full definition of brick16:04
alex12I used canonical's pre-built 11.04 image.  Followed instructions to replace uImage and the kernel on the sd-card.  Booted the bb-xm rev. c. and a.)colors are off (everything is red) b.) no mouse or keyboard response at the first set-up screen.  can't go anywhere.  any ideas?16:04
lilsteviereturned to samsung to fix16:04
GrueMasteralex12: Which image?  Netbook or headless?16:05
alex12netbook16:05
GrueMasterhmmm.  Haven't heard of that issue offhand.  Unfortunately I don't have one of these newer boards to test with.16:05
alex12okay thanks for your time.  i'm going to try the 10.10 pre-built now.16:06
hrwlilstevie: nice16:07
lilsteviehrw: nice that I am not misusing the term, or nice that the device can be permafucked16:08
lilstevie?16:08
noah1989lilstevie: i think he meant "nice" how precisely you defined the term16:11
lilstevieheh16:12
hrwyes16:13
hrwas lot of people say 'bricked' as 'had to reflash'16:13
lilstevieheh soft-brick16:14
noah1989the correct definition of "bricked" depends on the equipment that you have available16:16
noah1989for example an AVR microcontroller can be bricked by disabling the ISP programming interface, but that's only for people who don't have a 12V parallel programmer and a soldering iron16:17
ogra_so its not bricked :)16:17
ogra_bricked for me means something you cant fix ... its a brick16:18
noah1989well that depends on wether "you can't" means "you're unable" or "it's impossible"16:19
ogra_the latter16:19
lilsteviemy tab required a new logic board16:19
hrwbricked == have to use jtag or worse - for me16:23
lilsteviehrw: agreed16:24
hrwespecially when I lack jtag at home ;D16:25
lilstevieI define bricked as fubar'd16:25
lilstevieyeah my jtag does not work on the tab16:25
* ogra_ is happy he doesnt have to work with HW you can actually brick atm16:25
ogra_and i hope that wont change :)16:26
lilstevieheh16:26
lilsteviesamsung screwed something with iROM by not giving a method of halting boot to get into a bootrom recovery16:26
ogra_bitter16:27
alex12did my bb-xm just die?  I have the 5V adapter (from digikey, recommended supply).  just powered on, all I'm getting is the D5 LED solid green, no other activity...16:48
GrueMasterDo you have an SD plugged in?16:51
alex12yes16:52
ogra_sounds like bootloader or kernel screwup16:52
alex12okay i'll reimage the SD card, thanks!16:52
rsalvetilool: how much mem qemu currently supports for vexpress? 1gb?17:47
ogra_thats what he wrote in the mail17:50
alex12i'm using bb-xm demo image of ubuntu (netbook-minimal-11.04).  after doing an apt-get update, I used  'apt-get install ssh' to install the meta-package.  ubuntu was in the middle of it when DVI image just went dead... same thing happened the other evening when trying to install xfce.  any ideas why i'd lose video?17:51
ogra_a bug ?17:57
ogra_(would be my first idea)17:57
ogra_:)17:57
loolrsalveti: yes18:09
loolalex12: could be a power issue too; if you're powering from USB for instance, driving a DVI device + USB + stuff is too much18:10
alex12lool: thanks, i'll move a device off then18:11
alex12rcn-ee: thanks for the bb-xm demo image, first time I've been able to get Ubuntu to come alive on my board =)18:44
rcn-ee_at_workcool, your welcome alex1218:48
alex12rcn-ee_at_work: so, any ideas why the canonical images don't run right on the -xM rev. C?  I know you've been developing the alternatives for quite a while now... canonical still can't keep up?  I followed all their instructions, replaced the kernel (which is presumably something similar to what you've done) but I cannot get it to boot.  =(  Why can't they get it straight?18:50
GrueMasteralex12: Don't blame us.  We have a hard time when board revs change functionality and we aren't informed until users complain.  And we don't have them to test/debug.18:57
rcn-ee_at_workalex12, the xM C kinda came out suddenly, i was luckly enough to get one early at a ti training, but by that time it was too late for ubuntu's natty.. the kernel's image was frozen..  with my images, i don't have that limiation..19:00
sveinseIs it possible to run update-initramfs from within a chroot environment? I got "/bin/df: Warning: cannot read table of mounted file systems: No such file or directory"19:25
ogra_yes, but you need to bind mount /dev from outside the chroot and proc and sys inside the chroot19:26
sveinseNote The chroot is not for the same machine as the running machine19:26
ogra_well, it still uses /dev/null and stuff19:27
sveinseInterestingly the rootstock script mounts proc and devpts from outside the chroot19:28
ogra_hmm ?19:29
sveinseiirc that is19:29
ogra_i dont think so19:29
ogra_it should chroot19:29
ogra_unless someone really mangled my original code19:30
sveinseIt has been changed19:30
sveinsenever the less, what significance are there concerning mounting proc and sys from the inside?19:31
ogra_the scripts looks at files in there19:31
ogra_*look19:32
sveinseBut there's no real difference between mounting proc before running chroot than mounting it afterwards, is there?19:32
ogra_no19:32
sveinsegood19:32
ogra_doesnt matter how you mount it, as long as it is populated inside the chroot when you run your command19:33
sveinseyes. And in that context, the rootstock script only mounts proc and devpts, not dev19:34
sveinseWait a minute, isn't device nodes, like /dev/null, blk nodes, so they dont need /dev as mount to work, or am I misunderstanding?19:35
ogra_null is a char device19:36
sveinseyeah, but still a device node, so if it exists on the fs it will work. It don't need some mounted /dev19:37
ogra_i dont know which devices update-initramfs needs19:37
ogra_null was just an example, just mount it19:37
sveinseThanks19:39
sveinseThere were some talk some time ago about altering update-initramfs to suit uboot image file format. Has this been made?19:44
ogra_surely not19:45
ogra_update-initramfs shouldnt have anything to do with handling bootloader specific bits19:45
ogra_thats the job of flash-kernel in ubuntu/debian19:45
ogra_(on arm at least)19:46
sveinseBut some apt upgrade packages triggers update-initramfs which in turn needs to trigger uboot changes, right.19:46
ogra_yes19:46
ogra_so update-initramfs makes a call to flash-kernel19:46
ogra_after it rolled the new initrd19:47
sveinsedoes flash-kernel handle uSD cards as well?19:47
ogra_it handles whatever was set up for your board in the flash-kernel code :)19:48
ogra_flash-kernel is a pretty horrid script wheer every board cooks its own soup, even if that means to duplicate half the code19:49
sveinsehmm. I see how flash-kernel is setup to be called from initram-fs. It's perhaps easier to just make my small little script to do this part19:50
ogra_just add a patch to flash-kernel ...19:50
ogra_and give it to me so i can include it in oneiric ;)19:51
* ogra_ needs to do some real life stuff now ... 19:54
sveinseHow should /etc/fstab look like on OMAP3? Mine is empty. (I refer to non-storage lines, like proc tmpfs etc.)20:20
=== nielsslot_ is now known as nielsslot
=== Lopi|idle is now known as Lopi

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