<qi-commits> Xiangfu Liu: [usbboot] change the prefix to /usr by default http://qi-hw.com/p/xburst-tools/905a086
<qi-commits> Xiangfu Liu: [usbboot] change the sysconfdir to /etc by default http://qi-hw.com/p/xburst-tools/3b5b0b3
<uwe_> vegyraupe: great, thanks! I'll have a more detailed look later. I only see images right now, is the (modified) source or patches available somewhere? (kernel + uboot if necessary)?
<vegyraupe> uwe_: the kernel is the same as used for openwrt
<vegyraupe> with 3 modifications
<vegyraupe> which I described in a mail to the devel list
<uwe_> what's avt2 vs. lb60 btw?
<vegyraupe> avt2 is our development board (64MB RAM, extra usb host connector etc)
<vegyraupe> lb60 is the board in the black ben nanonotes
<uwe_> ok
<vegyraupe> uwe_: the next openwrt image release will see these kernel flavours and i hope with the configs attached :)
<uwe_> ok, great. the .config variable names would also be sufficient for me, for now
<uwe_> I'll give it a try in the evening with a debian unstable rootfs on SD card, if I find the time
<vegyraupe> sounds good :)
<vegyraupe> a blogpost would sound even better ;)
<uwe_> will do, definately
<vegyraupe> yay!
<vegyraupe> thx
<vegyraupe> tuxbrain_away: ping
<tuxbrain_away> pong
<jd823592> Hello, are there already any ideas or plans for Ben NanoNote successor?
<jd823592> Any ethernet, wifi/ larger display
<vegyraupe> jd823592: check http://en.qi-hardware.com/wiki/Ya_NanoNote_Specs for ideas
<vegyraupe> nothing has been decided yet
<vegyraupe> we are in the idea collecting phase :)
<jd823592> thanks, i will take a look
<jd823592> Are common people allowed to contribute to the idea list?
<vegyraupe> absolutely
<jd823592> Is the original processor for Ben MIPS?
<jd823592> i think i've seen a note about it
<jd823592> i was curious why MIPS, why not ARM... or anything else.. not that i would disagree with the decision, i am just curious :)
<urandom_> is there any date set for when this ja nanonote should be produced?
<larsc> probably fair dice roll
<vegyraupe> larsc: :D
<vegyraupe> urandom_: nope
<vegyraupe> still a lot of possibilities around the Ben
<urandom_> but no usb host on the ben :(
<vegyraupe> sad but true
<urandom_> i thinking on buying a ben but 100¬ are some money and it has no usb host and the pandora might come out this year
<urandom_> there are some router with usb connection for printer/extern media, wouldnt it be possible to use this Ethernet over USB support of the ben for connecting it with the router?
<vegyraupe> urandom_: usb over ethernet is def doable with a PC, not sure about the router thing though. Lars?
<urandom_> i think there are some router there you can install linux on them, isnt openwrt for it? it should be doable
<qi-commits> Carlos Camargo: Adding write funtions to blink driver sample http://qi-hw.com/p/nn-usb-fpga/de9acb4
<jd823592> is the Ya design final or ilustrative?
<zear> someone interested to adapt it to owrt?
<tuxbrain> zear:I'm interested in have it :) not material time to (try)port it until the end of the month
<zear> tuxbrain, and i don't know java, so i can't port it myself
<tuxbrain> ? but to port it java knowledge is needed? the jvm(java interpreter) is in C or C++ I guess
<tuxbrain> vegyraupe: ping
<zear> well, the makefile requires you to have a java interpreter installed
<tuxbrain> ok
<zear> i think so
<tuxbrain> I understand, is a java library you have  to had an jvm installed
<mth> it probably need a Java compiler to compile the Java part of the class library
<zear> mth, yeah, that's probably something like that
<mth> assuming you are cross compiling, that should not be a problem though
<kristianpaul> pyneo !
<kristianpaul> getting files
<kristianpaul> i have a trouble
<kristianpaul> nano with no battery connected to usb dont power on
<kristianpaul> last thing i did was  http://pyneo.org/howto/debian/nano.html
<kristianpaul> Prepare the Nano-Note
<kristianpaul> help ! :/
<mth> is the current it can draw over unconfigured USB sufficient to run on?
<kristianpaul> i did run before
<kristianpaul> s/i/it
<kristianpaul> hmm
<mth> does the nano have a charger?
<kristianpaul> uncofigured
<kristianpaul> charger? no
<emdete> kristianpaul: usbboot mode?
<kristianpaul> emdete: yes
<mth> afaik USB starts in a low power mode and after exchanging some messages it can increase the power
<kristianpaul> [edit] Hardware USB_BOOT
<emdete> so how do you know?
<kristianpaul> i dont
<kristianpaul> i'm trying to get there
<emdete> if its in usbboot mode and switches on, the screen stays black...
<emdete> you have to watch syslog from the linux host where its connected to
<emdete> or a lsusb
<emdete> to see the dev
<kristianpaul> it is black as power off and dmesg said nothing new about the usb
<emdete> that happened to mee also from time to time. just unplug & replug usb
<mth> "Product: JZ4740 USB Boot Device"
<mth> that can be confusing the first time indeed
<emdete> mth: exact
<kristianpaul> trying again
<emdete> :)
<mth> well, this is from the Dingoo, but I expect it to be similar (slightly different CPU model?)
<kristianpaul> no luck
<kristianpaul> saids
<kristianpaul> i must on after press power button 2 seconds
<zear> mth, actually, for my lsusb it is listed as a blank device
<kristianpaul> dmesg?
<mth> zear: this was from dmesg
<zear> ah
<mth> kristianpaul: on the Dingoo I always press the B button (USB boot mode trigger there) first and then reset
<mth> it takes a very short time to get into USB boot mode, far less than a second
<emdete> mth: yes, a Bus 003 Device 006: ID 601a:4740
<kristianpaul> what abouy if i deleted uboot?
<zear> mth, the problem i had with booting the nanonote into usb boot mode was it needs about 2sec to do it
<kristianpaul> emdete: yes in normal contitions
<emdete> kristianpaul: no problem
<kristianpaul> usb hardware boot
<emdete> kristianpaul: the bootloader for usbboot is unbrickable
<emdete> it is /not/ u-boot
<emdete> you can wipe out the whole nand, np
<kristianpaul> ok
<emdete> kristianpaul: did you check to press power for some seconds (just watch syslog)
<kristianpaul> i did
<emdete> did you try another usb cable?
<emdete> do u have a hub inbetween?
<sid__> hi, is JZ4740 mips or mipsel?
<kristianpaul> no hub
<mth> sid__: mipsel, little endian
<kristianpaul> ii'll try other usb cable later (not have spare stuff here)
<emdete> kristianpaul: sounds weird, never had such a problem so often. succeeded always the second time to boot
<mth> zear: maybe power on vs reset makes a difference in timing?
<kristianpaul> emdete: i just deleted some stuff with xburst and then unplug
<kristianpaul> replug
<kristianpaul> and here i'm
<kristianpaul> i ran
<zear> mth, could be, i did it with power on
<emdete> could be you usb-boot "switch" is somehow... broken?
<kristianpaul> usbboot -c "boot"
<kristianpaul> sed -i 's/NAND_FORCEERASE = .*/NAND_FORCEERASE = 1/' /etc/xburst-tools/usbboot.cfg
<kristianpaul> usbboot -c "nerase 0 4096 0 0"
<kristianpaul> then unplug
<emdete> kristianpaul: yes, that wipes all. i had alot of problems after some flashing to flash without
<kristianpaul> hmm
<kristianpaul> i just want it to try pyneo :/
<emdete> kristianpaul: i assume you don't use usbboot at all - have you tried soft-usbboot?
<emdete> kristianpaul: pyneo isn't very far, you will try debian on the nn :)
<kristianpaul> emdete: soft-usboot? (U  + power)
<emdete> yes.
<kristianpaul> i did
<kristianpaul> dmesg said nothing
<kristianpaul> also syslog
<kristianpaul> and hardware usboot
<kristianpaul> saids
<kristianpaul> that the nano must turn on first
<kristianpaul> then unoplug and replug
<kristianpaul> and try hardware usb boot
<kristianpaul> so the first thing dind work
<kristianpaul> no power
<kristianpaul> no black LCM screen
<kristianpaul> any way
<kristianpaul> i must travel back home
<emdete> yes, it stays black in usbboot
<kristianpaul> nos leemos luego
<emdete> :D
<kristianpaul> emdete: but usb dont show nothing
<kristianpaul> chao !
<emdete> /thats/ strange
<sid__> mth: thx
<kristianpaul> help !
<kristianpaul> emdete: nothing :(
<kristianpaul> usb cable is okay
<kristianpaul> i did usb hardware boot i think bot dmesg nothing shows
<kristianpaul> if uboot is okay why it dint power up?
<kristianpaul> or may uboot be damaged? what can i do?
<mth> uboot is on the NAND, so erasing the NAND would erase it too
<mth> but USB boot should always work, in theory
<kristianpaul> mth: in theory
<kristianpaul> ?
<kristianpaul> :/
<kristianpaul> well in my case the nand was flashed
<mth> I don't know why it won't work for you
<sid_> in usb boot (u+power) screen is not on; lsusb is 601a:4740 instead of 0525:a4a2
<kristianpaul> lsusb is not changing
<kristianpaul> i know when it does as before i flashed nano
<kristianpaul> wait
<kristianpaul> is there !
<kristianpaul> uff
<kristianpaul> Booted successfully!
<kristianpaul> i really was scared
<kristianpaul> hardware usbot worked finally :)
<mth> :)
<mth> any idea why it didn't work earlier?
<kristianpaul> is gone
<kristianpaul> ah
<wolfspraul> kristianpaul: relax! :-)
<kristianpaul> okay back
<kristianpaul> mth: usb hardware boot is tricky
<kristianpaul> relly !
<kristianpaul> really*
<kristianpaul> hopes pyneo boots this time
<kristianpaul> i want debian in every device i can find :)
<wolfspraul> kristianpaul: why tricky? shorting the USB boot pins doesn't work all the time?
<wolfspraul> the lowest level test you can run on the host side to see whether the Nano is in USB boot mode is 'lsusb'
<kristianpaul> in my case dont
<kristianpaul> yes i did
<wolfspraul> if lsusb shows 601a:4740, it's in USB boot mode. if it doesn't show those numbers, it's not.
<kristianpaul> i think my method is not good at all
<kristianpaul> but it worked
<kristianpaul> not i'm flashing pyneo again
<wolfspraul> with the carbonized rubber button included in the box, you should be able to short those pins in at least 99% of cases
<kristianpaul> yes
<kristianpaul> i lost mine :/
<wolfspraul> oh
<wolfspraul> we'll send you a few new ones
<kristianpaul> is somewhere in de desk
<wolfspraul> can you email me your postal address?
<wolfspraul> he
<wolfspraul> well maybe you look there first
<kristianpaul> yes
<wolfspraul> if you cannot find it, we'll just put a few in a regular letter and mail to you
<wolfspraul> they cost something like .6 US cents or so
<kristianpaul> thanks :)
<kristianpaul> i think i can get some from an old calcultor
<kristianpaul> too
<wolfspraul> kristianpaul: please email me your postal address
<wolfspraul> well it's up to you
<wolfspraul> anytime, just email your address and we'll send a letter. no biggie.
<kristianpaul> ok
<wolfspraul> normal letter though, not fedex or so, that would be a little disproportionate
<kristianpaul> yup :)
<wolfspraul> without the button, which method are you using?
<wolfspraul> the second best for me always was aluminum foil, but I have heard other preferences
<kristianpaul> i'm using a resistor wire :p
<kristianpaul> it was just in front of mine
<wolfspraul> k
<wolfspraul> are you planning to hook up the UART GPS chip you have?
<kristianpaul> yes i want
<wolfspraul> I would be super interested in that
<wolfspraul> you need to hook it up to TP4/TP5, then you should have no keyboard interference issue
<kristianpaul> just let me finish the reprap i'll have more time
<wolfspraul> unfortunately those TPs are not under the battery label
<kristianpaul> ohh
<wolfspraul> yep
<wolfspraul> so jump into your first Nano disassembly :-)
<kristianpaul> TP4/TP5 is the second serial port isnt?
<kristianpaul> yeah seems i'll have too :)
<wolfspraul> not really, I think the CPU pins are somewhat configurable
<kristianpaul> ah okay
<wolfspraul> somehow the bottom line is that our latest u-boot will configure TP4/5 to be UART0, but without keyboard interference?
<wolfspraul> I am not 100% sure myself actually
<wolfspraul> but I believe it should work, I think David confirmed that
<wolfspraul> your application with the GPS chip would be the next step
<wolfspraul> see whether we can hookup a new peripheral to the Nano
<wolfspraul> if I come to Colombia in late June, that's a good opportunity for me to bring spare parts or what not
<wolfspraul> so if you dig out some success (or failures) before then we have an easy chance to react
<wolfspraul> of course I can always just mail stuff too...
<kristianpaul> my fears is that the nano will no be able to provide enought current
<kristianpaul> then something will reset
<kristianpaul> the wrt54gl used to do that :/
<kristianpaul> ahh pyneo
<kristianpaul> back to lovelly openwrt
<wolfspraul> kristianpaul: enough current for what?
<kristianpaul> wolfspraul: for the GPD
<kristianpaul> GPS*
<wolfspraul> kristianpaul: ah OK, for current question email the developer list, I'm sure Adam can have a definitive answer
<sid__> how do i get a xterm with the actual image?
<kristianpaul> hmm
<kristianpaul> xterm is X11 utility isnt?
<sid__> cannot work with gxmenu; does anyone currently trys to compile gentoo on it
<sid__> yes
<kristianpaul> WARNING: skipping gpsd -- package not selected
<kristianpaul> so it not just copy a package from openwrt and ya :)
<kristianpaul> hey open nano is easy if you start the right way :)
<kristianpaul> off bed
<wolfspraul> 'night
<qi-commits> Xiangfu Liu: add-xbboot-to-xburst-tools-debian-package http://qi-hw.com/p/xburst-tools/30a9ef8
<qi-commits> Xiangfu Liu: merge xbboot and usbboot to one projects http://qi-hw.com/p/xburst-tools/65cc561