/srv/irclogs.ubuntu.com/2009/03/30/#ubuntu-arm.txt

loolExcellent http://fl0rian.wordpress.com/2009/03/29/a-smart-beaglebrick/09:27
=== Meiz__n810 is now known as Meiz_n810
ogralool, cute !10:48
loologra: Hey you know that exec -s issue?10:49
loologra: It was really what I suspected10:49
ogra??10:49
loolThat config for ramdisk size was too small, even after bumping it10:49
loolBy 72192 bytes!10:50
ograso you have solved the need for -s ?10:50
loologra: Not 100% confirmed, but I found the bug which caused the error message during RAMDISK unpacking10:50
lool(the ENOSPC)10:50
ograah10:50
ograi still think that redboot is in our way10:51
loolIn fact I had solved it when I asked for bumping that config, but we didn't bump it enough for the cheer size of our initrds10:51
loolI don't think redboot matters10:51
loolYou can load an initrd without -r/-s10:51
ograwith the patched redboot ?10:51
loolNo; with kernel cmdline args10:51
ograi thought with our version it was mandatory10:51
loolBut I prefer using ATAG personally, more elegant IMO10:51
ograindeed10:51
loolIt's mandatory for the ATAG ramdisk thingy to be passed; but you can also tell the kernel "BTW there's an initrd at this random addres"10:52
ograhmm10:52
loolAnyway, I prefer encoding this in the redboot bootscript's commands rather than the cmdline; the former doesn't require encoding the size of RAM or the addresses10:54
lool(physicaladdresses)10:54
ograyup10:54
=== mcasadevall is now known as NCommander
strkdoes anyone have any idea why htons should return 'unsigned int' in ubuntu-arm ?21:13
strkref: https://savannah.gnu.org/bugs/index.php?2605121:14
suihkulokkistrk: #include <arpa/inet.h>21:31
suihkulokkiperhaps you'r missing that?21:31
strkI tried that, didn't help21:32
suihkulokkihttp://paste.debian.net/31967/21:36
strkg++ mentioned "unsigned int", btw21:39
strkwhich isn't what the compiler thinks an undefined function returns, right ?21:40
strkthat'd be 'int'21:40
strkmaybe is a jaunty-specific bug21:51
strkg++ complains on reinterpret_cast: error: invalid cast from type 'unsigned int' to type 'uint16_t'21:55
strkoh-ha21:56
strkhttp://rafb.net/p/JeNuNd73.html21:58
strktest.cpp:7: error: invalid cast from type 'uint16_t' to type 'uint16_t' (!!!!)21:58
suihkulokkihaha22:00
suihkulokkiI'm happy I don't deal with c++ usually22:00
strkfound it !22:29
strkit's -O2 !!!22:29
strkg++ (Ubuntu 4.3.2-2ubuntu11) 4.3.3 20090111 (prerelease)22:29
strk-O2 makes that short into an int22:31
strkremains a short with g++ (Ubuntu 4.3.2-1ubuntu12) 4.3.222:33
Martynre22:39

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