/srv/irclogs.ubuntu.com/2009/10/15/#ubuntu-arm.txt

loolNCommander: I uploaded a partman-uboot using -I 128 instead of -b 4096; no idea where you got that from10:58
ogralool, banshee still doesnt work for me, though it comes up completely now and doesnt kill the UI anymore ... stays unresponsive though12:50
* ogra is just dist upgrading ... probably that fixes something12:51
loologra: Could you confirm the bug I filed?13:01
loolhttps://bugs.launchpad.net/ubuntu/+source/boo/+bug/45206613:02
ubot4Launchpad bug 452066 in boo "libboo2.0-cil fails to install on armel" [Undecided,New]13:02
ograyou filed a new one ?13:02
ograwill do once the upgrade is through13:02
ograoh, it didnt hang for me13:02
ograhal start/running, process 187113:05
ograRichte libboo2.0-cil ein (0.8.2.2960+dfsg-1) ...13:05
ogra* Installing 7 assemblies from libboo2.0-cil into Mono13:05
ograRichte libmono-zeroconf1.0-cil ein (0.9.0-1) ...13:05
ogra* Installing 5 assemblies from libmono-zeroconf1.0-cil into Mono13:05
ogralool, ^^^13:05
loolI suspect some cache is preventing the issue; it didn't hang for me on second try13:06
ogralool, so what do i do with the new redboot, it completely drops B1 (while our current package has still the B1 binary available)13:12
* ogra isnt sure we want to completely drop it13:12
loologra: I dont strongly care13:53
loologra: there are some B1 out there, but then mine has been collecting dusts in the last months13:53
loolIt's not running anymore since it was only running from SD13:53
loologra: So if you feel like readding B1 support or forking the package/tree, you could; I suspect post karmic we really dont care anymore13:54
loolWe only cared because we copy them in our install media, and we dont have any for B113:54
loologra: Unless you want to add SD card images for B1 in d-i?13:54
xboxHi there is there a way to "put " the capacity of my USB1.1 device to 10 mb/s instead of 1.2mb/s by using other or different parameters for ehci_hcd andor ohci_hcd module?14:01
xboxany help and or suggestions is appriciated14:02
ogralool, well, redboot-install can still use it14:25
ograthough there is no kernel in karmic anyway14:25
loologra: redboot-install can use any binary, right?14:27
loologra: so it could use a binary from jaunty, or from an older karmic .deb or from FSL or locally built14:27
ograyep14:27
ograindeed14:27
ograjust needs to be unpadded14:28
loolI dont think we need to bother providing B1 support if it's at the expense of a lot of time spent on that job or lesser B2.x support14:28
loolBut I can't really say how long it would be14:28
loolIf it's easy to keep B1 support, keep it14:28
ograwell, i just wouldnt upgrade14:31
ograthere are three fixes th the new redboot though14:31
ogra   + Update the DDR setup for MX51 TO 3.0 on 3-stack platform14:32
ogra   + Drop support for MX51 Babbage 1.0 & MX51 Rocky14:32
ogra   + Fix the I2C driver14:32
ogra   + Update the DDR setup for MX51 Babbage Platform14:32
loolit gets us 3.0 support IOW14:32
loolSo between B1 and B3 support I'd personally pick 3,014:32
ograwe have 3.0 support already14:32
loolespecially since 3.0 works with out kernels already!!14:33
loolYeah14:33
ograit just improves DDR and I2C handling14:33
armin76babbage 3.0?14:34
loolyup14:34
* armin76 volunteers to get used 2.0 and 1.0 babbage :P14:35
ograhmm, i wonder why xplash seems to init the audio device14:37
ograi hear a clear power-on cracking in the headphones when xsplash comes up14:37
playya_to hear the jeopardy music while booting?14:38
playya_s/music/melody/14:38
ograheh14:40
ograno, it needs to be either knight rider ot the galactica theme :)14:40
ogralool, so even after upgrade banshee shows the same behavior ... but at least the vorbis errors are gone in the debug output14:41
ograon a sidenote i'm playing radio in RB and pulse doesnt seem to go above 5-9% CPU usage ... that contradicts what i always hear from FSL (pulse eats all CPU)14:43
amitkogra: I changed the code to overclock the CPU. It'll burn out as soon as support ends. :-p14:45
ograhaha14:45
ograwell, until then it makes a fine radio :)14:45
* amitk wants to see ogra carry that board around in his pocket14:46
ograjust needs a long power cable14:47
ograhmm, and ethernet ...14:47
suihkulokkibig, esd-protected pocket?14:49
ograwell, i think i'll stay with my n900 rather14:49
ograamitk, so i just tried to test your kernel from the I/O bug14:55
ograand get an oops right after unpacking14:55
amitkogra: pastebin?14:56
ograjust attaching serial14:57
ograamitk, http://paste.ubuntu.com/293984/14:58
NCommanderlool,  I think I wrote -I 128 on te wiki page by accident over -b 4096 when I went through all my IRC logs. I'll re-ask maen on this today to confirm14:59
NCommanderbbiab14:59
loolNCommander: You mean the other way around15:00
loolNCommander: maen confirmed in a recent bug15:00
amitkogra: nice, it didn't seem to like FSL's recommendation of turning off OTG15:03
amitkinfact, even their defconfig keeps it on (which is what I used for our configs)15:05
ogralool, hmm, doesnt look like slangasek likes the idea of a redboot upload15:32
ogra(see -release)15:33
bjfmaen, ping15:36
ogralool, do you have any news from Jamie about cdrdao ?15:47
ograits still FTBFS15:47
loolNo15:48
loologra: I think he has limited connectivity15:48
ograyeah, he said something about CELF15:49
ograi'm just worried we dont get it fixced in time15:49
zookoHey, does anybody want to write a little bit of ARM assembly for me?  I want an optimized implementation of http://cubehash.cr.yp.to/ .  Pretty please?16:50
loolmaen: Hola16:53
loolbjf: Pole16:53
lool*poke16:54
bjflool, here16:54
loolmaen: So checkout https://launchpad.net/ubuntu/+source/linux-mvl-dove16:54
loolmaen: In the last upload, bjf rebased the dove tree on the latest stable updates from upstream16:54
lool(kernel.org)16:54
loolmaen: He did not change anything dove specific16:54
loolBut that regressed on Y0 with DDR216:54
loolY1 and Y0 with DDR3 (what he had) still work16:55
loolhttps://bugs.launchpad.net/ubuntu/+source/linux-mvl-dove/+bug/45094016:55
ubot4Launchpad bug 450940 in linux-mvl-dove "Regression in linux-mvl-dove 207 and later causes Y0 boards to hang seconds after booting" [High,In progress]16:55
loolThats the regression16:55
bjflool, as far as I know we only have one Y0 with DDR3 and even our Y1s only have DDR216:56
loolYes, correct16:56
loolbjf: "Y1, and Y0 with DDR3" is what I meant16:56
bjflool, gotcha16:56
loolI mean I dont want to speak for the memory config of Y1 we use, but they work :)16:56
maenHey lool17:02
maenregarding Dove Y0 hang17:02
loolYeah17:03
loolWe only updated the kernel17:03
maenin latest patches we have pushed to git, we have enabled cpuIdle by default17:03
loolWhich is why I dont understand why it would be related to hw setup17:03
loolmaen: I dont think we merged these though17:03
loolbjf: ^17:03
maenI will explain , please be patient17:04
loolNCommander: You had the issue too, plesae follow discussion here17:04
loolmaen: Don't worry, just getting the attention of the relevant people17:04
lool(*I* dont see the bug)17:04
maenDove Y0 original BOOTROM has a bug with deepIdle PM mode17:04
bjfmaen, when were these changes pushed to git?17:05
lool18:04 < NCommander> lool, rtg, bjf successful start and login with 208 kernel  to the desktop17:05
lool18:04 < NCommander> The problem completely goes away if you flash a new bootrom17:05
* NCommander guess lool said it for me17:05
bjflool, wow!17:05
loolNCommander: So we need to update the install process to cover this17:05
loolmaen: Thanks17:06
bjfmaen, thanks17:06
NCommanderlool, if future kernels though are tied to newer BootROM updates, then we need a mechanism to update the ROM on the fly17:06
loolNCommander: please comment in the bug17:06
maenso for Dove Y1 all boards are released with a new BOOTROM already so you will not have this issue17:06
maenfor Dove Y0 you should update the bootrom17:06
loolNCommander: and point the bug at instructions to upgrade the BOOTROM when you have them on the wiki17:06
maenlatest comment, please read release notes17:06
loolNCommander: I dont think it's a reasonnable seem to update the bootrom automatically17:07
loolI prefer a documentation fix here17:07
maenbtw, for the new U-Boot that we will release for you next week I hope with Hush Parser script, we also will release a new BOOTROM17:07
maenthis BOOTROM will support boot from UART with DDR3 support17:07
loolmaen: Is it required to update to this new bootrom?17:07
maenNCommander will need it for UART boot with boards that have DDR317:08
maenIt also will fix some issues with NAND boot17:08
maenso I recommend you use it17:08
NCommanderbjf, care to test the upgrade BootROM fix before I rewrite all our docs? (I'll also be moving to standardize us to SPI booting again)17:08
bjfNCommander, you want to give me the steps that you want to put into the docs and i can run through them and verify?17:09
bjfNCommander, sounds good to me17:09
NCommanderbjf, change SW7 on your board to boot from SPI versus NAND17:09
bjfNCommander, ok, you already have that documented, just a sec17:10
NCommanderbjf, then powercycle the board into marvell's u-boot17:10
loolmaen: Ok17:10
bjfNCommander, ok, i'm there17:11
NCommanderbjf, http://people.canonical.com/~mcasadevall/dove/experimental/dove_bootrom_2_01_spi_0x1.img - dump this into your TFTP folder17:12
bjfNCommander, done17:13
NCommanderbjf, tftp 2000000 dove_bootrom_2_01_spi_0x1.img17:14
NCommanderprotect off f87f0000 f880000017:14
NCommandererase f87f0000 f880000017:14
NCommandercp.b 2000000 f87f0000 1000017:14
NCommanderprotect on f87f0000 f880000017:14
bjfNCommander, will take just a sec, tftp not config'd correctly on dove17:15
NCommanderbjf, In case your wondering, the magic numbers here describe where the BootROM on SPI is loaded from; specifically the very tail end of the chip which is normally write protected. The reset strap controls if the SoC uses the SPI bootrom or not17:16
bjfNCommander, reset strap?17:16
NCommanderbjf, thats what the Marvell calls SW:1-5, which controls where the SoC tries to load the IPL17:17
NCommander&SW7:1-517:17
bjfNCommander, ok17:17
bjfNCommander, all done, what's next17:18
NCommanderbjf, reset and pray17:18
NCommanderbjf, if you were successful, there should be a new boot message in u-boot17:19
bjfNCommander, I change SW7 back to NAND right?17:19
NCommanderbjf, no17:19
NCommanderbjf, right, ok, we need to install the new bootloader to SPI17:19
NCommanderbjf, basically, BootROMs need to match where your booting from. So a BootROM for SPI, BootROM for NAND17:19
NCommanderetc.17:19
loolNCommander: https://bugs.launchpad.net/ubuntu/+source/linux-mvl-dove/+bug/435151 updated17:19
ubot4Launchpad bug 435151 in linux-mvl-dove "dove kernel requires mem=512M to use all available memory" [Low,Triaged]17:19
loolNCommander: please test with latest uboot and without mem=512m17:20
NCommanderbjf, since we need to use SPI u-boot for Y1, I want to move to that on Y0, and save us all a lot of confusion17:20
loolNCommander: should wokr on all Y0s and Y1s17:20
NCommanderlool, k17:20
NCommanderbjf, let me just upload a new u-boot binary for you to flash17:20
bjfNCommander, where should I see a new boot message?17:20
NCommanderbjf, BootROM version (on chip)= 1.0717:20
NCommanderBootROM version (upgrade on SPI)= 2.0117:20
NCommanderbjf, just before the countdown to run the bootcmd17:20
loolplars: I'd also love you testing dropping the mem=512m thing if you have latest uboot17:21
lool(I dont but should)17:21
loolplars: https://bugs.launchpad.net/ubuntu/+source/linux-mvl-dove/+bug/43515117:21
ubot4Launchpad bug 435151 in linux-mvl-dove "dove kernel requires mem=512M to use all available memory" [Low,Triaged]17:21
plarslool: yes, I had planned to, I just got the latest from NCommander yesterday17:22
bjfNCommander, I'm just not seeing it (the BootROM version)17:23
bjfNCommander, I see a BootROM Status:17:23
NCommanderbjf, what is SW7 set at17:23
NCommanderif SW1 is off, it will disregard the BootROM in SPI17:23
bjfNCommander, SPI17:23
NCommanderbjf, might just need a new u-boot binary in SPI. That's probably the stock one17:24
NCommanderbjf, grab this: http://people.canonical.com/~mcasadevall/dove/experimental/y0/uboot-SPI-Y0-512M-10152009.bin17:24
NCommanderbjf, and then bubt uboot-SPI-Y0-512M-10152009.bin17:24
NCommanderPress Y to reset the environment when prompted17:24
bjfNCommander, ok, that helped:17:25
* armin76 wants dove17:25
bjfBootROM version (on chip)= 1.0717:26
bjfBootROM version (upgrade on SPI)= 2.0117:26
NCommanderbjf, try booting now17:26
bjfNCommander, switching SW7 back to NAND and then booting right?17:26
NCommanderbjf, no, leave it on SPI17:26
NCommanderbjf, the SW7 just says where u-boot is loaded from, and I want to standardize Y0 and Y1's bootloaders17:27
bjfNCommander, gotcha17:27
bjfNCommander, looks like it's trying17:27
NCommanderbjf, \o/17:27
bjfNCommander, have desktop, however this is still an old kernel, so I'm going to dist-upgrade and see how that goes17:28
NCommanderbjf, at least its not a brick ;-)17:29
NCommanderbjf, did it manage to boot a 208 kernel from the desktop?18:04
maenNcommander/lool , start of next week we will release a new U-Boot that will support Ubuntu boot script, and ext2 patch from the mainline, and will include a new BOOTROM binaries, I need that you test it asap and let us know if it is good for you, that should be Sunday or Monday18:05
bjfNCommander, I'm just going to boot 207 first...18:05
NCommandermaen, are BootROM binaries going to be a usual upgrade thing from here on out?18:05
maenthis should be the latest upgrade before next dove revision.18:06
NCommandermaen, is that X0?18:06
maenbut if we will find any issue we will upgrade the boorom again18:06
maenYes that is X018:06
NCommandermaen, is there a sane way to upgrade the BootROM on SPI from userland?18:07
bjfNCommander, 207.15 booted up just fine18:08
NCommanderbjf, \o/18:08
maenNcommander, with some effort that is possible, but it is not on our list of todo18:09
NCommandermaen, thats what I thought18:09
NCommandermaen, do you know if a Y[0-1] kernel will work on a X0 or too early to tell?18:10
loolmaen: We dont work on sunday though18:11
loolmaen: but we might be around nevertheless18:11
ograhaha18:11
* NCommander notes that ones Sunday availability is directly proportional to ones life18:12
NCommanderAKA, I'll be here :/18:12
maenNcommander, I am not sure if Y0/1 kernel will work on X018:13
NCommander^- lool18:15
loolmaen: So machine id will change?18:15
loolNCommander: Anyway, not a big deal for us anyway18:15
loolNCommander: Did you ever try kexec on dove?18:15
* NCommander coughs18:15
loolNCommander: Did you ever try kexec on dove?18:15
NCommanderlool, don't remember if I did or didn't18:16
bjfNCommander, 208.16 boots, just need to figure out what the usb issue is18:16
NCommanderbjf, might be pendrive related.18:16
NCommanderlool, well, it could be an issue if we want to support Y series and X series at the same time since we then need a new method of telling them apart18:17
loolNCommander: We only care about differing /proc.cpuinfo Hardware info18:19
NCommanderlool, which is if the kernel will change I hope the /proc/cpuinfo (aka ARM mach_id) changes18:20
* NCommander is only partially sure that the Hardware field comes fromt he SoC though18:21
maenlool, machine id will depend if we will have a new board for X0 or not, and if we have the same board then if we can support both revisions in runtime or compilation time18:27
maenlool, lets wait and see18:27
NCommandermaen, w.r.t. to getting memory info from u-boot, without mem=512M, only about 381M is used18:28
NCommandermaen, on a 1CS board. a 2CS board uses ~850M18:28
maenyes because of memory allocated for Graphics and Video18:29
maenif you are not supporting graphics in your release you can disable this18:29
NCommandermaen, ??? but setting mem=512M allows full use of RAM with graphics, without issue.18:31
maenyes thats right, but then graphics will use kernel memory and you graphics will not work18:32
maenso if you are not using graphics, it is better to disable graphics and Video18:34
maendiff --git a/arch/arm/configs/dove_defconfig b/.config18:34
maenold mode 10075518:34
maennew mode 10064418:34
maenindex 2d0fa70..3859fed18:34
maen--- a/arch/arm/configs/dove_defconfig18:34
maen+++ b/.config18:34
maen@@ -1,7 +1,7 @@18:34
maen #18:34
maen # Automatically generated make config: don't edit18:34
maen # Linux kernel version: 2.6.30.4-dove-3.2.018:34
maen-# Sun Oct 11 14:53:15 200918:34
maen+# Thu Oct 15 19:16:33 200918:34
maen #18:34
maen CONFIG_ARM=y18:34
maen CONFIG_SYS_SUPPORTS_APM_EMULATION=y18:34
maen@@ -1571,8 +1571,7 @@ CONFIG_USB_S2255=m18:34
maen # CONFIG_DRM is not set18:34
maen # CONFIG_VGASTATE is not set18:34
maen # CONFIG_VIDEO_OUTPUT_CONTROL is not set18:34
maen-CONFIG_DOVE_GPU=y18:34
maen-CONFIG_DOVE_GPU_MEM_SIZE=12818:34
maen+# CONFIG_DOVE_GPU is not set18:34
maen CONFIG_FB=y18:34
maen # CONFIG_FIRMWARE_EDID is not set18:34
maen CONFIG_FB_DDC=y18:34
maen@@ -2098,9 +2097,7 @@ CONFIG_UIO_PDRV=y18:34
maen # CONFIG_UIO_SMX is not set18:34
maen # CONFIG_UIO_AEC is not set18:34
maen # CONFIG_UIO_SERCOS3 is not set18:34
maen-CONFIG_UIO_DOVE_VMETA=y18:34
maen-CONFIG_UIO_DOVE_VMETA_MEM_SIZE=9618:34
maen-CONFIG_VMETA_NEW=y18:35
maen+# CONFIG_UIO_DOVE_VMETA is not set18:35
maen # CONFIG_STAGING is not set18:35
maen #18:35
NCommander^- bjf, lool.18:35
bjfNCommander, write up a bug, post a patch and we can consider it for SRU :-)18:37
NCommanderbjf, no, I'm saying we might want/need to drop mem=512M if we're using the GPU18:37
NCommandermaen, when you say graphics, are you referring to video output all together, or just GPU usage?18:39
bjfNCommander, ah! hmmm, yes reading the scrollback that sounds right (that we shouldn't be setting mem=512M)18:39
NCommanderbjf, but are we using the GPU?18:39
NCommanderI rather not loose a good chuck of RAM if we're not compiling support in18:39
bjfNCommander, right now we are configured to use the GPU, I though there were apps that took advantage of it18:42
NCommanderbjf, ok, so I'll make mem=512M disappear18:42
bjfCONFIG_DOVE_GPU=y18:43
bjfCONFIG_DOVE_GPU_MEM_SIZE=12818:43
bjfCONFIG_UIO_DOVE_VMETA=m18:44
bjfCONFIG_UIO_DOVE_VMETA_MEM_SIZE=3418:44
bjfCONFIG_VMETA_NEW=y18:44
bjfour VMETA_MEM_SIZE is different from what maen reports, don't know if that is an issue18:45
maenNcommader, graphics =GPU  video= Vmeta , if you are not using them currently then disable them from the defconfig file19:29
maenWe have update Vemta to 96 to support 1080p videos19:29
bjfmaen, thanks for the info19:33
=== bjf is now known as bjf-afk
=== lbt_ is now known as lbt
=== bjf-afk is now known as bjf

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