File size: 20,543 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
[00:08] <Tassadar> okay, my cmdline was missing these 3 parameters: "access=m2 quiet splash"
[00:08] <Tassadar> I added them, and onboard works like a charm
[00:08] <Tassadar> that is...unexpected Oo
[00:10] <Tassadar> something still crashes when I hide onboard and show it again, window's decorations disappear and input from onboard no longer gets into textfields
[01:51] <Jef91> sfeole you still around?
[01:59] <vanhoof> Jef91: the rootfs.img is derived from live build
[01:59] <vanhoof> tar/plain format
[01:59] <vanhoof> you can download it, mount it loopback and take a look
[01:59] <Jef91> vanhoof do you know what edits are made to the file system to allow it to be setup properly from the rootfs.tar.gz on the nexus 7?
[02:00] <vanhoof> http://www.mattfischer.com/blog/?p=285
[02:00] <vanhoof> its just a quantal or raring build w/ a seed trimming out the fat, nothing fancy
[02:01] <Jef91> So there is nothing extra added to the file system to allow it to boot on the nexus 7?
[02:02] <vanhoof> Jef91: checkout ubuntu-defaults-nexus7 package in the ppa
[02:02] <vanhoof> anything magic is handled there
[02:02] <vanhoof> but those are largely quantal specific, where the image was released at UDS
[02:02] <vanhoof> not for daily raring builds
[02:04] <vanhoof> Jef91: you've seen the build.sh script, yeah?
[02:04] <Jef91> yea looking at it now
=== zz_chihchun is now known as chihchun
[02:11] <Jef91> where the is ppa for that pacakge again vanhoof?
[02:12] <Jef91> nvm found it
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
[03:32] <Jef91> hrm my custom nexus rootfs is giving me:
[03:32] <Jef91> "mount: mounting /dev on /root/dev failed: No such file or directory" and "target filesystem doesn't have requested /sbin/init" and then it dumps me to a busy box. Any suggestions as to what I might be missing?
[03:34] <mjrosenb> Jef91: you should not be mounting /dev anywhere
[03:35] <mjrosenb> /dev/sdfoo or /dev/mmcblkbar sure
[03:35] <Jef91> hrm
[03:37] <Jef91> if I try to install the 8gb image on a 16gb nexus 7 will it have issues?
[03:38] <infinity> mjrosenb: I assume that's an initrd moving the mount from /dev in the initrd to /root/dev before pivoting root.
[03:38] <infinity> Jef91: ^
[03:39] <infinity> Jef91: And the last message is also from an initrd telling you it can't find /sbin/init on /root
[03:39] <Jef91> my filesystem has a /sbin/init file
[03:39] <infinity> Jef91: So, your rootfs isn't being mounted, or it's being mounted but is empty and/or corrupt.
[03:39] <Jef91> or is it referencing something else?
[03:39] <infinity> From the POV of the initrd, your filesystem really doesn't have init.
[03:39] <infinity> Why that is, I can't say.
[03:39] <Jef91> Alrighty.
[03:40] <infinity> (It also doesn't have /dev)
[03:40] <infinity> In other words, it's probably just not seeing it right.
[03:40] <Jef91> My file system is Debian Wheezy ARMHF
[03:40] <Jef91> But I've recompiled the Ubuntu nexus 7 packages, thinking they would work with it
[03:40] <Jef91> but that might not be enough
[03:41] <Jef91> namely I've installed the "tarball-installer" package along with "ubuntu-defaults-nexus7" any idea if I need something more than those two to make the rootfs install via fastboot?
[03:42] <infinity> Oh.
[03:42] <infinity> Did you also generate an initrd after installing tarball-installer?
[03:43] <infinity> That initrd is the one you should be booting with.
[03:44] <Jef91> ha whoops
[03:44] <Jef91> I did not
[03:44] <Jef91> How abouts would I go about doing that infinity?
[03:44] <Jef91> I just copied over the /boot from the Ubuntu FS
[03:45] <Jef91> I moved over /boot, /lib/firmware and /lib/modules
[03:45] <infinity> update-initramfs -u in your new rootfs.
[03:45] <Jef91> (that is what I have done for a number of other ARM devices, wasn't sure if this was different)
[03:45] <Jef91> Will there be any conflicts if I had copied over those directories from Ubuntu?
[03:46] <infinity> Erm.  This is a bit more involved than just copying files around, if you're wanting it to *install* the same way our images do.
[03:46] <infinity> See live-build/auto/build from the livecd-rootfs source.
[03:46] <infinity> Search for nexus7
[03:47] <infinity> We create the boot.img with abootimg, and then create the rootfs, which is an ext4 sparse filesystem with a tarball inside it.
[03:47] <infinity> Then you flash both those bits, and the boot.img runs the tarball installer.
[03:47] <Jef91> Ahh I didn't create my own boot.img
[03:47] <infinity> If that's not what you actually wanted, then you didn't want tarball-installer.
[03:47] <Jef91> I'd just been using one of the ones from Ubuntu
[03:48] <Jef91> I'll generate my own
[03:48]  * Jef91 will stop trying to shortcut
[03:51] <vanhoof> Jef91: what variant (8, 16, 32, 32+3g)?
[03:52] <Jef91> 16 vanhoof
[03:52] <Jef91> So I need to generate a fresh boot.img even with the same kernel Ubuntu uses?
[03:52] <vanhoof> ah ok, you should be good w/ p9 then for rootfs
[03:52] <vanhoof> 3g is p10
[03:52] <vanhoof> (partition wise)
[03:53] <vanhoof> well it needs to be flashed to the boot partition
[03:54] <vanhoof> since tarball-installer does its magic on first boot then vanishes
[03:54] <vanhoof> after that flash-kernel works as usual
[03:54] <SailorMoon> So whats the deal with Ubuntu for Nexus 7?
[03:55] <SailorMoon> Is it being developed for fun or should we expect something serious of it?
[03:55] <vanhoof> its quite active
[03:55] <vanhoof> http://status.ubuntu.com/ubuntu-raring/group/topic-raring-desktop-targets-for-embedded.html
[03:55] <SailorMoon> from what ive seen, in its current state, its a bit unusable
[03:56] <vanhoof> SailorMoon: bits are still being migrated from the quantal -> raring daily
[03:56] <Jef91> aside from the fact that Unity is a memory hog it works pretty well SailorMoon
[03:56] <SailorMoon> i do hope it becomes usable someday, I have an OTG cable and a USB hub i use on my N7  for a mouse and keyboard, using that on Ubuntu would be Epic.
[03:57] <SailorMoon> I did see there were nightlies, and downloaded one, but i couldnt manage to figure out how to install it
[03:57] <vanhoof> SailorMoon: thats how I do most of my work (OTG)
[03:57] <SailorMoon> Was like a .gz with a .raw inside it
[03:57] <vanhoof> usb serial is new (and nice too)
[03:57] <vanhoof> connect and `screen /dev/ttyACM0 115200`
[03:57] <infinity> SailorMoon: The wiki has pretty clear instructions on what to do with the two downloaded files.
[03:58] <SailorMoon> The wiki doesnt say anything about the Nightlies
[03:58] <SailorMoon> It says how to install the .img files, wich i already knew.
[03:58] <infinity> Which nightlies are you refering to?
[03:58] <vanhoof> install https://launchpad.net/~ubuntu-nexus7/+archive/ubuntu-nexus7-installer
[03:58] <vanhoof> and if you choose to re-download, it'll pull the new daily
[03:59] <infinity> https://wiki.ubuntu.com/Nexus7/Installation#Manually_Installing_Ubuntu_13.04_on_Nexus_7 <-- How to install dailies.
[03:59] <SailorMoon> infinity: this one http://cdimage.ubuntu.com/daily-preinstalled/current/
[03:59] <infinity> SailorMoon: Yeah, the above tells you exactly what to do with those two files.
[03:59] <SailorMoon> yeah step 2 says "gunzip", wtf is a gunzip
[03:59] <infinity> SailorMoon: "gunzip foo.img.gz"
[03:59] <vanhoof> SailorMoon: install the package from the ppa
[03:59] <vanhoof> it does it for you
[03:59] <SailorMoon> I'm running Windows on my Desktop lol
[03:59] <vanhoof> oh
[04:00] <infinity> Do you have a fastboot binary for Windows?
[04:00] <SailorMoon> Tried using 7z but it just showd a .raw inside
[04:00] <SailorMoon> Yep
[04:00] <infinity> If so, these instructions will work just fine, but yes, you'll need something to unzip.
[04:00] <infinity> Like good ol' winzip.
[04:00] <SailorMoon> i used 7zip but again, file.raw inside
[04:00] <SailorMoon> Also tried Winrar
[04:01] <infinity> Oh, if they're renaming it to file.raw instead of file.img, that doesn't really matter.
[04:01] <Jef91> SailorMoon: the install instructions are pretty clear you need Ubuntu on your desktop in it's current state :P
[04:01] <infinity> Jef91: Not really true.  With a sane fastboot, it should work from Win32 too.
[04:01] <SailorMoon> so i should just assume .raw is the name of the image?
[04:02] <SailorMoon> Jef91: ive said like 10 times, i've installed the normal .img files fine
[04:02] <SailorMoon> these compressed files dont contain .img files
[04:02] <SailorMoon> and confused me
[04:02] <infinity> SailorMoon: Well, it is, in fact, image.raw at one point in the build process.  We likely rename it.
[04:02] <SailorMoon> Good to know
[04:02] <SailorMoon> i didnt know that before, confused me TT lol
[04:02] <infinity> So, your unzippy thing is just being a bit too smart, I suspect.
[04:03] <vanhoof> infinity: rename to .img?
[04:03]  * vanhoof has no clue on win
[04:03] <infinity> That said, you could get gzip/gunzip for Win32 from here: http://gnuwin32.sourceforge.net/packages/gzip.htm
[04:04] <infinity> vanhoof: The name of the image is completely meaningless, it's just a raw blob of blobbiness anyway, fastboot doesn't care.
[04:04] <infinity> That said, gunzip will definitely give you The Right Thing, I have no idea what WinRAR for 7zip will do (though, they should be doing similarly Right Things)
[04:04] <infinity> s/for/or/
[04:04] <vanhoof> cygwin? :)
[04:05] <infinity> This gzip is native, no need for cyg.
[04:05] <vanhoof> infinity: right, just never used fastboot on win myself
[04:05] <infinity> vanhoof: Fastboot on Win32 is far better tested than on Linux, so it better work. :P
[04:05] <vanhoof> infinity: heh
[04:05] <infinity> (Sadly, we're not actually the dominant OS in the world... Crazy talk, I know)
[04:05] <vanhoof> infinity: say it aint so!
[04:06] <infinity> It saddens me too.
[04:06] <SailorMoon> what is dup?
[04:06] <SailorMoon> Its completely unrelated but you guys r smart n stuff
[04:06] <infinity> vanhoof: Anyhow, we could totally whip up a quick-n-dirty installer (probably not a GUI, unless you want to do actual work, but we could script something and bundle it with gzip, etc) for Win32..
[04:07] <vanhoof> infinity: totally out of my element there, perhaps a holiday venture, if i use windows, cygwin is the first thing installed ;)
[04:07] <infinity> vanhoof: Yeah, native is much saner in this case.  Though, I tend to agree, Windows without a sane POSIX environment drives me batty.
[04:08] <vanhoof> infinity: s!!! ;)
[04:08] <infinity> Heck, it's the only thing that makes MacOS usable.  I spent about 10 minutes trying to "intuitively" deduce how to help a friend with an OSX problem the other day before I just broke down, hit a terminal, and beat it with a hammer from the back end.
[04:08] <infinity> Intuitive GUI, my ass.
[04:09] <vanhoof> same w/ OSX, fink!
[04:09] <vanhoof> lol
[04:09]  * vanhoof envisions being punched by infinity at some point
[04:10] <infinity> If I used OSX at all, I'd likely use fink.  But, why would I use OSX?
[04:10] <infinity> That sort of implies wanting the GUI which, as stated above, is completely unusable to me.
[04:10] <vanhoof> heh
[04:10] <infinity> It also implies wanting the hardware, and I'm allergic to mice with fewer than three buttons.
[04:11] <infinity> If Lenovo ever drops the middle button, I might just find a new career, computers will be dead to me.
[04:11] <vanhoof> infinity: im dreading moving away from my x220
[04:12]  * vanhoof is not a fan of the new keyboards
[04:12] <infinity> Oh, really?  I think they've actually done a stellar job on their chicklet keboards.
[04:12] <vanhoof> you like em?
[04:12] <infinity> They're about 20x more usable than the Apple/Samsung keyboards.
[04:12] <infinity> I actually really like the feel.
[04:12] <infinity> And they certainly gunk up a lot less than the old skool Thinkpad keyboards.
[04:12] <vanhoof> i just love my old reliable lenovo keyboard
[04:12] <infinity> I used to have to replace mine every year or so.
[04:13] <vanhoof> thought I am not a user of the lenovo nipple :)
[04:13] <vanhoof> people think im crazy
[04:13] <infinity> I dunno.  It's not AS NICE a touch as the classic ThinkPad keyboards, I won't pretend it is, but they've done a really good job.
[04:13] <infinity> They're still very IBM/Lenovo ThinkPadish.
[04:13] <infinity> Only took me a week or so to get my typing speed back into the 120+ WPM range after switching from old to new ThinkPads.
[04:14] <infinity> Now I bounce between the two, and they both work well.
[04:14] <vanhoof> infinity: I think i'll skip the x230
[04:14] <vanhoof> see what haswell and lenovo have in next year
[04:14] <infinity> Well, I doubt they'll bring back the old keyboards.
[04:14] <vanhoof> yeah
[04:14] <infinity> Does Toshiba still ship them?
[04:15] <infinity> They were the only other vendor with this style of keyboard in recent years.
[04:15] <vanhoof> not sure, havent spent much time w/ toshiba
[04:15] <infinity> (Shame their laptops were otherwise hideous)
[04:16] <vanhoof> i dunno, big thing with me and thinkpads is accessability
[04:16] <infinity> So, do you know any fans of the old skool keyboards who'd want to buy a near-mint T420s? :P
[04:16] <vanhoof> yeah i want a new hdd, easy ... pop in mstata in pcie, easy
[04:16] <infinity> Toshiba was modular long before IBM was.
[04:16] <vanhoof> i hate having to rip apart a laptop to add in new parts
[04:17] <infinity> Though, it was more than 15y ago that I was doing laptop service.
[04:17] <infinity> I'm sure things changed.
[04:17] <infinity> A bit.
[04:17] <infinity> Either way, a quick poke at their website shows they've also gone chicklet.
[04:18] <vanhoof> now i just need to sweet talk ogra_ into sending me a new panel for my ac100 :)
[04:18] <infinity> Oh, now that's a keyboard I find unusable.
[04:18] <infinity> The only one worse than the ac100 was the tf101.
[04:18]  * vanhoof misses his, shame the panel decided to die
[04:19] <vanhoof> yeah but for grab and go, its an awesome machine
[04:19] <infinity> The weight was hard to beat.
[04:19] <infinity> I eventually stopped using mine, though.
[04:19] <vanhoof> this x220 w/ a 9 cell battery is small but heavy :)
[04:19] <infinity> I keep tossing around the idea of replacing it with a Chromebook.
[04:19] <vanhoof> same here
[04:20] <infinity> Honestly, though, the 420s is actually stupid light and thin, for all the beef inside.
[04:20] <vanhoof> was looking at the install for it and it looks a mess
[04:20] <infinity> So I'm not sure I need more laptops.
[04:20] <infinity> Streamlining the Chromebook install and producing images for it was about the only argument I had for buying one.
[04:21] <infinity> Cause I think it would be a lovely all-in-one dev kit to recommend to people.
[04:21] <infinity> Sure beats saying "okay, go buy a Panda... And now buy a hard drive... And a monitor... And..."
[04:21] <vanhoof> heh
[04:22] <vanhoof> i think the install could be greatly condenced, everything i've found it way to manual
[04:22] <infinity> Oh, we could make it reasonably slick.
[04:22] <infinity> Except for the initial faff to get it into dev mode.
[04:23] <vanhoof> well same w/ n7
[04:23]  * infinity nods.
[04:24] <infinity> Meh.  Would have made a good holiday project, but there's no way I can get an American to ship me one before January now.
[04:24] <vanhoof> infinity: i work for beer
[04:25] <vanhoof> ;)
[04:25] <infinity> vanhoof: I meant there's just no way (short of FedEx overnight, twice) that it would get here in time for me to do anything with it over the holidays.
[04:25] <infinity> vanhoof: And overnighting it from a retailer to you, and then from you to me, would make it a fair chunk more expensive than the sticker price. :P
[04:26] <infinity> Sort of defeats the purpose of buying cheap hardware.
[04:26] <vanhoof> infinity: yeah but then you owe me archive work ;)
[04:26] <vanhoof> win/win
[04:26] <vanhoof> lulz
[04:26] <infinity> Oh, if you want to send me one for free, I'm okay with owing people favours...
[04:26] <vanhoof> looool
[04:27] <infinity> It's not like I haven't been working the last 5 days, despite being on "holidays".
[04:27] <infinity> Grr.
[04:27] <vanhoof> yeah seriously
[04:27] <infinity> May as well work on something I enjoy, instead of emergency SRUs for insane insanity.
[04:37] <SailorMoon> Installing COM24 ?
[04:37] <SailorMoon> COM26?
[04:38] <SailorMoon> COM32? D:
[04:38]  * SailorMoon panics
[04:39] <infinity> USB serial on Windows gets curious numbering.
[04:40] <infinity> FSVO "curious" that amounts to "completely nonsensical".
[04:40] <SailorMoon> lol
=== chihchun is now known as zz_chihchun
[04:41] <SailorMoon> This nightly/daily is booting different =o
[04:41] <SailorMoon> Is using Gnome/unity really a good idea on a device like the Nexus 7?
[04:42] <infinity> It's more a proof of concept at this point than a finished product.
[04:42] <infinity> And a good baseline for people to go hunting memory/power/etc issues.
[04:43] <SailorMoon> So you dont think we'll be using Gnome later on? :3
[04:44] <Jef91> So I got my file system loaded up with the installer scripts
[04:44] <Jef91> It is getting kernel panic referencing various libnih .so files it is missing
[04:44] <Jef91> but I am making progress
[04:51] <infinity> SailorMoon: I can't say (because I honestly don't know -- ignorance is bliss) what direction the mobile/slate efforts will go in, but any work put into gnome/compiz/unity certainly won't be wasted effort.
[04:51] <infinity> SailorMoon: Even if it doesn't end up being used for slates, I won't mind my laptop drawing 20% less power. :P
[04:57] <SailorMoon> We need a Dock for this :3
[04:58] <SailorMoon> Turn it into a netbook lolz
[04:58] <infinity> I need a way to both charge and have an external HDD, and I'll be happy.
[04:58] <SailorMoon> a dock with its own Power cable
[04:58] <SailorMoon> make it!
[05:00] <SailorMoon> The build im using doesnt allow for input, not from on screen keys or from usb keyboard.
[05:00] <SailorMoon> really weird.
[05:19] <Jef91> So - I've got my file system booted up on the 7 - but the touch screen is non-functional. Any idea what ubuntu package contains the drivers so I can rebuild them?
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Jef91 is now known as Jef91|Away
=== zz_chihchun is now known as chihchun
[08:00] <dholbach> good morning
=== yofel_ is now known as yofel
=== chihchun is now known as zz_chihchun
=== gatox is now known as gatox_brb
=== doko_ is now known as doko
=== gatox_brb is now known as gatox
=== Quintasan_ is now known as Quintasan
=== Jef91|Away is now known as Jef91
=== zz_chihchun is now known as chihchun
[13:44] <Jef91> Anyone know which ubuntu package contains the touch screen drivers for th eneus 7?
[13:47] <kulve> Jef91: something-evdev
[13:47] <kulve> if you mean the X.Org driver
[13:47] <Jef91> X on my custom image starts fine and at the right resolution
[13:48] <Jef91> but the sccreen doesn't react to touch input
[13:57] <Jef91> hrm - I already have xserver-xorg-input-evdev installed kulve
=== rsalveti_ is now known as rsalveti
=== Ursinha is now known as Ursinha-afk
=== k1l_ is now known as k1l
=== Ursinha-afk is now known as Ursinha
[15:15] <Jef91> hrm, updated EV dev drivers got my touchscreen working. Just need to figure out why the touch points are being mirrored. Calibration issue odds are.
[15:32] <Jef91> sfeole: I want to say thanks for the help yesterday - I was able to get my own image going based on the 12.10 images
[15:32] <Tassadar> Anyone with 3g nexus7 here? Could you please run "blkid" and tell me what does it says?
[16:09] <sfeole> Jef91:
[16:09] <sfeole> Jef91: hey!  Great!, I see you had a lengthy convo last night. Glad everyone could help you
[16:10] <Jef91> mhmm - once I get the touch screen configurations right - I'll have some e17 goodness for the nexus7 to share
[17:10] <prpplague> a gentle reminder that the Call For Participation for the Embedded Linux Conference deadline for submissions is Jan 4th! get your presenation proposals submitted soon! http://events.linuxfoundation.org/events/embedded-linux-conference/cfp
=== Jef91 is now known as Jef91|Away
=== Jef91|Away is now known as JEf91
=== JEf91 is now known as Jef91
[20:59] <Jef91> Anyone know of a tool/configuration file for the evdev xorg driver
[21:39] <stgraber> janimo, ogra_: hey, just trying lxc again on my nexus7, looks like the kernel is missing the bridge modules
=== chihchun is now known as zz_chihchun