<xdpirate> Hey, I get a problem when trying to boot debian from sd card:
<xdpirate> reading uImage
<xdpirate> Unable to read uImage from mmc0:1
<xdpirate> Wrong Image Format for bootm command
<xdpirate> ERROR: can't get kernel image!
<xdpirate> then the ben locks up and needs a hard reboot
<xdpirate> the uImage is located in /boot, and the card is formated as one ext2 partition
<xdpirate> anyone have any ideas?
<xdpirate> i followed xiangfus guide here http://www.openmobilefree.net/?p=535
<xiangfu> what is your sd card size.
<xiangfu> ?
<xdpirate> xiangfu, it's 1 gb
<xdpirate> can i still boot into openwrt with that bootloader?
<xiangfu> xdpirate: yes.
<xdpirate> ok thanks
<xdpirate> i'll try it in a bit, need to reboot into linux to flash the bootloader
<xiangfu> xdpirate: this will goto next release. when next release come up. I will remove that file.
<xdpirate> ok, already downloaded it so i'll try it in a bit, then report back :)
<xdpirate> thanks
<xdpirate> ok brb
<xdpirate> xiangfu, that bootloader worked, thanks, now the kernel boots
<xdpirate> however, i now get a kernel panic
<xdpirate> "Kernel panic - not syncing: No init found. Try passing init= option to kernel."
<xdpirate> (then it locks up and needs a hard reset)
<xiangfu> xdpirate: hmm.. check if there "/etc/preinit" in your sd card?
<xdpirate> nope, no such file
<xdpirate> shouldn't that be included in the debian lzma you linked in your blog post?
<xiangfu> xdpirate: yes.
<xdpirate> hm wierd
<xdpirate> it exists in my pc extract folder, somehow it must have not been copied to the sd card
<xiangfu> xdpirate: what is your .tar.lzma size?
<xiangfu> xdpirate: yes.
<xdpirate> 33850806 bytes
<xdpirate> however it's an empty file on my pc
<xdpirate> hm it's an empty file inside the tar aswell
<xiangfu> xdpirate: it's a link file
<xdpirate> i'll try just copying it over and see what happens
<xiangfu> xdpirate: preinit -> /sbin/init
<xdpirate> aha
<xiangfu> xdpirate: you must extract in file system which allows symbolic links, so not fat.
<xdpirate> yeah, i just figured out that xD
<xiangfu> xdpirate: :)
<xdpirate> i'll log into linux again and extract directly onto sd card
<xdpirate> i had extracted the files with 7z in windows to an ntfs drive, then copying them over to the ext2 sd card
<xdpirate> thanks for your help, i'll go linux and try again :)
<kyak> btw, yesterday i was installing jlime from openwrt again (as i don't have SD card reader), and the download/extraction processes kept getting killed due to insufficient memory
<kyak> it brough my attention to the fact that fbterm is consuming 15 % of memory
<kyak> very fat...
<kyak> so i had to kill, then i extracted jlime to SD card with no problems
<kyak> ..which reminds me that i wanted to try nterm
<xdpirate> xiangfu, finally got it working :) had to change ext2 inode size
<xdpirate> thanks for the help
<xdpirate> however, now i'm having trouble connecting it to the pc
<xdpirate> did this:
<xdpirate> ifconfig usb0 192.168.0.197 up
<xdpirate> route add 192.168.0.204 usb0
<xdpirate> echo 1 > /proc/sys/net/ipv4/ip_forward
<xdpirate> iptables -t nat -A POSTROUTING -j MASQUERADE
<xdpirate> but when trying to telnet or ssh in I get "Unable to connect to remote host: No route to host"
<kyak> really this is not according to Ethernet_over_USB docu
<xdpirate> (in debian)
<kyak> you forgot to set interface to masquarade in itpables
<xdpirate> kyak, followed the ethernet guide here: http://pyneo.org/howto/debian/nano.html
<kyak> hm, ok
<kyak> cool
<xdpirate> > iptables -t nat -A POSTROUTING -j MASQUERADE
<xdpirate> did that
<kyak> pyneo is making warnings to me
<xdpirate> still get no route to host
<kyak> using Firefox on Windows, not supported :) crazy fanatics
<kyak> show the ifconfig usb0 from Ben
<unclouded> xdpirate: it's not that 192.168.0.0/24 is the same subnet as your WLAN is it?
<xdpirate> unclouded, actually yes it is
<xdpirate> it worked in openwrt even tho it was the same subnet
<xdpirate> kyak, you can just click past the warning and enter the link again
<unclouded> xdpirate: you could try using 10.1.1.0/24 or 172.16.1.0/24.  No point in making life hard unless you're trying to bridge the nano on to your WLAN
<kyak> xdpirate: sure i can :)
<xdpirate> unclouded, i am, i need to apt-get update :P
<xdpirate> and install gcc >:3
<unclouded> xdpirate: you don't need to bridge for that.  the MASQUERADE means your workstation will send the apt-get traffic on behalf of your NanoNote
<xdpirate> ah
<xdpirate> so what should I do then? i've rebooted both the NN and the host pc now
<unclouded> on the NN: ifconfig usb0 172.16.1.2 up; route add default gw 172.16.1.1
<unclouded> on your host PC: sudo ifconfig usb0 172.16.0.1 up ; sudo iptables -t nat -A POSTROUTING -j MASQUERADE
<unclouded> and the /proc/sys/net/ipv4/ip_forward thing, which must be done as root not just sudo because the shell redirect is owned by your user
<unclouded> xdpirate: is your host PC running Debian too?
<xdpirate> unclouded, not vanilla debian but ubuntu
<unclouded> xdpirate: sorry I made a boo boo.  "172.16.1.1 up" on the host, not "172.16.0.1 up" like I wrote
<xdpirate> now I get a "SIOCADDRT: Network is unreachable" error on the ben when trying to run "ifconfig usb0 172.16.1.2 up; route add default gw 172.16.1.1"
<unclouded> xdpirate: I'm guessing it means that you can't add a default route via 172.16.1.1 because the kernel doesn't have a route to 172.16.1.1, which is strange because it should be directly reachable on the via the usb0 device.
<xdpirate> after rebooting ben, it now completed without fail
<xdpirate> but i still can't reach the internet
<unclouded> xdpirate: ok, can it do "ping 172.16.1.1" though?
<xdpirate> aptitude is stuck on "0% [Connecting to ftp.debian.org]"
<xdpirate> yup, pinging the host is working alright
<unclouded> I guess resolv.conf then
<xdpirate> Hm?
<unclouded> edit /etc/resolv.conf on the NN and put in a line that says "nameserver 192.168.0.1", where 192.168.0.1 in that example is the DNS server on your WLAN
<xdpirate> ok thanks, i'll try
<kyak> echo "nameserver 8.8.8.8" > /etc/resolv.conf
<unclouded> xdpirate: or do what kyak said, which is easier
<xdpirate> Woohoo, it's working!
<xdpirate> Thanks kyak and unclouded :)
<xdpirate> Hugely appreciated
<xdpirate> Onward to install gcc :D
<unclouded> xdpirate: that stuff can all be automated if you like.  when I plug in my NN it's auto connected to the Internet.  it's not hard to set up if you're interested
<xdpirate> sure!
<xdpirate> that'd be swell, i'dn't have to go through this procedure every damn time :P
<xdpirate> oh btw, when running debian from the SD-card, it doesn't have access to the NAND right?
<xdpirate> wouldn't want it messing up my owrt setup
<unclouded> not unless you run ubiattach from within Debian
<xdpirate> alrighty thanks
<kyak> xdpirate: by your feeling, debian is running smoothly or..?
<xdpirate> well i haven't tried any framebuffer applications yet, but the console seems alright :P
<xdpirate> i'll mainly use debian for gcc, to be honest, being able to compile on the go is awesome
<kyak> it's awesome and useless actually :)
<kyak> there are powerful scripting languages that are more suitable for programiing on th go
<xdpirate> rofl :P
<xdpirate> scripting :/
<xdpirate> C > *
<unclouded> I'm looking forward to the day when I can boot either OpenWRT or Debian from the same SD card
<kyak> when yo ureally need it "on the go", i bet you need it fast
<kyak> unclouded: just hack the uboot :)
<xdpirate> so unclouded, how do i automate connecting the nn to the internet with debian? :P
<unclouded> kyak: one day, maybe when I get balls of steel :)
<unclouded> xdpirate: thought I'd write it up on the wiki and then point you to that once I'm done
<xdpirate> Ah, awesome, thanks :)
<xdpirate> Something weird just happened, keyboard keys aren't working as they should, it seems the keyboard layout or locale was changed somehow
<wpwrak> hmm, has anyone managed to separate the lcm's shell from the bottom shell ?
<unclouded> xdpirate: hopefully there aren't many mistakes in that
<xdpirate> unclouded, thanks :)
<wpwrak> kristoffer: (copy/mirror my site) hmm, you mean idbg ?
<unclouded> xdpirate: you're welcome.  bed time for me now
<kristoffer> wpwrak, yeah
<kristoffer> wpwrak, just backup information with schematics and stuff in a wikistyle.
<wpwrak> kristoffer: hmm, the thing is that this project is still evolving. so you'd either have to track my changes or the two locations will diverge. not sure this is a good idea.
<wpwrak> i might relocate the project to projects.qi-hardware.com, though, because my git server setup is a little weird. even crashes debian's version of git, it seems :)
<kristoffer> wpwrak, I was thinking that I create an "backup" place with link to your page and try and update whenever something changes.
<wpwrak> kristoffer: a mirror. hmm, dunno. my site should be reasonably stable, and i suppose project.qi-hw is as well. if anything goes bad, i have a local copy anyway.
<kristoffer> wpwrak, alrighty then, just checking
<wpwrak> kristoffer: yeha, i think it would more likely create confusion and unnecessary work than have a practical use. but thanks anyway !
<rafa> wpwrak: perhaps we could add a little general comment about your idbg work on jlime, with the proper links to the idbg web page. So if somebody is interested he/she can follow the link. It would help other jlimers to know about the useful idbg thing for nn
<wpwrak> rafa: yup, that would be perfect. i still have to make a "photo story" for the ben, and also adapt the firmware upload process (which currently relies on having an freerunner with debug board. kinda exotic requirements for much of the nanonote community :)
<rafa> jajaja.. no very exotic.. remember the current dependences for deb software packages.. if you need to install vim.. you need... and then a long weird list of packages appear
<rafa> :)
<wpwrak> rafa: openoffice-opengl-kanji ? :)
<rafa> wpwrak: haha :D
<rafa> yeah, something like that
<kristoffer> openoffice got opengl accelerated?
<kristoffer> that sounds really pointless and increadibly kewl
<Ornotermes> kristoffer: it can be kind of good for presentations and graphs
<larsc> if your presenatation needs OGL acceleration it's probably a bit to fancy
<kristoffer> :D
<Ornotermes> if one has a open gl accelerated computar, why not make use of it? :P
<rafa> kristoffer: vim and mutt opengl accelerated..
<kristianpaul> ?
<kristianpaul> why?
<rafa> kristoffer: just kidding :)
<rafa> kristianpaul: just kidding :P
<larsc> for syntax highlighting ;)
<kristianpaul> ah ok
<kristoffer> :D
<ezdagor> Well, I got the kernel compiled on my desktop. Just wanted to thank you people. Now, i'm trying to build some "packages" in the "openwrt-xburst-xburst" tree. How do I do that? When I do a "make" it tries to recompile _everything_. How do I avoid that?
<ezdagor> nanodev@wolf:~/dev/openwrt-xburst-xburst> make  make[1] world  make[2] target/compile  make[3] -C target/linux compile  make[2] package/cleanup  make[2] package/compile  make[3] -C package/gmu compile make -r world: build failed. Please re-run make with V=99 to see what's going on make: *** [world] Error 1
<ezdagor> Thanks.
<Ornotermes> basicly select packages as module from "make menuconfig", then run "make package/packagename/compile"(sets up the build dir) and "make package/packagename/install"(compiles and create ipg file)
<qi-commits> Lars-Peter Clausen: MTD: NAND: jz4740: Fix potential that can happen when the hardware is broken http://qi-hw.com/p/qi-kernel/f42d987
<qi-commits> Lars-Peter Clausen: jz4740: board_qilb60: Update include file paths http://qi-hw.com/p/qi-kernel/5dec571
<qi-commits> Lars-Peter Clausen: MTD: NAND: jz4740: Move include file from include/linux/mtd/ to arch/mips/include/asm/mach-jz4740/ http://qi-hw.com/p/qi-kernel/522642a
<qi-commits> Lars-Peter Clausen: fbdev: jz4740: Move include file from include/linux to arch/mips/include/asm/mach-jz4740 http://qi-hw.com/p/qi-kernel/9b0a62a
<qi-commits> Lars-Peter Clausen: fbdev: jz4740: Add special tft type lcds support. http://qi-hw.com/p/qi-kernel/2d6b4fe
<qi-commits> Lars-Peter Clausen: JZ4740: gpio: Fix LCD pins wrongly labeld as MEM pins http://qi-hw.com/p/qi-kernel/d49c41b
<qi-commits> Lars-Peter Clausen: MMC: jz4740: Avoid reloading the fifo address before each read/write http://qi-hw.com/p/qi-kernel/629b230
<ezdagor> Is it possible to listen to MP3s on the NanoNote?
<ezdagor> I've seen screenshots of a program called "Gmu" playing Mp3s.. but when I try to use mpg123, the sound is all choppy, even when downsampled.
<nebajoth> ezdagor: hello
<ezdagor> Hi, nebajoth.
<nebajoth> it is feasible to decode MP3s at a usable rate
<ezdagor> Ah.
<nebajoth> the use of MP3s is discouraged by the developers of the NanoNote
<nebajoth> so there isn't much emphasis on making it work out of the box
<nebajoth> in fact, the opposite is true
<nebajoth> however
<nebajoth> there are non-official firmware/operating systems for the NanoNote
<ezdagor> Hmm.
<nebajoth> that do play mp3 out of the box
<nebajoth> jlime is particularly popular
<ezdagor> Like OpenWRT?
<nebajoth> no
<ezdagor> Ah.
<nebajoth> openwrt, at least the official qi distribution of it, does not play mp3s out of the box
<ezdagor> Nod.
<nebajoth> they've specifically removed it
<nebajoth> in fact
<ezdagor> Yeah. I've noticed that.
<nebajoth> I myself use Debian.
<ezdagor> Me too.
<nebajoth> on my NN
<ezdagor> Same.
<nebajoth> I use a console player called cmus
<nebajoth> it works great for MP3s
<nebajoth> and FLACs
<ezdagor> URL?
<nebajoth> sec
<ezdagor> Thanks.
<nebajoth> cmus.sourceforge.net
<nebajoth> its in repos
<nebajoth> vi-like keybindings
<ezdagor> Ok. Cool.
<nebajoth> another popular option
<nebajoth> is moc
<nebajoth> I believe its package name in debians is mocp
<ezdagor> Ok.
<ezdagor> Thank you. I appreciate it.
<nebajoth> No problem
<rafa> nebajoth: cmus looks nice
<nebajoth> I use it every day
<nebajoth> I do internet install service calls
<nebajoth> and the work car has an AUX in
<nebajoth> I drive around all day listening to my NN
<nebajoth> ok