twb | re defconfig -- that's what I guessed. Would be nice to distill it down sometime. | 03:07 |
---|---|---|
twb | lilstevie: what is "the blobs-be-gone enhancement"? | 03:18 |
Galaxor2 | Hi. So I installed an ubuntu chroot on my andoid tablet using debootstrap. Debootstrap didn't give me a sources.list. (Actually it gave me an empty one). So I made myself a sources.list and ran apt-get update. It 404ed on all the repos. What is up? Here's my output from apt-get update: http://pastebin.ca/2080718 | 03:22 |
twb | Also, why is http://lilstevie.geek.nz/ports/nvflash-ubuntu.tar.gz a tarball when it contains only one file. | 03:23 |
twb | Galaxor2: resolv.conf | 03:23 |
Galaxor2 | Hm. Resolv.conf exists and has the contents I expect. debootstrap doesn't seem to have installed any other programs capable of attempting to resolve domain names, so I can't check it with another program. I don't have host or ping or wget pr nslookup... | 03:30 |
twb | libc performs hostname resolution | 03:31 |
twb | Try "getent hosts" | 03:31 |
twb | Or just put IPs in sources.list for now | 03:31 |
twb | I mean "getent hosts example.net". Also check nsswitch.conf, I guess. | 03:31 |
Galaxor2 | getent hosts ubuntu.com resolved it. | 03:35 |
Galaxor2 | Also I notice that the error I was seeing was not a hostname lookup failure but a 404. The webserver was in fact contacted. | 03:37 |
twb | Then I dunno | 03:43 |
twb | Sorry, I should've read your error pastebin, I just jumped to the DNS conclusion | 03:44 |
twb | Your problem is that armel isn't carried on that mirror | 03:45 |
twb | It looks like armel isn't hosted in the normal archive at all. | 03:45 |
Galaxor2 | Mrr...? Where should I look for the armel stuff? Debootstrap seems to have found it somewhere... | 03:46 |
twb | Dunno, I use Debian. | 03:47 |
Galaxor2 | Ha. I have sometimes gone to #debian for help if I have a general enough problem but they always get mad at me when they find out I'm actually using ubuntu. I guess the rivalry isn't so intense in the other direction. | 03:52 |
twb | It's more that I'm asking lilstevie for help and he is here, not in #debian-arm | 03:53 |
twb | I do use ubuntu x86-64, but not arm. | 03:53 |
Galaxor2 | Aha. | 03:57 |
Galaxor2 | Ok, I found the answer. In my sources.list, I s/us.archive.ubuntu.com\/ubuntu/ports.ubuntu.com/. That did the trick. | 03:59 |
lilstevie | twb: it is a tarball to make it smaller | 04:03 |
lilstevie | it is a 4GB image or 950MB compressed | 04:04 |
twb | Why not gzip it | 04:05 |
twb | An archive of one file is silly | 04:05 |
twb | I mean: ubuntu.img.gz rather than ubuntu.img.tar.gz | 04:09 |
lilstevie | eh | 04:11 |
lilstevie | doesn't really matter tbh | 04:11 |
twb | I guess not, it's just a bit wasteful | 04:15 |
twb | lilstevie: what's the GPT partition table for? | 04:22 |
twb | When you said yesterday that I can blow away everything after EBT, I think that GPT needs to stay | 04:23 |
lilstevie | when I say you can blow it away I mean that they are mobile | 04:24 |
lilstevie | GP1 and GPT are bookends | 04:24 |
lilstevie | GP1 at the start and GPT at the end, everything between them will be able to be addressed from /dev/mmcblk0px | 04:25 |
twb | OK, let me put it this way. default.cfg ships with: BCT, PT, EBT, SOS, LNX, BAK, GP1, APP, CAC, MSC, USP, PER, YTU, UDA and GPT. Of these, | 04:30 |
twb | BCT, PT, EBT, GP1, GPT -- leave these completetly as is. | 04:30 |
twb | BAK, APP, CAC, MSC, USP, PER YTU, UDA -- can all be removed. | 04:30 |
twb | LNX and SOS should exist, but everything except the label can change | 04:30 |
twb | Is that right? | 04:30 |
lilstevie | everything else is irrelevant if you aren't using android | 04:34 |
lilstevie | my current layout is MBR for u-boot | 04:35 |
lilstevie | but I have BCT PT EBT as standard | 04:35 |
twb | Oh, OK | 04:36 |
twb | I thought you needed e.g. EBT still if you wanted to use nv3p/nvflash | 04:37 |
lilstevie | then MBR UES (u-boot environment store) UIM (u-boot information and media) UBT (ubuntu) MPT(MBR Partition Table endpoint) | 04:37 |
lilstevie | nv3p resides in the bootloader you upload | 04:37 |
twb | And the APX stuff is baked into a separate ROM, and I *can't* accidentally host it? | 04:38 |
lilstevie | EBT is so it is picked up as the bootloader during boot | 04:38 |
twb | s/host/hose/ | 04:38 |
lilstevie | correct | 04:38 |
lilstevie | APX is baked into the SoC | 04:38 |
twb | in allocation_attribute, which 8 in 0x808 is "allocate to the end of the disk"? And what does the other 8 mean? | 04:51 |
lilstevie | the allocation attribute as a whole means that | 04:53 |
lilstevie | 0x808 is the allocation attribute to allocate to end of disk | 04:53 |
twb | OK | 04:53 |
twb | Oh, I misread. YTU has 8, UDA has 808 | 04:54 |
lilstevie | in which case size= is an exclusion | 04:54 |
lilstevie | YTU has 8 UDA has 0x808 :p | 04:54 |
lilstevie | there is a difference | 04:54 |
twb | Yeah sorry | 04:54 |
twb | What do you mean by exclusion? As in, leave that much off the end unallocated? | 04:55 |
lilstevie | yep | 04:55 |
twb | You omitted "ro" from the recoveryimg.cfg -- any reason for that? | 04:59 |
lilstevie | accident | 04:59 |
twb | k | 04:59 |
lilstevie | nobodys perfect :p | 04:59 |
twb | OK, do you expect this to result in something that'll boot? | 05:01 |
twb | http://paste.debian.net/129314/ | 05:01 |
twb | Oops, the id=3 in flash.cfg doesn't match your bootimg.cfg abootimg args | 05:01 |
lilstevie | ? | 05:02 |
twb | I'm doing a first test using your kernel, ramdisk and rootfs, so that I know that much of the process works, and because building a rootfs is a bit more tedious than I hoped | 05:03 |
twb | You have root=/dev/mmcblk0p8, but I has set the partition number to 3 in flash.cfg | 05:03 |
twb | Although when I look, your purelinux.cfg sets UBT to id=16, so clearly those don't need to match up | 05:05 |
lilstevie | it is a bit different to that | 05:06 |
lilstevie | your thing is wrong | 05:06 |
lilstevie | btw | 05:06 |
lilstevie | BCT must be ID2 PT needs to be 3 | 05:06 |
lilstevie | and the config starts from 2 | 05:07 |
twb | Thought you said I didn't need that stuff since I wasn't using android | 05:07 |
lilstevie | nonono | 05:07 |
lilstevie | if you read I said that is the bare minimum you must keep always | 05:07 |
twb | OK, sorry | 05:07 |
lilstevie | that is a requirement from the tegra2 | 05:07 |
twb | http://paste.debian.net/129315/ how about that | 05:08 |
lilstevie | ok better | 05:09 |
lilstevie | but | 05:10 |
lilstevie | still one more thing | 05:10 |
twb | Yeah? | 05:11 |
lilstevie | you need to wrap in a partition format | 05:11 |
lilstevie | for the partitions you want to have a /dev/mmcblk0px | 05:12 |
twb | Aaaah, that's how it gets to p8 being UBT in your one | 05:12 |
lilstevie | well it is p8 because it is the 8th partition after the GP1 | 05:13 |
lilstevie | count them :p | 05:13 |
twb | Yeah | 05:13 |
twb | I get that now | 05:13 |
twb | Do you also put LNX and SOS "inside" GP1/GPT, so that you can reflash them from within the TF101? | 05:14 |
twb | Or can flash-kernel(?) do that without a mmcblk0px ? | 05:14 |
lilstevie | yes that is the "blobs-be-gone" enhancement | 05:15 |
lilstevie | anything outside is a pita | 05:15 |
twb | OK, I think I get that | 05:16 |
twb | And if I calculate correctly, your purelinux.cfg leaves space at the end for 1MB more than the size of LNX+SOS+UBT -- is that the space required for the GPT partition? | 05:16 |
lilstevie | thats the placeholder space yes | 05:17 |
twb | OK. And you have GP1 and GPT because it's basically GPT-style partitioning, and that's why you're also passing "gpt" to the kernel in bootimg.cfg? | 05:18 |
lilstevie | yes | 05:18 |
lilstevie | the GPT on the command line is to force though | 05:18 |
twb | OK | 05:18 |
lilstevie | because the GPT at the end of the disk ALA traditional GPT doesn't actually work | 05:18 |
lilstevie | it needs to use the backup GPT which is located at GP1 | 05:19 |
twb | Is that because nvflash is fucked up, or what? | 05:19 |
twb | I mean: why is the end-of-disk GPT buggered | 05:19 |
lilstevie | yeah | 05:19 |
lilstevie | nvflash is badly put together | 05:19 |
twb | OK, I'm trying it now | 05:20 |
twb | Heh, no asus splash, it was going straight into APX mode and I didn't realize at first. | 05:23 |
twb | (My first upload failed because I told it to use EBT.bin but the file was called EBT.img.) | 05:23 |
lilstevie | heh | 05:24 |
twb | And again with recovery.img vs. SOS.img | 05:24 |
twb | It seems that after it bork borks, I need to reboot back into APX mode | 05:24 |
twb | lilstevie: could you use e.g. parted from inside the TF to fix the GPT partition? | 05:27 |
twb | Goddammit, OS.img is too large for partition | 05:27 |
lilstevie | oh yeah | 05:27 |
lilstevie | this is another issue due to how poorly nvflash is coded | 05:27 |
lilstevie | remove filename= from the config | 05:28 |
lilstevie | after the create go back into APX | 05:28 |
twb | and use --download? | 05:28 |
lilstevie | then --download | 05:28 |
lilstevie | yeah | 05:28 |
lilstevie | also no parted does not work | 05:28 |
twb | Is that because the validation thing doesn't check if size is 0x808'd ? | 05:29 |
lilstevie | due to the lack of pmbr | 05:29 |
lilstevie | correct | 05:29 |
twb | parted speaks GPT | 05:29 |
twb | Not just msdos I mean | 05:29 |
lilstevie | yeah parted speaks mbr but it likes a protective mbr | 05:29 |
twb | Oh right | 05:29 |
lilstevie | to let it know that it is GPT | 05:29 |
twb | Ooh | 05:30 |
twb | It rebooted and I got penguins and into initramfs prompt | 05:30 |
twb | It was even fast | 05:30 |
lilstevie | :) | 05:30 |
lilstevie | ok so now drop her back into APX | 05:31 |
lilstevie | and upload that nice osimg | 05:31 |
lilstevie | now, do you have a dock? | 05:31 |
twb | yeah | 05:31 |
lilstevie | ok | 05:31 |
twb | Can't hit volup fast enough anymore, it boots too quick :-/ | 05:31 |
lilstevie | hold volup and power | 05:32 |
lilstevie | not power then volup | 05:32 |
lilstevie | :) | 05:32 |
twb | oh, that kicks in *after* the penguins | 05:32 |
twb | I thought I had to hit power, then hold both while I had the asus splash logo | 05:32 |
lilstevie | nah | 05:32 |
lilstevie | bootrom man :p | 05:32 |
lilstevie | needs to detect that button within a few hundred miliseconds of the reset vector | 05:32 |
twb | I'm used to PCs where if you get penguins you have missed the boat | 05:32 |
lilstevie | so as long as both are triggered at the same time if not before power you are good | 05:33 |
twb | Oh fuck, I really shouldn't have done --download from within Emacs' terminal | 05:36 |
twb | I can see it writing each char of b y t e ... s | 05:36 |
lilstevie | lol | 05:37 |
twb | Hmm, it seems to be doing the writes themselves OK, though | 05:37 |
twb | It's done 10% of the 2GB already | 05:37 |
twb | Maybe nvflash is smart enough to STFU and write progress slowly if you have TERM=dumb or something | 05:37 |
twb | Am I write in thinking the eMMC is going to have a "modern" number of writes? | 05:38 |
lilstevie | yeah | 05:38 |
lilstevie | it is a toshiba nand | 05:38 |
twb | I mean, it's not like those really early MTD devices where you get like 100 writes and then you're fucked | 05:38 |
lilstevie | well at least on the 16GB one | 05:38 |
lilstevie | and a hardware drivven FTL | 05:38 |
twb | Yeah | 05:39 |
twb | Although it would be nice if I had an open implementation of the FTL, to go with Coreboot and OpenFirmware ;-) | 05:39 |
twb | 50% done | 05:40 |
lilstevie | heh | 05:40 |
lilstevie | well when we are looking at the FTL is so hw driven that the raw device is post processing | 05:42 |
twb | 100% done, now to reboot | 05:44 |
lilstevie | ./nvflash -r --go will work too | 05:44 |
twb | Can I issue a reboot via nvflash, or do I need to let the kernel- | 05:44 |
twb | Ahahahaha | 05:44 |
twb | It's refusing to work because the ext last-mount timestamp is in the future. | 05:45 |
lilstevie | lol | 05:45 |
lilstevie | you never booted android once did you? | 05:45 |
twb | Right | 05:45 |
lilstevie | RTC wasn't set :p | 05:45 |
lilstevie | you could always drop into single and run fs recovery though right? | 05:46 |
twb | Actually I did but then I reset it to factory defaults, and I couldn't get it on the network because I use WPA2 Enterprise, and I couldn't get it to recognize an ext2 SD card with the SSL cert on it | 05:46 |
twb | single ≠ break | 05:46 |
lilstevie | idk | 05:46 |
twb | I will try tho, because otherwise I need to reupload the whole rootfs again | 05:46 |
lilstevie | I have not had a problem with the RTC losing time though | 05:46 |
twb | oh nm I can just hit "stfu fsck, continue anyway" | 05:47 |
lilstevie | hah | 05:47 |
twb | I am so used to mountall just completely failing | 05:47 |
twb | esp. with diskless clients | 05:47 |
lilstevie | ah | 05:47 |
twb | Screen is nice and high-res compared to my 1005PE | 05:47 |
twb | The map part of ubuiquity still needs work tho, hard to pick melbourne instead of hobart or sydney with my chubby fingers | 05:49 |
lilstevie | so tsp is working? | 05:49 |
lilstevie | awesome | 05:49 |
twb | yeah single touch anyway | 05:49 |
lilstevie | heh I have skinny fingers and it is still hard to pick melbourne | 05:49 |
twb | The trackpad thing beneath the keyboard isn't | 05:50 |
lilstevie | yeah expected | 05:50 |
lilstevie | there is a patch for that somewhere in the thread on xda-devs | 05:50 |
twb | keyboard is, which is the importantest thing | 05:50 |
lilstevie | yeah | 05:50 |
lilstevie | keyboard works great | 05:50 |
lilstevie | keymap could do with a tweak | 05:50 |
lilstevie | which it does have in teh uboot kernel | 05:50 |
lilstevie | if you compiled from my 2.6.36.4 kernel though you have the important 2 | 05:51 |
lilstevie | esc, and ctrl | 05:51 |
twb | I'm currently just testing your pre-compiled kernel | 05:51 |
twb | The APX-flavoured one, not the u-boot flavoured one | 05:52 |
lilstevie | oh so you didn't compile your own? | 05:52 |
lilstevie | :p | 05:52 |
twb | Not yet | 05:52 |
twb | I think I want the CrOS one but then I need to learn about u-boot | 05:52 |
twb | And having my own rootfs is more important than my own kernel, at least until Debian starts pre-rolling them for me with everything =m | 05:53 |
twb | :-) | 05:53 |
lilstevie | heh yeah | 05:53 |
twb | Stupid password checker thinks passwords are weak unless they contain at least one uppercase character | 05:53 |
lilstevie | I already have tat | 05:54 |
lilstevie | but meh, bruteforcable passwords are not the issue that todays society faces | 05:54 |
lilstevie | it is password entropy :p | 05:54 |
twb | My old laptop has no password at all | 05:54 |
twb | If you want to log in remotely you have to use multifactor auth | 05:54 |
lilstevie | I use cert based authentication myself | 05:55 |
twb | One of the things I'm thinking about doing is LUKSing the user partition | 05:55 |
twb | And keeping the something-you-have on an SD card or something | 05:56 |
lilstevie | heh | 05:56 |
twb | Hmm, it's looking for /lib/modules/2.6.38-8-omap/modules.dep | 05:58 |
twb | When oem-config finishes I have a white bar down the left, presumably there are supposed to be apps there | 05:59 |
lilstevie | hmm you are using the ubuntu fs? | 05:59 |
lilstevie | the bar is white due to a bug in unity | 05:59 |
twb | ok | 06:00 |
twb | the apps take quite a while to come up | 06:01 |
twb | Even for gnome | 06:01 |
twb | Is it supposed to wake up from suspend? | 06:03 |
lilstevie | button | 06:04 |
lilstevie | the power one, push it | 06:04 |
twb | it didn't like it | 06:04 |
lilstevie | sometimes it glitches waking up though | 06:05 |
twb | Also the backlight was still on | 06:05 |
lilstevie | oh, that isn't suspend | 06:05 |
twb | I managed to power it off by holding the power button down | 06:05 |
lilstevie | that is just screensvaer | 06:05 |
twb | I put it into suspend by hitting power button and picking suspend frmo teh gnome-power-manager popup | 06:05 |
lilstevie | power management is up the creek though | 06:05 |
twb | Nod | 06:05 |
lilstevie | due to how android handles it vs. a real os | 06:05 |
twb | I remember all that wakup crap that android wanted to get into mainline | 06:06 |
lilstevie | wakelocks | 06:06 |
twb | ya | 06:06 |
lilstevie | the most god aweful system ever :p | 06:06 |
twb | yeah, well I'm not a fan of upstart or polkit/consolekit or udisks either :P | 06:07 |
lilstevie | heh | 06:07 |
twb | I guess i can expect at least 30% faster once I switch to armhf | 06:14 |
twb | I was talking to somebody yesterday and they said "so when you have the tablet part disconnected, how does the kb work... bluetooth?" | 06:17 |
twb | And damn that would be awesome if it did | 06:17 |
twb | In unity, where's the equivalent of the gnome preferences menu? | 06:20 |
lilstevie | well | 06:20 |
lilstevie | there isn't really one | 06:20 |
twb | the scrollbar in the gnome appearances pane is really fucking with my head, I can't work out how to make it scroll | 06:21 |
lilstevie | it is a bit odd to get used to | 06:22 |
twb | It's got a little thin bar instead of a scrollbar, and when I try to scroll on it, an up/down arrow thing appears, but doesn't seem to do anything | 06:22 |
lilstevie | hold the up/down arrow thing and drag it | 06:22 |
twb | OK I got it | 06:22 |
twb | That would give Fitts a fit. | 06:23 |
twb | Is that part of that libhildon stuff that nobody uses? | 06:23 |
lilstevie | no idea where it comes from but it is in unity | 06:23 |
twb | It's not smart enough to know it's upside-down, either | 06:25 |
StevenK | Unity does not make use of hildon | 06:26 |
twb | k | 06:26 |
twb | There should probably be an easy way to start onboard from within unity or gnome | 06:30 |
lilstevie | there is :p | 06:31 |
twb | Boy, I hope I can remap the magnifying glass to Alt_L | 06:31 |
lilstevie | twb: yeah look at my 2.6.36.4 kernel | 06:31 |
lilstevie | already done :p | 06:31 |
twb | That's what I'm running isn't it | 06:31 |
lilstevie | nah, the prebuilt one is the asus drop | 06:32 |
twb | But surely you can do it in /etc/default/kbd or so | 06:32 |
lilstevie | yeah | 06:32 |
lilstevie | you can edit the keymap too | 06:32 |
twb | Looks like the asus one has RT stuff in it too | 06:34 |
twb | That's what "PREEMPT" means, right? | 06:34 |
twb | What's /bin/adbd? | 06:35 |
lilstevie | adbd :p | 06:35 |
twb | Yeah but what is it. There's no manpage | 06:35 |
lilstevie | thats because it is from android | 06:36 |
lilstevie | android developer bridge daemon | 06:36 |
twb | And it's not provided from deb | 06:36 |
twb | Ew | 06:36 |
lilstevie | that is so people without a dock can get through ubiquity | 06:36 |
twb | Presumably it does something useful even when there's no android? | 06:37 |
lilstevie | yeah it allows usb connection using adb | 06:37 |
twb | Oh, it's an RPC listener to allow you to connect from other other- right | 06:37 |
twb | FYI, it's still running even after ubiquitity is done and a restart | 06:38 |
lilstevie | yeah, | 06:38 |
lilstevie | it is started every boot | 06:38 |
lilstevie | it does have more uses than just ubiquity | 06:38 |
twb | k | 06:38 |
twb | It just sounds to me like an attack vector | 06:39 |
lilstevie | heh | 06:39 |
twb | Gah, I'm so used to Caps being a control key | 06:39 |
twb | This is why I never learnt dvorak – too disonnant on random other devices | 06:40 |
twb | *dissonant | 06:40 |
lilstevie | twb: adbd may be an attack vector, but that is moot as you would already have the device in your hands :p | 06:43 |
twb | Yeah, I *mostly* agree with that | 06:46 |
lilstevie | adbd ONLY works over usb | 06:46 |
lilstevie | :p | 06:46 |
lilstevie | as it requires the kernel interface | 06:46 |
twb | resize2fs worked on the device, as expected | 06:47 |
twb | IOW I made a 2G image from your 4G one, uploaded that, then grew it to the full ~30GB | 06:47 |
lilstevie | yeah | 06:48 |
lilstevie | my new image is 2GB | 06:49 |
lilstevie | just need to get around to uploading it | 06:49 |
twb | Hmm, bluetooth doesn't work? | 06:57 |
twb | Hmm, in /sys/class/power I have ac, battery and usb | 07:00 |
twb | Where's the second battery? | 07:00 |
=== Jack87|Away is now known as Jack87 | ||
twb | Hmm, acpid isn't installed | 07:03 |
twb | lilstevie: when you build your kernels, do you use "make deb-pkg zImage" or what? | 07:31 |
lilstevie | twb: the second battery stats arent in all kernels | 07:48 |
lilstevie | bluetooth requires you to compile brcm_patchram_plus | 07:49 |
twb | Hum | 07:49 |
lilstevie | and no I just make CROSS_COMPILE= LOCALVERSION= BLAH= | 07:49 |
twb | On all the other Eee's I just leave this stuff to SynrG to get folded into the debian kernel :P | 07:49 |
lilstevie | and been using linaro packaging to get debs build | 07:49 |
twb | deb-pkg is handy because it gives you a deb with the =m .kos | 07:50 |
lilstevie | linaro packaging does too | 07:50 |
twb | Well, I'm done for today. | 07:57 |
twb | See you next weekend or so | 07:57 |
lilstevie | haha kk | 07:58 |
=== Quintasan_ is now known as Quintasan | ||
=== Jack87 is now known as Jack87|Away | ||
travalas | Hello, I'm trying to get networking up on a beagleboard-xM | 12:50 |
travalas | what is the recommended module | 12:50 |
travalas | ? | 12:50 |
=== tty234_ is now known as tty234 | ||
rsalveti | travalas: smsc95xx | 15:52 |
=== travalas_ is now known as travalas | ||
travalas | is anybody here using natty on a beagle board-xM rev C? I installed it and ethernet and usb doesn't work | 16:50 |
=== travalas_ is now known as travalas | ||
=== jussi01_ is now known as jussi | ||
=== travalas_ is now known as travalas | ||
=== axle is now known as sauerbraten | ||
=== michaelh1|away is now known as michaelh1 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!