2013-02-18 00:22 xiangfu has joined #qi-hardware 2013-02-18 01:28 wolfspraul has joined #qi-hardware 2013-02-18 01:30 urandom_ has quit [Remote host closed the connection] 2013-02-18 04:03 DocScrutinizer05 has quit [Disconnected by services] 2013-02-18 04:03 DocScrutinizer06 has joined #qi-hardware 2013-02-18 06:31 wolfspraul has quit [Quit: leaving] 2013-02-18 07:14 jekhor has joined #qi-hardware 2013-02-18 07:17 xiangfu_ has joined #qi-hardware 2013-02-18 07:20 xiangfu has quit [Ping timeout: 264 seconds] 2013-02-18 07:43 megha has joined #qi-hardware 2013-02-18 07:46 jluis has joined #qi-hardware 2013-02-18 08:19 LunaVorax has joined #qi-hardware 2013-02-18 08:19 Hi 2013-02-18 08:32 jekhor has quit [Ping timeout: 256 seconds] 2013-02-18 10:53 wolfspraul has joined #qi-hardware 2013-02-18 12:18 kyak has quit [] 2013-02-18 12:25 kyak has joined #qi-hardware 2013-02-18 13:41 apelete has joined #qi-hardware 2013-02-18 13:46 rz2k has joined #qi-hardware 2013-02-18 14:02 MistahDarcy has quit [Quit: Leaving] 2013-02-18 14:05 Hello 2013-02-18 14:06 I have a question for the people who work on the openwrt image for the nanonote 2013-02-18 14:06 how do you guys debug the uboot bootloader when working on it ? 2013-02-18 14:08 do you have a jtag accessory or do you use another tool ? 2013-02-18 14:30 using 'printf' and documents. 2013-02-18 14:31 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. 2013-02-18 14:38 xiangfu_: ok, but what do you do when something goes wrong at uboot level ? 2013-02-18 14:39 I'm trying to modify the qi uboot to add jffs2 support in addition to ubifs 2013-02-18 14:40 apelete: I use 'printf' and double check the code. 2013-02-18 14:41 xiangfu_: you use 'printf' in the uboot code ? 2013-02-18 14:41 apelete: there is jtag pins in ben nanonte. but I never use that. 2013-02-18 14:41 apelete: or serial_puts 2013-02-18 14:42 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 2013-02-18 14:42 you have to use serial port for sure. 2013-02-18 14:42 for the kernel output and uboot output. 2013-02-18 14:44 xiangfu_: I guess I have no other choice then: I will have to solder a serial port on my nanonote... 2013-02-18 14:44 thanks :) 2013-02-18 14:45 you are welcome. 2013-02-18 14:52 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. 2013-02-18 14:53 zear has quit [Excess Flood] 2013-02-18 14:53 zear has joined #qi-hardware 2013-02-18 14:55 wpwrak: the problem is I don't know another way of debugging early processes like uboot and the kernel 2013-02-18 14:56 wpwrak: and the ben screen/resolution is way to small to read anything useful when these processes are crashing. do you have any advice ? 2013-02-18 14:56 s/to small/too small/ 2013-02-18 14:56 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 ?" 2013-02-18 14:57 (wow, a grammar bot :) ) 2013-02-18 14:58 oh my god 2013-02-18 14:58 that's great :-) 2013-02-18 14:59 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. 2013-02-18 14:59 how do you setup a serial console without a serial/jtag port ? 2013-02-18 15:00 there is no serial output on the ben by default (hardware wise I mean) 2013-02-18 15:00 here is a drawing of serial debug hardware i once added: http://www.almesberger.net/misc/ben/idbg-v2-install.jpg 2013-02-18 15:02 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 2013-02-18 15:10 wpwrak: ok, so we're back at the same point: I need to solder a few pins to have a serial console. 2013-02-18 15:13 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 2013-02-18 15:16 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. 2013-02-18 15:16 LunaVorax has quit [Read error: Connection reset by peer] 2013-02-18 15:16 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 2013-02-18 15:16 at may have gone before them. 2013-02-18 15:16 but a serial console is certainly more convenient 2013-02-18 15:26 xiangfu_ has quit [Quit: leaving] 2013-02-18 15:44 baba has joined #qi-hardware 2013-02-18 15:45 megha has quit [Ping timeout: 240 seconds] 2013-02-18 15:47 baba is now known as hack 2013-02-18 15:49 emeb has joined #qi-hardware 2013-02-18 16:21 jluis has quit [Ping timeout: 245 seconds] 2013-02-18 16:24 wej has quit [Ping timeout: 245 seconds] 2013-02-18 16:31 wej has joined #qi-hardware 2013-02-18 16:41 wej has quit [Ping timeout: 248 seconds] 2013-02-18 16:46 wej has joined #qi-hardware 2013-02-18 16:47 hack is now known as megha 2013-02-18 16:48 jekhor has joined #qi-hardware 2013-02-18 16:53 DocScrutinizer06 is now known as DocScrutinizer05 2013-02-18 17:01 emeb has quit [Read error: Operation timed out] 2013-02-18 17:15 emeb has joined #qi-hardware 2013-02-18 17:25 rz2k has quit [] 2013-02-18 17:31 emeb has quit [*.net *.split] 2013-02-18 17:36 emeb has joined #qi-hardware 2013-02-18 17:37 jekhor has quit [Ping timeout: 240 seconds] 2013-02-18 17:45 wpwrak: abstraction to a higher layer like verilog? or a foorplan description language? 2013-02-18 17:48 kilae has joined #qi-hardware 2013-02-18 17:58 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. 2013-02-18 17:58 but it would really depend on the nature of the differences 2013-02-18 17:59 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. 2013-02-18 18:18 apelete has quit [Ping timeout: 255 seconds] 2013-02-18 18:20 jekhor has joined #qi-hardware 2013-02-18 18:23 LunaVorax has joined #qi-hardware 2013-02-18 18:45 Artlav has joined #qi-hardware 2013-02-18 19:17 jekhor has quit [Ping timeout: 248 seconds] 2013-02-18 20:06 especially the high level work flows will quite likely be the same 2013-02-18 20:06 Hi all. 2013-02-18 20:07 Anyone know of an SSTV decoder for NanoNote? 2013-02-18 20:32 LunaVorax has quit [Quit: Quitte] 2013-02-18 20:52 jekhor has joined #qi-hardware 2013-02-18 20:56 kilae has quit [Quit: ChatZilla 0.9.90 [Firefox 18.0.2/20130201065344]] 2013-02-18 21:00 Artlav: in my crystal ball, i see one in the future ... one that shall be called Artlav's SSTV decoder :) 2013-02-18 21:02 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. 2013-02-18 21:03 i wonder if anyone here has ever heard of SSTV before you mentioned it :) 2013-02-18 21:05 perhaps you could adapt QSSTV (or take the parts you can use, and transplant them onto SDL) 2013-02-18 21:08 jekhor has quit [Ping timeout: 248 seconds] 2013-02-18 21:26 jekhor has joined #qi-hardware 2013-02-18 21:28 Sounds like a nice use for the nn - put it next to the receiver instead of a bulky laptop, and watch the pictures. 2013-02-18 21:37 apelete has joined #qi-hardware 2013-02-18 21:49 jekhor has quit [Ping timeout: 264 seconds] 2013-02-18 21:49 Artlav has left #qi-hardware [#qi-hardware] 2013-02-18 21:51 jekhor has joined #qi-hardware 2013-02-18 22:21 jekhor has quit [Ping timeout: 252 seconds] 2013-02-18 22:40 wolfspraul has quit [Ping timeout: 264 seconds] 2013-02-18 22:49 guanucoluis has joined #qi-hardware 2013-02-18 22:52 kristianpaul has quit [Ping timeout: 245 seconds] 2013-02-18 22:52 kristianpaul has joined #qi-hardware 2013-02-18 22:52 kristianpaul has quit [Changing host] 2013-02-18 22:52 kristianpaul has joined #qi-hardware 2013-02-18 23:01 woakas has quit [Ping timeout: 248 seconds] 2013-02-18 23:02 apelete has quit [Ping timeout: 276 seconds] 2013-02-18 23:16 woakas has joined #qi-hardware 2013-02-18 23:33 urandom_ has joined #qi-hardware 2013-02-18 23:45 baba has joined #qi-hardware 2013-02-18 23:46 megha has quit [Ping timeout: 255 seconds] 2013-02-18 23:48 wej has quit [Ping timeout: 245 seconds] 2013-02-18 23:52 wej has joined #qi-hardware 2013-02-18 23:57 wej has quit [Ping timeout: 264 seconds]