kyak changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben/atusb 802.15.4 wireless, anelok and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
archang has quit [Remote host closed the connection]
archang has joined #qi-hardware
fengling has quit [Ping timeout: 252 seconds]
fengling has joined #qi-hardware
Haswell has quit [Quit: Saliendo]
atommann has joined #qi-hardware
archang has quit [Remote host closed the connection]
archang has joined #qi-hardware
kristianpaul has joined #qi-hardware
Textmode has joined #qi-hardware
archang has quit [Read error: Connection reset by peer]
wej has quit [Ping timeout: 246 seconds]
jwhitmore has joined #qi-hardware
wej has joined #qi-hardware
jwhitmore has quit [Ping timeout: 252 seconds]
jwhitmore has joined #qi-hardware
rjeffries has quit [Ping timeout: 272 seconds]
DracoDan has quit []
fengling has quit [Quit: WeeChat 1.1.1]
fengling has joined #qi-hardware
Haqpyfeet has quit [Ping timeout: 250 seconds]
Haqpyfeet has joined #qi-hardware
wolfspraul has joined #qi-hardware
atommann has quit [Quit: Leaving]
wej has quit [Ping timeout: 248 seconds]
wej has joined #qi-hardware
Textmode has quit [Quit: "It was one dev, naked in a room with a carton of cigarettes, a thermos full of coffee and bourbon, and all his summoned angels."]
rjeffries has joined #qi-hardware
pcercuei has joined #qi-hardware
wej has quit [Ping timeout: 246 seconds]
qwebirc90287 has joined #qi-hardware
<qwebirc90287> rjeffries asks: what are your thoughts re: http://www.lowrisc.org/
qwebirc90287 has quit [Client Quit]
paul_boddie has joined #qi-hardware
<paul_boddie> Anyone have any hints about running standalone programs from U-Boot on the NanoNote?
<pcercuei> ELFs?
<paul_boddie> The binary portions of ELFs bundled as uImages. Not sure if that's sane or not, but it works over USB boot.
<paul_boddie> Maybe I should be using plain ELFs in uImage files.
<paul_boddie> I think the executable launches, but if so I can't easily verify it because I need to reset the display, and I'm not sure if that's working, either.
<paul_boddie> Binary portions should apparently work: http://www.stlinux.com/u-boot/mkimage/kernel-images
<paul_boddie> U-Boot seems to want to load the binary at 0x80600000. Sound familiar to anyone?
<pcercuei> the Linux kernel expect to be loaded at 0x80010000
<pcercuei> expects
<pcercuei> for the jz4740 at least
<paul_boddie> I'm trying to re-use a stage 2 payload that works over USB boot. That does some relocation hacks to deal with being loaded in a different place by usbboot.
<paul_boddie> U-Boot says "Booting kernel from Legacy Image at 80600000 ..." and then shows the image details.
<paul_boddie> It ends with "Loading Standalone Program ... OK", then "OK", then... well, maybe it runs. ;-)
<paul_boddie> However, if I choose load/entry addresses of 0x80600000, I get "XIP Standalone Program ... OK" and then "OK".
<paul_boddie> (This isn't a Linux kernel, obviously.)
<pcercuei> but what address did you compile your program for?
<paul_boddie> I've tried 0x80000000 and 0x80010000 giving the "Loading Standalone Program" message.
<paul_boddie> And 0x80600000 gives the "XIP Standalone Program" message.
<paul_boddie> In other words, I've specified the load and entry addresses when running mkimage. The binary itself should be relocateable, but maybe that's my big mistake.
<paul_boddie> I'll be back later, but I'll check the logs if you have any hints, particularly about obvious mistakes I've made. ;-)
paul_boddie has quit []
wolfspraul has quit [Quit: leaving]
wej has joined #qi-hardware
wej has quit [Ping timeout: 248 seconds]
wej has joined #qi-hardware
pcercuei has quit [Ping timeout: 252 seconds]
jwhitmore has quit [Ping timeout: 255 seconds]
Haswell has joined #qi-hardware
arhuaco has quit [Ping timeout: 245 seconds]
arhuaco has joined #qi-hardware