<turtlee>
and these tools allow you to make physical RAM pretend that it's swap?
<qwebirc91025>
is there any way to compile the hello world C application for nanonote and execute it on the platform without actually recompiling the whole kernel
<turtlee>
welcomes qwebirc
<wolfspraul>
we need to publish the toolchain or some kind of SDK...
<nebajoth>
haha
<nebajoth>
not just pretend to be swap
<nebajoth>
pretend to be swap, and compress and decompress on the fly in and out
<turtlee>
nebajoth: just making sure I understand what you're doing. =D
<wpwrak>
yes !!!! :)
<nebajoth>
most distros seem to be using this already
<nebajoth>
at least for their installers
<nebajoth>
turtlee: yes
<qwebirc91025>
anybody having a solution for my problem
<wpwrak>
wolfspraul: keep is simple. toolchain and selected headers/libraries. like in openmoko. that worked great.
<wpwrak>
s/is/it/
<nebajoth>
why would you have to recompile the kernel?
<wpwrak>
nebajoth: probably as part of building all of openwrt ...
<qwebirc91025>
yes exactly
<nebajoth>
oh
<nebajoth>
I dunno anything about that
<nebajoth>
I run openwrt on my routers :P
<nebajoth>
not my gtd nn
<qwebirc91025>
cant we have any toolchain only to compile the C file and port it on nanonote using usbnet and run it
<wpwrak>
qwebirc91025: i just bit the bullet, ran the whole build, and then symlinked all the executables into /usr/local/bin
<nebajoth>
qwebirc91025: yeah that should work
<nebajoth>
hell I'm running openwrt compiled sound modules in my debian I think
<qwebirc91025>
but how ?
<qwebirc91025>
can you plz tell me the procedure
<nebajoth>
I'm not sure I know it
<nebajoth>
I have to compile with a mips toolchain myself
<qwebirc91025>
right now I just need to develop a C aplication to print some thing on console
<nebajoth>
I was either going to do it with openwrt
<nebajoth>
or right on the nn
<nebajoth>
you can compile on the NN with debian :P
<wpwrak>
once done,  ln -s staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.32/usr/bin/mipsel-openwrt-linux-* /usr/local/bin/
<qwebirc91025>
wpwrak : if i go with this procedure then i need to port the kernel image ?
<qwebirc91025>
am I correct  ?
<turtlee>
does the basic pyneo debian install slow the NN noticably more than the stock OpenWRT?
<wpwrak>
i think it builds a kernel in the process. you will be asked a few questions. just hit enter to accept the defaults.
<nebajoth>
turtlee: I didn't keep openwrt on there long enough to know really
<nebajoth>
but yeah probabl
<nebajoth>
y
<nebajoth>
I still find it totally usable though
<nebajoth>
bootup takes a little longer
<nebajoth>
it could probably be optimized though
<qwebirc91025>
but ultimately we need to port the whole kernel image ? isnt
<wpwrak>
qwebirc91025: why worry about the kernel ? there's plenty more junk in openwrt ;-)
<wpwrak>
qwebirc91025: the build process takes care of it all. you don't have to pay attention to all the things it builds.
<wpwrak>
qwebirc91025: for the configuration, instead of "menuconfig" use "oldconfig". i.e., accept things as they are.
<nebajoth>
rofl: "When code from the staging tree is loaded in the kernel, a warning message will be printed to the kernel log, and the kernel will be tainted with the TAINT_CRAP flag."
<nebajoth>
epic
<wpwrak>
sounds like Greg :)
<turtlee>
would snort his beverage out his nose if he had a beverage.
<nebajoth>
wpwrak: yep
<qwebirc91025>
I am worrried about that because in software development for a minor in my application I will have to port the whole kernel again and again
<nebajoth>
install debian, compile on the Nanonote itself :D
<qwebirc91025>
are you talking about processor or ?
<nebajoth>
OK gentlemen
<nebajoth>
I believe he was
<nebajoth>
what other kinds of core are there?
<nebajoth>
OK gentlemen, I'm undertaking a kernel compile FOR the nanonote, ON the nanonote
<nebajoth>
I am timing it :P
<nebajoth>
I'll let you know what the results are
<nebajoth>
... in a few days
<nebajoth>
... when its complete
<qwebirc91025>
fine
<qwebirc91025>
I got it
<osokuro>
nebajoth: thanks for the advice. wish me luck on my debian install.
<nebajoth>
ah yes
<nebajoth>
good luck :D
<nebajoth>
lmk how it goes
<nebajoth>
I'll be here for a bit still
<osokuro>
Heh. I won't. time for sleeping. will try the flash over the next day or two.
<nebajoth>
ok
<nebajoth>
good luck :)
<nebajoth>
I eventually intend to release a new rootfs
<nebajoth>
but I want to get this new kernel working first
<nebajoth>
NN is gonna be busy for the next couple days
<nebajoth>
compiling :P
<osokuro>
Very cool.
<osokuro>
Oh!
<osokuro>
one more thing.
<osokuro>
any recommendation on how to go about formatting and setting up a swap part on the nand?
<nebajoth>
are you going to use the whole thing or partition it?
<nebajoth>
actually
<nebajoth>
not sure it would be very easy to partition it
<nebajoth>
ummm, you can either use the whole mtd partition
<nebajoth>
or you can make a swap file
<nebajoth>
up to you
<nebajoth>
guess you don't need that big a swap file
<nebajoth>
er that big a swap
<nebajoth>
so I'd make a swap file on the nand and use that
<nebajoth>
that tickles my memory of something on the mailing list involving xiang-fu
<osokuro>
ohh,
<nebajoth>
but I didn't see it while cruising through the last 6 months yesterday
<osokuro>
swap file is super-obvious. sorry.
<osokuro>
alright. time for sleeping.
<osokuro>
see you later.
<nebajoth>
he's a nice fellow
<wolfspraul>
nebajoth: yes we are lucky with the people that show up. it drives me nuts that the NanoNote is not more useful from a regular user standpoint today. argh. but the direction is right...
<nebajoth>
we'll get there
<viric>
wolfspraul: one program I lack in the nanonote is something that would allow me to store and navigate maps
<viric>
I have to try that nanomap still.
<wolfspraul>
viric: yes, nanomap :-) but I haven't tried it myself yet...