DocScrutinizer05 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, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
wej has joined #qi-hardware
Calyp has quit [Quit: gone working on freeconomy =o)]
<wpwrak> hmm nice. the busybox insmod doesn't print a diagnostic if you specify a file that doesn't exist. that's helpful :)
wolfspraul has quit [Quit: leaving]
<wpwrak> ... and it doesn't clean up after a failed insertion. bah.
<wpwrak> hmm, does anyone know of a sane way to accomplish this: given an SPI driver (in the monolithic kernel) and some driver that goes on top of it (module), i'd like the SPI driver's probe function to be run only when a suitable driver to go in top is loaded.
<wpwrak> the scenario is with spi-gpio at the bottom and atben on top. spi-gpio is monolithic, atben (and more stuff) a module. the problem is that, if i tell spi-gpio where the GPIOs are, it'll try to grab them instantly, causing a conflict with MMC.
<wpwrak> in practice, i won't use spi-gpio anyway, so there's no issue with making the spi driver a module, but i still wonder if i could also solve this cleanly for spi-gpio
rz2k has quit []
deceivorz has quit []
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
freemor has left #qi-hardware [#qi-hardware]
cod3r has quit [Quit: WeeChat 0.4.0]
panda|x201 has joined #qi-hardware
FDCX has quit [Remote host closed the connection]
<larsc> not really, you can manually unbind the driver after it has been probed
<pcercuei> you slept only 6 hours?
<larsc> 6 and half
<larsc> I usually just wake up when it gets light outside
jekhor has joined #qi-hardware
jekhor has quit [Ping timeout: 256 seconds]
panda|x201 has quit [Ping timeout: 264 seconds]
lekernel has joined #qi-hardware
MistahDarcy has joined #qi-hardware
xiangfu has joined #qi-hardware
<lekernel> sharism.cc down again ...
<larsc> somebody should really set up a sign: "Don't unplug this cable"
<wpwrak> larsc: (no other way) hmm, that's what i suspected. thanks for confirming !
<wpwrak> (sharism) reminds me of some issues in machine rooms where the cleaning personnel unplugged the computers to connect their vacuum cleaners ...
<larsc> wpwrak: btw. udc works just fine if I initialize max_speed in the static jz4740_udc_controller struct
<wpwrak> larsc: even better :) and yes, it wouldn't make much sense for the rest of the USB code to be overly picky about where this gets set
xiangfu has quit [Read error: Connection reset by peer]
xiangfu has joined #qi-hardware
jekhor has joined #qi-hardware
LunaVorax has joined #qi-hardware
pcercuei has quit [Ping timeout: 240 seconds]
kuribas has joined #qi-hardware
wej has quit [Ping timeout: 248 seconds]
<kuribas> How do I extract a kernel image using usbboot?
LunaVorax has quit [Read error: Connection reset by peer]
LunaVorax has joined #qi-hardware
<larsc> whitequark's jzboot has a nanddump command
<larsc> which allows you to read the data from the nand and dump it into a file
<larsc> if you don't know the parition layout, just dump everything and look for markers
<kuribas> Doesn't it support the JZ4755?
<larsc> good question
<larsc> you'll need the .bins
<larsc> I guess
<larsc> it has support for the jz4750 and the jz4760
<kuribas> I have a nandboot that I downloaded from the ingenic website.
<larsc> that one should also be able to dump the nand
<larsc> but I think it's a windows tool
<larsc> one thing you also need to figure out is how the nand is configured
<kuribas> I know which chips it has...
<larsc> that's a good start
<kuribas> And there is this info, which seems the same device: http://openthebook.byteorder.net/doku.php
<larsc> if it's the same device, you probably don't even need to dump the nand since there is downloadable image
<kuribas> Well, there isn't, but maybe the guy from this page has it.
<kuribas> I'll try emailing him.
<larsc> ah, the company went already out of buisness
<kuribas> yeah...
<kuribas> Oh, great!
<kuribas> Oh, right!
<kuribas> Well, I don't speak russian.
<viric> whitequark, kyak: завтра вечером, да?
<kuribas> Maybe it's a wasted effort, hacking on a device that is out of business...
<larsc> ah, ok the zip even has the usbboot cfg
<kuribas> It's not such a great device, it's very heavy and clunky, but it has a keyboard and mousepad, which is nice for linux.
<larsc> but of course the kernel.upg is missing
<viric> what device?
<viric> isn't walmart evil? :)
<kuribas> larsc: The guy from the openthebook probably still has the kernel.
<viric> is this a jz47xx device?
<kuribas> jz4755
<viric> aha
<kuribas> viric: it's made in a sweatshop?
<viric> ? :)
<kuribas> You never know in China...
<viric> yes, very cheap device
freemor has joined #qi-hardware
<whitequark> viric: kyak: да
wolfspraul has joined #qi-hardware
panda|x201 has joined #qi-hardware
xiangfu has quit [Ping timeout: 245 seconds]
xiangfu has joined #qi-hardware
xiangfu_ has joined #qi-hardware
xiangfu has quit [Ping timeout: 252 seconds]
panda|x201 has quit [Ping timeout: 256 seconds]
<larsc> kuribas: since you have the usbboot.cfg and the kernel partition offset it is not so hard to create a dump
wolfspraul has quit [Ping timeout: 240 seconds]
xiangfu_ has quit [Ping timeout: 246 seconds]
wolfspraul has joined #qi-hardware
xiangfu has joined #qi-hardware
Jurting_pc2 has joined #qi-hardware
xiangfu has quit [Ping timeout: 260 seconds]
xiangfu has joined #qi-hardware
<kyak> viric, whitequark roger that
<kuribas> larsc: Using jzboot?
<larsc> kuribas: yes
<larsc> no
<larsc> sorrt
<larsc> using the windows binary
<kuribas> I don't have windows.
<kuribas> Only linux
<larsc> wine might do
<larsc> or you could try fw.bin as stage1.bin and usb_boot.bin as stage2.bin
<larsc> with jzboot
<kuribas> So I need to install these to read the nand?
<larsc> yes, that's what runs on the target
<larsc> whitequark: you know this, do the ingenic usbboot fw.bin, etc work with jzboot?
<whitequark> larsc: that was two years ago...
<whitequark> and jzboot wasn't even written by me
xiangfu has quit [Ping timeout: 276 seconds]
<kuribas> Ok, I am in the windows usbboot. There is no nanddump command though.
<larsc> any other commands that should similar?
<larsc> ndump
<kuribas> readnand
<larsc> could be
<kuribas> "read data from nand flash and store to SDRAM"
<kuribas> nread: read NAND flash data with checking bad block and ECC;
<larsc> I thin it is nread
<kuribas> Ok: nread 0 1024 0 0 => Can not connect device!
<kuribas> lsusb: Bus 001 Device 009: ID 601a:4750 Ingenic Semiconductor Ltd.
<larsc> boot 0 first
<larsc> then nread 1024 4194304 0 0
<kuribas> Boot fail, cannot connect device
<larsc> hm
xiangfu has joined #qi-hardware
<kuribas> jzboot gives me after trying boot: ingenic_loadstage: Connection timed out
<larsc> hm
<kuribas> jzboot shows the device
<larsc> did you use wine?
xiangfu has quit [Read error: Connection reset by peer]
<kuribas> also
xiangfu has joined #qi-hardware
<kuribas> I'll try with my windows netbook.
<kuribas> Also doesn't work.
deceivorz has joined #qi-hardware
xiangfu has quit [Ping timeout: 255 seconds]
xiangfu has joined #qi-hardware
guanucoluis has joined #qi-hardware
kuribas has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
wej has joined #qi-hardware
xiangfu has quit [Read error: Connection reset by peer]
xiangfu has joined #qi-hardware
xiangfu has quit [Read error: Connection reset by peer]
rz2k has joined #qi-hardware
pcercuei has joined #qi-hardware
deceivorz has quit []
xiangfu has joined #qi-hardware
kilae has joined #qi-hardware
xiangfu has quit [Read error: Connection reset by peer]
LunaVorax has quit [Remote host closed the connection]
xiangfu has joined #qi-hardware
xiangfu has quit [Ping timeout: 252 seconds]
wej has quit [Ping timeout: 264 seconds]
wej has joined #qi-hardware
Calyp has joined #qi-hardware
kyak has quit [Ping timeout: 276 seconds]
xiangfu has joined #qi-hardware
kilae has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]]
xiangfu has quit [Ping timeout: 256 seconds]
kyak has joined #qi-hardware
kyak has quit [Changing host]
kyak has joined #qi-hardware
lekernel has quit [Quit: Leaving]
guanucoluis has quit [Ping timeout: 245 seconds]
Jurting_pc2 has quit [Read error: Connection reset by peer]
Jurting_pc2 has joined #qi-hardware
jekhor has quit [Read error: Operation timed out]
jow_laptop has quit [Read error: Operation timed out]
jow_laptop has joined #qi-hardware
Jurting_pc2 has quit [Read error: Connection reset by peer]
emeb has joined #qi-hardware
jekhor has joined #qi-hardware
eintopf has quit [Ping timeout: 248 seconds]
eintopf has joined #qi-hardware
wolfspraul has quit [Ping timeout: 252 seconds]
Calyp has quit [Quit: gone working on freeconomy =o)]
wej has quit [Ping timeout: 248 seconds]
jekhor has quit [Ping timeout: 256 seconds]
xiangfu has joined #qi-hardware
coyo has joined #qi-hardware
coyo has joined #qi-hardware
coyo has quit [Changing host]
xiangfu has quit [Ping timeout: 272 seconds]
FDCX has joined #qi-hardware
xiangfu has joined #qi-hardware