Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
xiangfu has joined #qi-hardware
wolfspraul has joined #qi-hardware
urandom_ has quit [Remote host closed the connection]
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer06 has joined #qi-hardware
wolfspraul has quit [Quit: leaving]
jekhor has joined #qi-hardware
xiangfu_ has joined #qi-hardware
xiangfu has quit [Ping timeout: 264 seconds]
megha has joined #qi-hardware
jluis has joined #qi-hardware
LunaVorax has joined #qi-hardware
<LunaVorax> Hi
jekhor has quit [Ping timeout: 256 seconds]
wolfspraul has joined #qi-hardware
kyak has quit []
kyak has joined #qi-hardware
apelete has joined #qi-hardware
rz2k has joined #qi-hardware
MistahDarcy has quit [Quit: Leaving]
<apelete> Hello
<apelete> I have a question for the people who work on the openwrt image for the nanonote
<apelete> how do you guys debug the uboot bootloader when working on it ?
<apelete> do you have a jtag accessory or do you use another tool ?
<xiangfu_> using 'printf' and documents.
<xiangfu_> and the ingenic released a very old u-boot source code. 1.1.6 IIRC. so we are not start from 0. there are some code that we can look into.
<apelete> xiangfu_: ok, but what do you do when something goes wrong at uboot level ?
<apelete> I'm trying to modify the qi uboot to add jffs2 support in addition to ubifs
<xiangfu_> apelete: I use 'printf' and double check the code.
<apelete> xiangfu_: you use 'printf' in the uboot code ?
<xiangfu_> apelete: there is jtag pins in ben nanonte. but I never use that.
<xiangfu_> apelete: or serial_puts
<apelete> xiangfu_: my uboot+kernel+image setup does not boot. I'm wondering if I should solder my nanonote to add a jtag/serial debug port
<xiangfu_> you have to use serial port for sure.
<xiangfu_> for the kernel output and uboot output.
<apelete> xiangfu_: I guess I have no other choice then: I will have to solder a serial port on my nanonote...
<apelete> thanks :)
<xiangfu_> you are welcome.
<wpwrak> yeha, jtag is overkill for something like this. i once used it (on gta02, not the ben) to debug an issue in the very first instructions of u-boot, long before it even had the serial port ready. there it was somewhat useful. but that's really a once-in-ten-years sort of situation.
zear has quit [Excess Flood]
zear has joined #qi-hardware
<apelete> wpwrak: the problem is I don't know another way of debugging early processes like uboot and the kernel
<apelete> wpwrak: and the ben screen/resolution is way to small to read anything useful when these processes are crashing. do you have any advice ?
<apelete> s/to small/too small/
<qi-bot> apelete meant: "wpwrak: and the ben screen/resolution is way too small to read anything useful when these processes are crashing. do you have any advice ?"
<apelete> (wow, a grammar bot :) )
<biot> oh my god
<biot> that's great :-)
<wpwrak> the screen may not be reliable for such things. what works best is a serial console. that way, you can read the system's last words even if it completely shuts down afterwards.
<apelete> how do you setup a serial console without a serial/jtag port ?
<apelete> there is no serial output on the ben by default (hardware wise I mean)
<wpwrak> here is a drawing of serial debug hardware i once added: http://www.almesberger.net/misc/ben/idbg-v2-install.jpg
<wpwrak> there is also a second set of contacts but there, the outside->ben direction is shared with another function. here are more details: http://en.qi-hardware.com/wiki/Serial_console
<apelete> wpwrak: ok, so we're back at the same point: I need to solder a few pins to have a serial console.
<wpwrak> and something compatible with 3.3 V you can connect to. e.g., another ben or similar. or a RS-232 cable with a level converter, as described in the wiki
<apelete> wpwrak: thanks for the tips. I was afraid to come down to the soldering iron solution, but I guess I will have no other choice.
LunaVorax has quit [Read error: Connection reset by peer]
<wpwrak> since your code runs fairly late in the life of the system and crashes may be fairly benign to overall system status (e.g., you're unlikely to disable DRAM refresh or upset address translation), you may also be able to succeed with printing on the screen. if the amount of output is too large, you need to do some limiting. e.g., stop the system after the first error. then you have time to examine the reports, and some of the non-error status output th
<wpwrak> at may have gone before them.
<wpwrak> but a serial console is certainly more convenient
xiangfu_ has quit [Quit: leaving]
baba has joined #qi-hardware
megha has quit [Ping timeout: 240 seconds]
baba is now known as hack
emeb has joined #qi-hardware
jluis has quit [Ping timeout: 245 seconds]
wej has quit [Ping timeout: 245 seconds]
wej has joined #qi-hardware
wej has quit [Ping timeout: 248 seconds]
wej has joined #qi-hardware
hack is now known as megha
jekhor has joined #qi-hardware
DocScrutinizer06 is now known as DocScrutinizer05
emeb has quit [Read error: Operation timed out]
emeb has joined #qi-hardware
rz2k has quit []
emeb has quit [*.net *.split]
emeb has joined #qi-hardware
jekhor has quit [Ping timeout: 240 seconds]
<kristianpaul> wpwrak: abstraction to a higher layer like verilog? or a foorplan description language?
kilae has joined #qi-hardware
<wpwrak> oh, just anything above it. typically, it would be a very small abstraction. e.g., if wolfgang uses uint8_t for pin numbers in one and uint16_t in another, then the unifying interface would have uint16_t and maybe check the numbers when going to a uint8_t item.
<wpwrak> but it would really depend on the nature of the differences
<wpwrak> i'd assume that xc6 and xc7 are not fundamentally different. i.e., that xc7 still has flip-flops, luts, routes, etc. not, say, descriptions of quantum state.
apelete has quit [Ping timeout: 255 seconds]
jekhor has joined #qi-hardware
LunaVorax has joined #qi-hardware
Artlav has joined #qi-hardware
jekhor has quit [Ping timeout: 248 seconds]
<larsc> especially the high level work flows will quite likely be the same
<Artlav> Hi all.
<Artlav> Anyone know of an SSTV decoder for NanoNote?
LunaVorax has quit [Quit: Quitte]
jekhor has joined #qi-hardware
kilae has quit [Quit: ChatZilla 0.9.90 [Firefox 18.0.2/20130201065344]]
<wpwrak> Artlav: in my crystal ball, i see one in the future ... one that shall be called Artlav's SSTV decoder :)
<Artlav> Well, if i get to make one i'll share it. :) Would be a pity to waste the effort if there is one already, however.
<wpwrak> i wonder if anyone here has ever heard of SSTV before you mentioned it :)
<wpwrak> perhaps you could adapt QSSTV (or take the parts you can use, and transplant them onto SDL)
jekhor has quit [Ping timeout: 248 seconds]
jekhor has joined #qi-hardware
<Artlav> Sounds like a nice use for the nn - put it next to the receiver instead of a bulky laptop, and watch the pictures.
apelete has joined #qi-hardware
jekhor has quit [Ping timeout: 264 seconds]
Artlav has left #qi-hardware [#qi-hardware]
jekhor has joined #qi-hardware
jekhor has quit [Ping timeout: 252 seconds]
wolfspraul has quit [Ping timeout: 264 seconds]
guanucoluis has joined #qi-hardware
kristianpaul has quit [Ping timeout: 245 seconds]
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
woakas has quit [Ping timeout: 248 seconds]
apelete has quit [Ping timeout: 276 seconds]
woakas has joined #qi-hardware
urandom_ has joined #qi-hardware
baba has joined #qi-hardware
megha has quit [Ping timeout: 255 seconds]
wej has quit [Ping timeout: 245 seconds]
wej has joined #qi-hardware
wej has quit [Ping timeout: 264 seconds]