/srv/irclogs.ubuntu.com/2009/07/06/#ubuntu-arm.txt

high-rezAny of you know the proper format is for setting the framebuffer mode on the beagleboard?  It seems there are three different formats, and I'm not sure which the ubuntu kernel prefers :|02:17
mcasadevallL84Supper, there are known issues unfortunately; I've been working with KDE upstream to resolve them05:53
L84Suppermcasedevall : good news06:06
mcasadevallL84Supper, what are you currently trying to build?06:10
L84Suppermcasedevall : I was going to try a few 2D graphics apps like Scribus, GIMP, Krita, Inkscape etc this week06:11
L84Suppercairo and a few other libs use doubles vs float06:12
L84Supperor so I've been warned06:13
=== bjf is now known as bjf_afk
=== mcasadevall is now known as NCommander
ograhigh-rez, heh, since there is no ubuntu kernel for the beagelboard its really up to the third party kernel you use ...08:40
ograhigh-rez, http://elinux.org/BeagleBoardUbuntu has a link to properly maintained third party kernels and i would assume the u-boot settings used in the doc match the kernel08:41
dirk2Just fyi: From running build-arm-rootfs script from http://people.ubuntu.com/~ogra/arm/build-arm-rootfs I get two error messages from created installer script within qemu arm:08:49
dirk2http://pastebin.com/d6660cdde08:49
dirk2But seems that installation finishes fine, though08:49
dirk2ogra: From running build-arm-rootfs script from http://people.ubuntu.com/~ogra/arm/build-arm-rootfs I get two error messages from created installer script within qemu arm:09:23
dirk2http://pastebin.com/d6660cdde09:23
dirk2But seems that installation finishes fine, though09:23
ograso the script finishes ?09:23
dirk2yes09:23
ograthen its not critical09:23
dirk2yes, but I just thought to mention it ;)09:23
ograif there are actual critical errors the script will die09:23
ograyeah, i know about both, thanks ... i'll drop the loopback call that iniscript was dropped at some point09:24
dirk2ok, will drop loopback locally then, too09:25
ograthe other warning is simply a nonused missing feature in the versatile kernel i rolled09:26
dirk2ok, thanks09:26
ograthe next generation of the script (called project-rootstock now) will use the packaged versatile kernel instaed09:27
dirk2With http://people.ubuntu.com/~ogra/arm/build-arm-rootfs I built a ubuntu-minimal. Does this include xserver? I'm running it on Overo, and have console on LCD login.13:03
ograno, ubuntu-minimal doesntinclude any X bits13:04
ograit only installs the bare minimum to boot an ubuntu13:04
dirk2ok, yes, login looks like this ;)13:05
dirk2I have to install ubuntu-destop?13:05
dirk2erm, desktop13:05
ograif you want an xserver just install the xorg package if you are lazy13:05
ogra(that pulls in all possible video drivers though)13:05
ograindeed, if you want a full desktop install ubuntu-desktop13:06
dirk2What's the easiest way for it having ubuntu-minimal already. I'm not sure if I can configure Overo for net access easily, so most probably the easiest way is via QEMU again?13:07
=== cbrake_away is now known as cbrake
L84Supperis Gnome or GTK in the plan for Ubuntu-arm?16:23
rjune_wrkI would say that's likely. Ubuntu uses GNOME by default, and there is a Ubuntu Netbook Remix.16:40
bizkutsomebody already installed gnome desktop on shivaplug with USB lcd monitor16:42
ogra_L84Supper, our live image for imx51 uses the standard ubuntu desktop16:56
ogra_(the one we released in jaunty)16:56
=== ogra_ is now known as ogra
Martynogra : ICEing the Cortex-a9 kernel on PBX now :)17:29
Martynogra : Turns out I can chainload redboot or u-boot from the ARM Monitor17:30
Martynso, either bootloader will work17:30
Martynalthough once I have UEFI running, that's going to be redundant17:30
ogralucky you17:30
Martynogra : Lucky all of us17:31
* ogra pastes the famous lasts words of NCommander from #ubuntu-devel17:31
ogra<NCommander> -rwxr-xr-x 1 mcasadevall mcasadevall 2.8G 2009-07-06 12:30 redboot.bin17:31
Martynif I can get this working fully, there's a better chance of getting Canonical interested17:31
MartynThe -hell-?17:31
Martynwhat did he do to get redboot.bin up to 2Gb+?17:31
ograbuild it with the allowed toolchain17:31
NCommanderMartyn, don't try and build redboot with an arm-linux-gnueabi toolchain17:32
ograor one variant of the allowed ones we can currently use17:32
MartynGood lord17:33
MartynNCommander : But I have done so .. using the CodeSourcery chain...17:34
NCommanderM 2009-07-017:34
NCommanderM 2009-07-017:34
NCommanderer17:34
NCommander-rwxr-xr-x 1 mcasadevall mcasadevall 497M 2009-07-06 12:35 redboot.bin17:34
NCommander-rwxr-xr-x 1 mcasadevall mcasadevall 1.3M 2009-07-06 12:35 redboot.elf17:34
NCommanderI dunno what bugs me more17:34
NCommanderThat the elf is 1.3M, or the binary is 397M17:34
NCommander*497M17:34
MartynNCommander : -rwxr-xr-x 1 mbogo users 319022 2009-07-16 18:31 reboot.bin17:35
NCommanderMartyn, I can build the right toolchain with normal GCC, its just that isn't acceptable it seems17:35
MartynNCommander : That's more in line with my experience17:35
MartynOop .. wrong binary17:35
MartynNCommander : -rwxr-xr-x 1 mbogo users 319022 2009-07-01 16:32 redboot_small.bin17:36
* Martyn hates not having cut and paste between parallels and OSX17:36
NCommanderyeah17:36
NCommanderWell17:37
NCommanderI wonder17:37
Martynbut still, 300M+ is silly17:38
ograMartyn, our prob is that we're boud to the toolchain in the archive17:38
ogra*bound17:38
NCommanderogra, well, I might be able to build the toolchain we need out of the gcc-4.4 package with lool said would be an acceptable alternative if all else failed17:39
Martynogra : Ouch17:39
NCommanderThe question is does the 2.8GB redboot count as "all else failed" ;_)17:39
Martynogra : The state of the eabi toolchain needs to be fixed17:39
MartynNCommander : I think so17:39
MartynNCommander : Something went very wrong there17:39
ograNCommander, depends if you really tried "all else"17:39
NCommanderMartyn, so you know the differences between the RTOS/baremetal toolchain, and the linux toolchain :-)?17:39
MartynNCommander : Some of the differences17:40
NCommanderMartyn, right, but you understand that its more or less near-impossible to build redboot with the normal linux one17:40
NCommander(granted a massive universal size fluke)17:40
MartynNCommander : I'm not tasked to do toolchain fixes at my company until early Aug though17:40
MartynNCommander : I do, indeed.   That's why UEFI is more of a priority, and before it .. u-boot.17:41
Martynreboot is just going to have to be one of those intractable problems, or simply be left behind.17:41
NCommanderMartyn, ok, good, that makes sure I'm not mad17:41
Martynredboot rather17:41
NCommander^- ogra17:41
NCommanderMartyn, we managed to build redboot with an arm-linux-gnueabi toolchain in Jaunty by linking it against libc17:41
NCommanderobviously that was fragile, and now it broke :-)17:41
MartynIndeed17:41
Martynit really should be linked against ulibc17:42
NCommanderer17:42
NCommanderIt shouldn't be linked against a C library17:42
NCommanderredboot is self-contained17:42
Martynif you're going to link it, use the smaller one17:42
ograwe dont support ulibc17:42
MartynI know, I know17:42
Martynbut you'll get a smaller build.17:42
ograth eonly minimal libc we have atm is klibc17:42
Martynoof17:42
NCommanderogra, newlib :-P17:42
NCommanderMartyn, if we had a sane toolchain, the resulting binary won't import any symbols17:43
NCommanderthe problem is glibc got stupid with the newest release, and started doing fun things w/ ELF files17:43
ograwell, and newlib in the works which apparently gets you 3G redboots17:43
MartynIck17:43
NCommanderogra, er, that was glibc17:44
NCommandernewlib fails to link due to static protector17:44
Martynogra : In order to suggest a UEFI boot chain for 9.10 .. is there still time to get it working to the point that I could make a case for it?17:44
Martynsince UEFI/arm is almost done17:44
MartynApple has put massive resources behind it.17:45
* NCommander sighs17:46
NCommander-rwxr-xr-x 1 mcasadevall mcasadevall 603K 2009-07-06 12:47 redboot.bin17:46
NCommanderIts going the right size17:46
ogralooks ok for a SD boot to me17:46
MartynYep17:47
ogramight be a bit big for flash ... which we dont use anyway17:47
Martynogra : I do.17:47
ograin our image builds17:47
* Martyn only has 64K or 128K of NOR though17:47
ograwe boot from SD and install to SD17:47
Martynso it's only big enough for u-boot17:47
NCommanderIt doesn't boot though17:47
Martynogra : One other question: How often does Canonical have a general meet-up to discuss the state and future releases of Ubuntu?17:48
ograits probably just slow beacuse its so overweight :)17:48
Martyn9.10, 10.x, etc...17:48
MartynSince the ARM side of things is certainly heating up.17:48
ograusually about a month to six weeks after the release17:48
ogradefinately17:49
MartynSo 9.10 is already locked in?17:49
ograand i would love to see you at next UDS17:49
ogramostly, yes17:49
MartynI also want to be there.. so does my boss.17:49
Martyn(wants me to be there)17:49
ogracool !17:49
MartynThe problem is that we can't use Redboot.17:49
Martynit's useless on the server platform we're building, and excludes other hardware as well17:50
MartynI'm hoping to push UEFI17:50
NCommanderoooh17:50
ograour problem is that we dont have a sane u-boot yet17:50
NCommanderThat's an improvement17:50
NCommanderThe board powers on17:50
NCommanderBut it doesn't print anything17:50
Martynogra : What's broken in u-boot?17:50
MartynNCommander : Working with babbage2?17:50
ogramisses features17:50
Martynogra : Which ones are missing that are needed? (Since I am tasked with u-boot at the moment)17:50
NCommanderMartyn, sorta. Bababge2 requires redboot to do some voodoo to let it power on fully17:50
ograMartyn, i didnt review it yet, but lool wasnt impressed17:50
Martynogra : current u-boot features I have working: Boot from NOR/NAND, boot from SD, ext2 filesystem suport, FAT filesystem support, network adapter (SMCxxxx) support, bootp, dhcp, tftp17:52
MartynI don't (yet) have USB support working since it's outside my project scope17:52
ograon B2 ?17:52
MartynIn software sim for the Realview EB-Cortex A917:53
Martynand Cortex-A817:53
Martyn(in uniprocessor and SMP)17:53
NCommanderogra, er, can we publicly talk about that uboot?17:53
MartynI could trivially get it working on B217:53
MartynNCommander : Although to bring B2 up, I have to do hardware voodoo to get various parts of the board up17:54
Martynalso I don't (yet) have FB console support17:54
Martynso u-boot would only work on serial, which is annoying17:54
ogranot more annoying than redboot17:55
NCommanderand loads easier to compile17:55
MartynNo, but that's something that would be useful17:56
MartynTell you what, why don't I spend tomorrow trying to get it running.17:56
MartynAt worst, I waste 6-8 hours on the experiment17:56
ograsure ... put a shiny little dog on the framenuffer during init :)17:56
Martynogra : The lack of INT13 is a pain17:56
ograah, damned, someone had that idea before :)17:56
MartynFor someone who is used to having BIOS video17:56
ogradid you take a look at the beagle code ?17:57
ograthey have at least a pic up early17:57
L84Supperorga_ : ok, so there is support for OMAP and i.mx, what board is everyone using for i.mx development17:57
L84Supper?17:57
ograthere is no support for OMAP17:58
Martynframebuffer costs a character bitmap table for ASCII, framebuffer init code, and either USB+keyboard stack(big) or raw USB keyboard stack(smaller)17:58
Martynthere is no official support for OMAP17:58
ograright17:58
L84Supperorga_ : hmm, somebody else mentioned OMAP17:58
Martynbut that just requires a kernel change.  The bootloader might be flexible enough17:59
L84Supperok , just not official17:59
ograMartyn, i didnt say frambuffer console :) no need for an ascii table if you just dump a pic on the screen17:59
MartynOH!17:59
L84SupperI'm going to try it on ARM 917:59
MartynHeh, that's just useful to say that you entered the bootloader.18:00
ograthe beagle just shows a fillscreen bitmap18:00
ogra*full18:00
MartynI think pretty bootloader pictures are a waste18:00
L84SupperSamsung S3C244018:00
MartynOne of my coworkers has the B2 all day, damnit18:00
ograsteal it !18:01
Martynno, he's doing compiler optimization18:01
* ogra had to send his away to a colleague too :/18:01
MartynWAY more important than the work I'm doing18:01
ogranot for me18:01
L84Supperthe netbook remix was great unless you had to configure something like networking on a 320x480 display18:01
ogratell him your work is more important for me, he should give you the B2 immediately ! :)18:01
MartynL84Supper : Don't get us started on Netremix18:01
L84Supperyou're sunk unless you can get panning going18:01
Martynogra : LOL .. he's grumbling because I have access to the two PBX'es18:02
ogratrade them ...18:02
Martynogra : Even though he can't do any work on those until I get the kernel working18:02
ograwho cares about PBX18:02
MartynI do.18:02
Martynthose are the base platforms //all// Cortex A9 will be based on18:02
Martyneven the NEC, Samsung, and other C-A9 based systems18:02
ograpfft ... thats the future ...18:02
L84Suppermy real only beef is the config screens not fitting vertically in the window so you have to guess at how many times you have to press "tab" to apply or cancel18:02
* ogra wants something that works *today* :)18:03
Martynogra : And it's the future I live in .. so I that I can get U/ARM working on as many platforms as possible18:03
MartynC-A9 is where everything is going, and everything I'm working on is backportable.18:03
Martyn(like UEFI)18:03
MartynL84Supper: Don't take this the wrong way, but that discussion really belongs in #ubuntu-devel18:04
MartynThere's lots wrong with the remix, and grumbling about it (without fixing it yourself, or posting patches) is counterproductive18:04
* Martyn dances! Kernel boot!18:05
ogranote that its aimed at 1024x576 and wont be much more scalable downwards18:05
MartynIt crashes hard after cpuidle .. but after three days, I finally have debug output.18:06
MartynWOOT18:06
MartynI might even get to init() today18:06
ogracongrats18:06
ogranow grab the B", quick !18:06
ogra*B218:06
MartynCant :)18:06
Martyntomorrow, I have it18:06
ogra:)18:06
MartynAnd I'll try getting u-boot working with a set of params18:06
L84SupperMartyn : </beef>18:07
MartynI also should figure out a 'safe' u-boot set of parameters, so that someone can set one of user DIP switches to get a sane default setting18:07
L84Supperwhat's the dev board for imx5?18:08
Martynsince I already locked myself out of one development system by accidentally setting delay to 018:08
Martynbabbage/babbage218:08
Martyni.mx5118:08
Martynand i.mx515 has another one18:08
armin76lol18:11
L84SupperMartyn : any idea where they are for sale?18:11
ogras/where/when/ :)18:12
suihkulokkiseems genesi has mx515 devboard orderable https://www.genesi-usa.com/store/details/418:15
L84Suppereverything is open except for the closed graphics libs by PowerVR, I heard that Nokia was asking them to open up18:17
L84Supperwow $750 for the dev board18:18
armin76dev boards cost that or more18:18
L84Suppersure I've spent thousands18:18
* ogra thinks 750 is rather mid-price 18:19
Martyn$750 is very reasonable18:20
L84SupperGenesi USA appears to be grasping for credibility18:20
MartynL84Supper: I >will< have 2D drivers for powerVR working by the end of Aug18:20
MartynL84Supper : 3D is being worked on by other people.18:21
ograand will be as nonfree as nvidia18:21
L84Supperwere still working on the first complete open source laptop, VIA vx855 still looks like it will be the first18:22
Martynogra : The 2D drivers will be open and free.  Those are reverse engineered18:23
Martynogra : The 3D drivers .. who knows.18:23
L84Supperyes a pain18:23
ograMartyn, well, its equivalent to puolsbo on intel18:23
Martynogra : Depends if the Finnish guys figure it out (PowerVR open source) before the the offical closed-source drivers gain traction18:23
MartynThat genesi board looks pretty close to the babbage218:25
Martynjust about the same capabilities18:25
L84SupperI wish that the genesi board had more RAM18:26
ograMartyn, not really, but to another one here on my desk :)18:26
ogranot to say its 100% the same :)18:26
ograjust differntly named18:27
ograso if you want to do ubuntu stuff, get such a board ;)18:27
L84Supperthey both look like the Freescale reference design18:27
suihkulokkiso many components on the PCB.. do they really intend to manage to make cheap designs around that?18:30
L84Supperit's a kitchen sink board18:30
L84Supperit also demos components by partners18:31
L84Supperthe netbooks will just have the imx soc , an EC, some glue and power supply18:32
L84Supperwireless, bluetooth etc will be on separate plug-in modules18:33
suihkulokkiI would assume moving components to separate modules doesn't cut down costs18:34
L84Supperit gives the ODM's flexibility for different models18:35
L84Supperhttp://www.via.com.tw/en/initiatives/spearhead/surfboard_c855/index.jsp18:35
L84Supperas an example18:35
L84Suppercan the Flash ROM be reprogrammed by software in-circuit or does it require a separate hardware device?18:41
L84Supperon the babbage board18:41
L84Supperif it may be done via software we can look at adding it to FlashRom18:42
Martynin-circuit18:48
Martynheck, even live from an OS18:48
ograubuntu currently uses SD18:49
ograthe flash on the B1 was to small to fit in the initramfs18:49
MartynIt shouldn't have to live on that flash18:49
Martynbut we should be able to boot from either the SD or an internal drive18:50
MartynI still say kernel chainloading is the way to go18:50
ograyeah18:50
ograno18:50
Martynwhy not?18:50
* ogra isnt a fan of kernel chainloading ...18:50
MartynWhy?18:50
ogrameans you have to maintain a second kernel18:50
Martynthe kernel itself is the ultimate BIOS18:50
Martynsure, but it's a tiny kernel18:50
ograstill18:50
Martynno different than maintaining a bootchain18:51
Martynand you KNOW you will be able to flexibly boot18:51
Martynwell, until we have UEFI .. that's one of the only ways I can think of to really get a flexible boot18:51
ograor HW vendors that agree on a standard :)18:52
L84SupperCoreboot18:53
Martyncoreboot on ARM = nonexistent18:53
L84Supperyes, we've talked about it18:53
Martynit would take a LOT more work to get coreboot's stuff going18:53
L84Supperwell uboot handles the hardware init18:54
Martynokay back to work18:54
* ogra saw a coreboot demo at CELF 18:54
ograon a beagle18:54
L84Supperwas probably Peter18:54
L84Supperis a boot drive chooser still missing?18:54
Martynwhat is the command to get a system to execute an ACPI suspend in linux?18:55
L84SupperUEFI is another train wreck18:55
ograyeah, peter stuge i think18:55
L84Supperyes , that him18:56
L84Suppercarebear in irc18:56
L84Supperthey were just at LinuxTag as well18:57
L84SupperI'd stay with uboot and a chooser for boot location19:02
dirk2ogra: I tried --seed lxde,gdm , this results in "E: Couldn't find package lxde,gdm"19:18
=== cbrake is now known as cbrake_away

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