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
<nicksydney> seems like Germany is going to have a hard time with US trying to retrieve their 'assets' http://www.zerohedge.com/news/2014-01-19/germany-has-recovered-paltry-5-tons-gold-ny-fed-after-one-year
<wpwrak> i see a bit of a conflict looming there
arielenter has quit [Ping timeout: 260 seconds]
<nicksydney> GFC v2.0 coming for sure..can feel it in my bone
<nicksydney> another Samsung Exynos 4412 board http://www.cnx-software.com/2014/01/20/69-nanopc-by-friendlyarm-features-samsung-exynos-4412-soc/ ... but adding shipping not much cheaper
dos1 has quit [Read error: Operation timed out]
arielenter has joined #qi-hardware
arielenter has quit [Quit: Leaving.]
arielenter has joined #qi-hardware
arielenter has quit [Client Quit]
kyak has quit [Ping timeout: 252 seconds]
kyak has joined #qi-hardware
arielenter has joined #qi-hardware
arielenter has quit [Ping timeout: 260 seconds]
arielenter has joined #qi-hardware
pcercuei has quit [Quit: dodo]
arielenter has quit [Ping timeout: 248 seconds]
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #qi-hardware
jekhor has joined #qi-hardware
jekhor has quit [Ping timeout: 252 seconds]
<nicksydney> wpwrak: going to pick up the KL chip tomorrow :) ... a kind soul willing to take my order to combine our order together to save shipping :)
wolfspraul has quit [Ping timeout: 260 seconds]
lekernel has joined #qi-hardware
jekhor has joined #qi-hardware
wej has quit [Ping timeout: 245 seconds]
wej has joined #qi-hardware
wolfspraul has joined #qi-hardware
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
dos1 has joined #qi-hardware
dos11 has joined #qi-hardware
dos1 has quit [Read error: Operation timed out]
dos11 is now known as dos1
dos1 has quit [Ping timeout: 272 seconds]
pcercuei has joined #qi-hardware
wolfspraul has quit [Ping timeout: 252 seconds]
rz2k|2 has joined #qi-hardware
CYB3R_ has joined #qi-hardware
<CYB3R_> Hi all!
<CYB3R_> I found a description of boot process in ingenic-uboot. Here it is: https://gist.github.com/CYB3Rhuman/8539843
<CYB3R_> But few things are still not clear for me.
<CYB3R_> How many bootloaders are there? Is U-Boot the SPL or is it launched after SPL?
<viric> after
<viric> the spl loads the nub into ram from nand
<CYB3R_> Okay, so there are 3 bootloaders: IPL -> SPL -> NUB
<CYB3R_> IPL is implemented in hardware, NUB is compiled and stored in NAND. So where do I have the SPL?
<viric> it says that the IPL loads the SPL from nand
<CYB3R_> Yes, but if I have clear NAND, should I write an SPL to it?
<viric> I understand that.
<CYB3R_> Where do I get SPL from?
<viric> I have no idea. I only read that text:)
<CYB3R_> There is also `nandboot` utility from Ingenic. This may be that magic SPL or an alternative to U-Boot.
<pcercuei> CYB3R_: there are 4 loaders
<pcercuei> the IPL which is in hardware
<pcercuei> the SPL which is 8kB max,
<pcercuei> and finally u-boot
<pcercuei> sorry, 3
<pcercuei> the SPL is a part of u-boot
<pcercuei> as u-boot is too big to fit in 8kB, it was cut in half
<pcercuei> the first 8kB initialize the clocks and the RAM, then load the second part of u-boot from NAND
<CYB3R_> pcercuei: Thank you! I found that U-Boot have both `u-boot-spl.bin` and `u-boot-nand.bin`
<CYB3R_> So the IPL is part of JZ47XX chip and the other two loaders are two stages of U-Boot.
<pcercuei> yes
<CYB3R_> Seems like we don't need any NAND configuration, because it just simply nowhere to store it.
<pcercuei> what are you trying to do?
<CYB3R_> We only use BOOTSEL0 and BOOTSEL1 combination to show that we need to boot SPL from NAND
<CYB3R_> I'm just studying the xburst
<pcercuei> we have another bootloader for JZ47xx based chips, called ubiboot
<pcercuei> it can boot from an UBI volume on a NAND or from a FAT filesystem on a SD card
<CYB3R_> Wow, thank you. I was googling around, but only found nandboot and modified U-Boot
<pcercuei> and it's less than 8kB
<CYB3R_> Does UBIBoot only initialize SRAM? Or maybe it is capable of writting an image to framebuffer?
<pcercuei> it doesn't initialize the video hardware
<pcercuei> that was a design decision
<CYB3R_> So it's better because there should be less steps.
<CYB3R_> IPL -> U-Boot SPL -> U-Boot NUB -> Linux
<CYB3R_> vs
<CYB3R_> IPL -> UBIBoot SPL -> Linux
<viric> the ubiboot can load linux?
<pcercuei> viric: yes
<pcercuei> in raw format, not elf
<viric> ok, ready for ram
<CYB3R_> pcercuei: what is raw format? I only know elf binaries.
lekernel has quit [Ping timeout: 252 seconds]
<CYB3R_> do you mean this bzImage?
<pcercuei> vmlinux.bin, vmlinuz.bin, bzImage.bin
lekernel has joined #qi-hardware
<CYB3R_> What tool do you use to put spl and kernel to nand? jzboot?
<pcercuei> jzboot yes
wolfspraul has joined #qi-hardware
rz2k|2 has quit []
jekhor has quit [Read error: Connection reset by peer]
<CYB3R_> pcercuei: I found three headers with different RAM configs for GCW0, where are Dingoo RAM config defined?
<pcercuei> directly in board-a320.c, I think
<CYB3R_> Thank you. I have different sdram, so I should modify this
<viric> I thought you said that you were simply curious. Now you have a different sdram
<viric> :)
<CYB3R_> I'm curious, so I'm trying to set it up
<CYB3R_> I already have one jz47xx board (xz0032) and I aslo will try to create something of my own design
<pcercuei> what version of the JZ?
<CYB3R_> jz4725b and jz4755
<CYB3R_> all the others are bga so it's very tricky to solder it
<pcercuei> ok
arielenter has joined #qi-hardware
CYB3R_ has quit [Quit: Page closed]
dos1 has joined #qi-hardware
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
derRichard has quit [Ping timeout: 260 seconds]
ysionneau has quit [Ping timeout: 260 seconds]
derRichard has joined #qi-hardware
ysionneau has joined #qi-hardware
wej has quit [Ping timeout: 260 seconds]
apelete has quit [Ping timeout: 272 seconds]
wej has joined #qi-hardware
jekhor has joined #qi-hardware
wej has quit [Ping timeout: 252 seconds]
wej has joined #qi-hardware
rz2k has joined #qi-hardware
apelete has joined #qi-hardware
qwebirc84653 has joined #qi-hardware
qwebirc84653 is now known as rjeffries
<rjeffries> Tom Cubie has his head screwed on right, me thinks. His new Rock chip based board is pretty nice, and reasonably open. But you tell me. http://radxa.com/download/
arielenter has quit [Quit: Leaving.]
arielenter has joined #qi-hardware
rjeffries has quit [Ping timeout: 272 seconds]
bartbes has quit [Quit: No Ping reply in 180 seconds.]
wej has quit [Ping timeout: 245 seconds]
bartbes has joined #qi-hardware
wej has joined #qi-hardware
rzk has joined #qi-hardware
rz2k has quit [Ping timeout: 265 seconds]
rzk has quit [Read error: Connection reset by peer]
jekhor has quit [Ping timeout: 252 seconds]
CYB3R_ has joined #qi-hardware
<CYB3R_> pcercuei: could you please tell which toolchain are you using to build UBIBoot?
<CYB3R_> pcercuei: thank you, just downloaded it. I tried using Ingenic toolchain, but it lacks something and UBIBoot doesn't compile
<CYB3R_> I don't like uClibc though, so I'll compile my own toolchain
lekernel has quit [Quit: Leaving]
arielenter has quit [Ping timeout: 246 seconds]
nicksydney has quit [Remote host closed the connection]
wolfspraul has quit [Ping timeout: 272 seconds]
nicksydney has joined #qi-hardware