**** BEGIN LOGGING AT Tue Jun 11 02:59:58 2013 **** BEGIN LOGGING AT Tue Jun 11 06:41:24 2013 Jun 11 10:42:13 hrw: ping? Jun 11 11:20:03 tgreer: pong Jun 11 11:36:58 hrw: tried setting that flag to Y Jun 11 11:37:02 but still getting the same issue Jun 11 11:37:38 was just wondering if you had any other tips Jun 11 11:38:25 although i ticked another few boxes so not sure if that made a mess or not Jun 11 11:39:02 Support for the traditional ATAGS boot data passing is selected Jun 11 11:39:06 Provide old way to pass kernel parameters Jun 11 11:39:07 is selected Jun 11 11:39:12 as is Supplement the appended DTB with traditional ATAG informati Jun 11 11:45:33 tgreer: but have you appended dtb to the kernel? Jun 11 11:45:42 er Jun 11 11:45:43 no idea Jun 11 11:45:45 how would i do that Jun 11 11:47:13 i think i can see the option for it in make menuconfig Jun 11 11:47:17 but no idea what to put Jun 11 11:47:49 tgreer: https://patchwork.kernel.org/patch/1432321/ Jun 11 11:51:34 hrw: so i need a dtbImage.... where would I get one of those? Jun 11 11:53:25 board-dt-tegra20.c << aha Jun 11 11:55:19 still no idea how to use it :( Jun 11 11:56:16 marvin24: you know Tegra more than I do. can you help tgreer? Jun 11 12:00:48 tgreer: make dtbImage? Jun 11 12:00:57 oh that simple? Jun 11 12:01:09 I usually attach it "by hand" Jun 11 12:01:16 so I don't know, but it seems like this Jun 11 12:01:33 marvin24: so what make dtbImage Jun 11 12:01:37 and then flash that to the bootloader Jun 11 12:01:42 or is that not the right image? Jun 11 12:01:51 ah, there is a .
Jun 11 12:02:15 tgreer: what do you want to do at all Jun 11 12:02:21 * marvin24 didn't read the backlog Jun 11 12:02:36 tegra 250 harmony development board Jun 11 12:02:48 trying to get an updated kernel on it to include pcie and the wifi drivers Jun 11 12:03:03 currently running 3.1.10-g1ff6b94 that came with ubuntu core Jun 11 12:03:40 got the latest kernel source from ubuntu's git repo Jun 11 12:04:09 i have 2 questions: which are the right options under Boot options in make menuconfig Jun 11 12:04:19 and the 2nd is what commands should I run to get the relevant file Jun 11 12:04:24 normally i do make menuconfig Jun 11 12:04:26 ubuntu has a tegra kernel? Jun 11 12:04:28 and then make zImage Jun 11 12:04:33 marvin24: the armhf kernel boots on it Jun 11 12:04:38 you have to make dtbs target Jun 11 12:04:53 and then cat arch/arm/boot/dts/tegra20-harmony.dtb >> zImage Jun 11 12:05:08 is that after i make zImage? Jun 11 12:05:09 or instead of Jun 11 12:06:00 at the same time ;-) Jun 11 12:06:04 blah Jun 11 12:06:05 make zImage dtbs Jun 11 12:06:20 marvin24: ok thanks Jun 11 12:06:24 before i make the image again Jun 11 12:06:33 was just wondering if you could confirm if i have the right options ticked Jun 11 12:06:39 this dtbImage isn't upstreamed as it seems Jun 11 12:07:01 i will be documenting ALL of the things once i get it working Jun 11 12:07:06 tgreer: make tegra_defconfig should give you a usable config Jun 11 12:07:45 okay Jun 11 12:07:54 will just double check it has the right bits in it for pci-e and then boom we're on Jun 11 12:10:00 okay make zImage dtbs -j2 running just now Jun 11 12:10:05 and then will do the cat Jun 11 12:10:10 all going well i owe you some beer Jun 11 12:10:17 :) Jun 11 12:12:01 does you board run uboot or fastboot loader? Jun 11 12:12:47 fastboot Jun 11 12:13:17 the nvidia dev kit instructions to load u-boot onto it just make it KO Jun 11 12:13:28 tgreer: in this case you need to modify the tegra_defconfig defaults Jun 11 12:13:42 e.g. appended_dtb you know already Jun 11 12:13:55 damnittttt Jun 11 12:14:10 making clean and starting again Jun 11 12:14:16 no need to clean Jun 11 12:14:18 so set appended dtb to y Jun 11 12:14:20 and thats it? Jun 11 12:14:41 I think you also need COMPAT_ATAGS Jun 11 12:14:46 mmh, maybe not Jun 11 12:14:53 that's only for 3.1 and uboot Jun 11 12:15:05 ok set appended_DTB Jun 11 12:15:14 starting compiling again Jun 11 12:15:18 also ccache helps speedup kernel builds Jun 11 12:15:20 (for the record I'm not cross compiling) Jun 11 12:15:37 Supplement the appended DTB with traditional ATAG information (ARM_ATAG_DTB_COMPAT) [N/y/?] (NEW) Jun 11 12:15:42 i'm getting propmpted for this Jun 11 12:15:45 fastboot isn't really supported on mainline Jun 11 12:16:00 tgreer: answer no for now Jun 11 12:16:08 okdaydoke Jun 11 12:16:28 mainline doesn't have atags Jun 11 12:16:59 is there a better kernel tree to use instead of the generic ubuntu one? Jun 11 12:17:22 I think the ubuntu kernel doesn't compile at all on arm, I mean the 3.10 one Jun 11 12:17:33 at least not last time I tried Jun 11 12:18:08 but that's because mainline is broken for multisoc Jun 11 12:18:21 tgreer: just try and find out Jun 11 12:18:39 tgreer: I have CONFIG_ARM_ATAG_DTB_COMPAT set in my config btw Jun 11 12:18:47 mainline broken for multisoc ? Jun 11 12:18:59 we ship it with multisoc Jun 11 12:19:05 well, mutlisoc + enabling all kinds of modules Jun 11 12:19:08 in 3.10 Jun 11 12:19:14 for armadaxp, omap and highbank iirc Jun 11 12:19:16 (the saucy kernel) Jun 11 12:19:24 they are not build I guess Jun 11 12:19:29 at least now two weeks ago Jun 11 12:19:38 hmm, i thought they were Jun 11 12:19:52 marvin24: ok will try it without Jun 11 12:20:00 ogra_: some fixes are already upstreamed Jun 11 12:20:06 but I guess not all will make it in Jun 11 12:20:26 tgreer: you won't be able to supply kernel command line without Jun 11 12:20:32 or you need to compile in a command line Jun 11 12:20:33 well, i guess the kernel team will maintain them as sauce patches then Jun 11 12:20:44 yes, sad enough Jun 11 12:20:59 and aim for the next merge window for upstreaming Jun 11 12:21:00 marvin24: do i need to? Jun 11 12:21:25 marvin24: i dont supply any kernel command lines at the moment Jun 11 12:21:55 tgreer: well, you won't get far I think without (e.g. no root), but you can try Jun 11 12:22:20 hmmm Jun 11 12:22:27 ok will just stop and add it Jun 11 12:22:40 do you have hdmi output connected? Jun 11 12:22:53 (or a serial console) Jun 11 12:22:56 serial console Jun 11 12:23:01 no hdmi output working yet Jun 11 12:23:14 yes, serial console should work Jun 11 12:23:17 so added in CONFIG_ARM_ATAG_DTB_COMPAT=y Jun 11 12:23:18 hdmi should also work btw Jun 11 12:23:26 marvin24: getting nothing out on it currently Jun 11 12:23:33 but that's next on my hitlist... Jun 11 12:23:43 do i need to add anything else into the .config Jun 11 12:23:43 you will need fbcon and friends enabled in your config Jun 11 12:23:52 for hdmi Jun 11 12:23:58 tegra_defconfig should have them already Jun 11 12:23:59 i need what? Jun 11 12:24:10 framebuffer console Jun 11 12:24:10 neither of them are in the .config Jun 11 12:24:23 oh, it doesn't ;-) Jun 11 12:24:31 lets make menuconfig Jun 11 12:24:32 and find them Jun 11 12:24:39 where abouts are they Jun 11 12:24:49 device drivers ... graphics devices Jun 11 12:25:21 also take a look at character devices, youo want virtual terminals ... (i.e. if the config pmes originally from android thats always off) Jun 11 12:25:27 *comes Jun 11 12:25:30 they're enabled Jun 11 12:25:35 <*> Framebuffer Console support Jun 11 12:25:45 as is <*> NVIDIA Tegra DRM Jun 11 12:26:26 maybe I was looking at the wrong branch Jun 11 12:27:24 * tgreer gets some air while it compiles Jun 11 12:27:28 i shall report back in when done Jun 11 12:27:43 thanks ogra_ marvin24 and hrw Jun 11 12:36:05 gl Jun 11 13:08:11 compiled :D Jun 11 13:11:51 moment of truth :) Jun 11 13:12:08 yuuussssssssssssss Jun 11 13:12:10 kernel booting :) Jun 11 13:12:34 root@tegra:~# uname -r Jun 11 13:12:34 3.8.13 Jun 11 13:12:36 WOOOOp Jun 11 13:12:37 concrats!# Jun 11 13:12:53 annoyingly i dont see the wireless card though Jun 11 13:13:09 you need to build the modules Jun 11 13:13:21 oh Jun 11 13:13:23 and install on mmc before booting Jun 11 13:13:41 i thought when it was * it was build directly into the kernel Jun 11 13:13:42 not as a module Jun 11 13:14:12 well, wifi cannot be in the kernel because it needs firmware Jun 11 13:14:15 damnit Jun 11 13:14:46 maybe this changed today, but I don't know Jun 11 13:14:57 ah right ok Jun 11 13:15:44 but the drivers in the kernel tree these days? Jun 11 13:16:58 │ │ <*> Atheros mobile chipsets support │ │ Jun 11 13:17:01 │ │ <*> Atheros ath6kl SDIO support │ │ Jun 11 13:17:04 │ │ <*> Atheros ath6kl USB support │ │ Jun 11 13:17:07 │ │ [*] Atheros ath6kl debugging Jun 11 13:17:09 they should Jun 11 13:18:01 root@tegra:~/ubuntu-raring# modprobe ath6kl Jun 11 13:18:01 libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.8.13/modules.dep.bin' Jun 11 13:18:21 yes, no modules installed Jun 11 13:18:24 derp Jun 11 13:18:37 copy them to a usb drive Jun 11 13:18:47 if you have usb-storage compiled in Jun 11 13:18:49 i havent built the modules Jun 11 13:18:50 also Jun 11 13:18:55 make modules ... Jun 11 13:18:56 all the kernel compilcation is on the live SDcard Jun 11 13:19:02 making it just now Jun 11 13:19:22 ah, lucky you Jun 11 13:23:28 do i need to do a make moduleinstall or something? Jun 11 13:24:12 make modules_install it seems Jun 11 13:27:01 usbcore: registered new interface driver ath6kl_usb hmmm Jun 11 13:31:53 you mentioned firmware... should i stick that in lib/firmware/ar6000? Jun 11 13:32:01 yes Jun 11 13:33:15 righto. so it cant be in the kernel because it needs firmware... so i should rebuild the kernel without that module in it... Jun 11 13:33:20 have it as an actual module Jun 11 13:33:24 and then modprobe it to get it in? Jun 11 13:33:31 it should auto probe Jun 11 13:33:48 so all should work as it is now Jun 11 13:33:59 right just by putting the firmware in the right place? Jun 11 13:34:19 if you installed linux-firmware it should be there already Jun 11 13:34:30 er dont think i have.. Jun 11 13:34:32 check the dmesg, maybe you find some hint Jun 11 13:34:42 it should be automaticly installed Jun 11 13:35:15 usbcore: registered new interface driver ath6kl_usb is the only mention of it Jun 11 13:36:08 nothing before that line? Jun 11 13:36:23 do you have /lib/firmware/ath6k/AR6004 ? Jun 11 13:36:42 no.. but then i didnt have linux firmware... i had the firmware from the nvidia devkit Jun 11 13:36:47 let me install linux firmware and try again Jun 11 13:37:00 well, both should work Jun 11 13:37:16 root@tegra:~# ls /lib/firmware/ath6k/AR600 Jun 11 13:37:17 AR6003/ AR6004/ Jun 11 13:37:22 i think mine is a 6002 Jun 11 13:37:28 i'll put my ar6002 folder in there Jun 11 13:39:15 only mention of ath is in: usbcore: registered new interface driver ath6kl_usb Jun 11 13:39:28 maybe you are still missing something Jun 11 13:46:52 no luck with the wifi... Jun 11 13:46:57 any ideas on getting hdmi out to work Jun 11 13:47:09 Error: Can't open /dev/nvhost-ctrl Jun 11 13:47:09 Opening channel failed 7 Jun 11 14:13:29 tgreer: that's old userspace Jun 11 14:13:44 you need to remove it and install opentegra Jun 11 14:14:26 what's the output of lsusb? (to some pastebin please) Jun 11 14:16:27 http://pastebin.com/GS6GqNsT Jun 11 14:17:01 tgreer: there is no usb wifi Jun 11 14:17:14 only the 3g modem Jun 11 14:17:16 i've noticed.. Jun 11 14:17:23 also: https://launchpad.net/~ac100/+archive/ppa/+build/4306566 << this one? Jun 11 14:17:52 yes Jun 11 14:18:24 https://wiki.ubuntu.com/ARM/TEGRA/AC100#Hardware says to use nvidia-tegra Jun 11 14:18:37 The nvidia-tegra package is not yet available for armhf. For now, just stay with the default open source driver. Jun 11 14:18:40 ignore me Jun 11 14:20:58 tgreer: the nvidia tegra package is for downstream kernels only (v3.1) Jun 11 14:21:04 ahhh Jun 11 14:21:09 removing and adding opentegra Jun 11 14:21:09 mainline uses a totally different driver (open source) Jun 11 14:23:24 damnit Jun 11 14:23:26 libudev0 is needed Jun 11 14:23:30 and isnt in raring packages Jun 11 14:28:31 Nope, you can fish it out of quantal, if you really need it. Jun 11 14:28:43 oh its in raring-proposed it seems Jun 11 14:28:48 But if you run into upstream binaries that link libudev0, please yell at them to recompile. Jun 11 14:29:14 If it's in raring-proposed, that's NBS cruft, and I'll remove it. :P Jun 11 14:29:34 its not Jun 11 14:29:37 its gone now Jun 11 14:29:52 its the opentegra package thats linking it Jun 11 14:30:52 Where does this opentegra come from? Jun 11 14:31:36 https://launchpad.net/~ac100/+archive/ppa Jun 11 14:31:39 only place i can find it Jun 11 14:32:47 Oh, a simple rebuild might fix that. Jun 11 14:32:57 marvin24: Want to rebuild that PPA upload? :P Jun 11 14:34:09 tegra-hdmi hdmi: cannot set audio to 44100 at 81620000 pclk Jun 11 14:34:12 well thats progresss Jun 11 14:34:39 tgreer: rebuild for saucy? Jun 11 14:34:50 tgreer: that's harmless Jun 11 14:35:22 marvin24: The libudev0 -> libudev1 transition happened in raring, you probably want to rebuild https://launchpad.net/~ac100/+archive/ppa/+build/4307597 Jun 11 14:35:51 marvin24: yes harmless Jun 11 14:35:53 infinity: I think I build on raring, should I change depends Jun 11 14:35:55 but still not output on hdmi Jun 11 14:36:09 marvin24: You built on raring, but before the transition. A no-change rebuild should fix it. Jun 11 14:36:21 ok Jun 11 14:37:30 xrandr gives me Can't open Display Jun 11 14:37:50 marvin24: do you have an example xrandr? Jun 11 14:38:06 tgreer: check Xorg.0.log first Jun 11 14:40:45 infinity: sorry, how to rebuild - I cannot find it in the web interface, do I need to bumb the version? Jun 11 14:41:15 marvin24: Yeah, bump the version and reupload. Jun 11 14:42:11 dch -i 'No-change rebuild for the libudev0 -> libudev1 transition.' Jun 11 14:42:11 * marvin24 really hates launchpad for you cannot replace a package version ... Jun 11 14:42:21 That's a feature, not a bug. :P Jun 11 14:42:34 * marvin24 hates this "feature" Jun 11 14:42:41 Having two different packages with the same filename/version is generally a Bad Thing. Jun 11 14:42:47 I know Jun 11 14:42:53 but I still hate it ;-) Jun 11 14:43:00 Heh. Jun 11 14:49:55 http://pastebin.com/raw.php?i=h0iu2j4B Jun 11 14:49:58 output from startx Jun 11 14:57:46 tgreer: looks fine Jun 11 14:57:57 what kind of device is this "800x480" with hdmi? Jun 11 14:58:00 except nothing on display Jun 11 14:58:04 its a small touchscreen device Jun 11 14:58:07 change the console Jun 11 14:58:28 i need a keyboard for that Jun 11 14:58:35 chvt maybe Jun 11 14:59:50 btw, you can get rid of all the command line parameters except root= and rootwait Jun 11 15:00:06 they are all downstream kernel specific Jun 11 15:00:26 and console=ttyS0 of course Jun 11 15:02:55 still 0 on display Jun 11 15:02:58 its showing as no input Jun 11 15:03:04 if i plug it into my laptop works fine Jun 11 15:05:21 tgreer: hdmi is not hotplug capable yet Jun 11 15:05:25 did you rebooted? Jun 11 15:05:49 hmm yes but i'll try again Jun 11 15:06:34 maybe adding cma=64M may also help, but I think this is only required for large screens Jun 11 15:08:28 <.< Jun 11 15:08:31 let me try vga.. Jun 11 15:09:14 still no signal :( Jun 11 15:10:24 tgreer: paste output of dmesg Jun 11 15:11:23 http://pastebin.com/CB6AFbkE Jun 11 15:12:55 i wonder if video=tegrafb is the issue Jun 11 15:13:08 remove it Jun 11 15:13:16 remove everything not needed Jun 11 15:13:23 i dont know where thats set.. Jun 11 15:13:47 something which created the bootimg Jun 11 15:13:54 mkbootimg ? Jun 11 15:15:00 vdd_ldo7,avdd_hdmi: disabling Jun 11 15:15:05 vdd_ldo8,avdd_hdmi_pll: disabling Jun 11 15:15:23 that's bad Jun 11 15:16:29 so remove videospec Jun 11 15:17:09 I'm off for now, but will come back in a few hours ... Jun 11 15:17:17 ok will try it without videospec and see what happens Jun 11 15:20:47 made no diff Jun 11 15:38:06 blahhragggeeeeeeeee Jun 11 15:43:10 would i be better off with u-boot as my bootloader? Jun 11 15:43:24 seems the fastboot binary has those details hardcoded Jun 11 15:50:41 this is so complex... tried changing the fastboot.bin and still same kernel command lines Jun 11 18:04:14 tgreer: how do you flash the kernel? Jun 11 18:04:31 using the flash.sh included in the nividia sdk Jun 11 18:19:36 tgreer: so I guess you need to edit this one **** ENDING LOGGING AT Wed Jun 12 02:59:58 2013