IRC log of #cubox of Wed 27 Feb 2013. All times are in CET < Back to index

04:48 lfranchi hey guys :) thinking about getting a cubox to build a little NAS/media server. i have some code i'm writing in Clojure, so I'm wondering if anyone's seen/heard of people running clojure on the java embedded that's available (if any?) on the board?
04:49 cbxbiker61 sun now has a jdk7 release for armv6+, i'd use that
04:50 lfranchi cool
04:50 cbxbiker61 if it's clean java code, it should work fine
04:51 cbxbiker61 clean meaning no jni
04:51 lfranchi Yeah, from what I've read it's not hard to run clojure jars on embedded jdks
04:51 lfranchi no jni or ugly stuff like that :)
04:52 lfranchi ok, time to get on w/ finishing the code so i can get a cubox and try it out! couldn't find anything but the cubox that has optical out and fits the bill
06:54 `jpi why are you using java for NAS server :O
07:29 purch to make live difficult :P
07:29 purch likes the pain :)
07:45 `jpi cbxbiker61: there is no such thing as clean java code :p
07:45 `jpi that is a paradox
11:38 `jpi punkt: there ?
11:38 `jpi where did you get these dram config ?
11:43 punkt `jpi: i found it in https://github.com/rabeeh/u-boot/blob/master/tools/doimage_dove/dramregs/dramregs_cubox.txt
11:44 `jpi ok but the spec says it has to end with zero/zero pair
11:45 `jpi also there has to be a 8bit cksum for the complete 480b
11:45 `jpi i added a function and fixed the flash_header checksum looking into extended header now
11:54 punkt `jpi: yes, the header extension needs this checksum, 0x200-0x20 = 0x1e0 (480d) bytes
11:54 `jpi ok that could be filled using ldscript
11:55 punkt `jpi: how do you do that, i was thinking about an implementation, but did not come around to it
11:56 `jpi how do you mean ?
11:57 punkt i did not have time to implement the checksum calculation in ld script
13:51 lfranchi `jpi: because i like clojure (and need a concrete project to do to learn it better :)
13:52 `jpi punkt: i meant hardcode
13:52 `jpi i dont think that is possible in ldscript
13:53 `jpi i meant fll with zeros in ldscript
13:53 `jpi is hardcode an option ?
14:16 punkt `jpi: its one option, but not the nicest
14:17 punkt `jpi: i think we can do something like this: http://tech.munts.com/MCU/Frameworks/ARM/lpc17xx/lpc17xx.ld
14:45 `jpi punkt: i saw that but when you calculate the 32bit checksum of binary header not feasible
14:46 `jpi probably best option would be to have a separate do_image_dove thing :)
14:51 punkt `jpi: worst case, yes