ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
steev has quit [Remote host closed the connection]
bludot has quit [Ping timeout: 245 seconds]
bludot has joined #linux-rockchip
bludot has joined #linux-rockchip
steev has joined #linux-rockchip
steev has quit [Changing host]
steev has joined #linux-rockchip
naobsd has joined #linux-rockchip
rory096 is now known as CatFortune
CatFortune is now known as rory096
rory096 has quit [Changing host]
rory096 has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
Geoff_ has joined #linux-rockchip
<Geoff_> Puzzled as to how to use "Secure mode". Have signed loader, but not sure how to burn Efuse?
<Geoff_> After using the "upgrade_tool" to flash the loader image to the rk3288, the new u-boot announces itself. It reports this rather than 0 and 0... SecureBootEn = 1, SecureBootLock = 1
Ueno_Otoko has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
cyteen_ has quit [Read error: Connection reset by peer]
soimless has joined #linux-rockchip
premoboss has joined #linux-rockchip
cyteen has joined #linux-rockchip
premoboss has quit [Ping timeout: 256 seconds]
Ueno_Otoko has quit [Ping timeout: 272 seconds]
Ueno_Otoko has joined #linux-rockchip
premoboss has joined #linux-rockchip
Ueno_Otoko_ has joined #linux-rockchip
Ueno_Otoko has quit [Ping timeout: 240 seconds]
Ueno_Otoko- has joined #linux-rockchip
Ueno_Otoko_ has quit [Ping timeout: 272 seconds]
lerc has quit [Read error: Connection reset by peer]
lerc has joined #linux-rockchip
premoboss has quit [Remote host closed the connection]
premoboss has joined #linux-rockchip
cyteen has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-rockchip
gb_master has joined #linux-rockchip
gb_master has quit [Remote host closed the connection]
naobsd has quit [Quit: naobsd]
gb_master has joined #linux-rockchip
AstralixNB has joined #linux-rockchip
naobsd has joined #linux-rockchip
Kruppe has joined #linux-rockchip
premoboss has quit [Remote host closed the connection]
cnxsoft has quit [Remote host closed the connection]
Ueno_Otoko- has quit [Ping timeout: 250 seconds]
<rperier> I really need to package u-boot for firefly in meta-rockchip... I have a lot of requests about how to use petitboot from a firefly... but that's better to use u-boot these days, imho. :/
<sjoerd> it is indeed!
<sjoerd> rperier: it's already in debian, you're lagging man :)
<rperier> I am lagging, yeah because I did not have time to do it these days :D
<rperier> :p
* sjoerd knows the feeling
<sjoerd> I need to re-spin my networking branch based on teh review comments and prod my maskrom hacks a bit more so one can load u-boot over usb which would be pretty cool
<sjoerd> Well load it and then actually be able to boot a kernel, the loading part works thusfar
* sjoerd hopes he got mmind00_ interested in looking at why the kernle breaks :p
gb_master has quit [Quit: Leaving]
<mmind00_> sjoerd: :-P
<xming_> finally got my ttl cable \o/
<xming_> now booting self compiled uboot + kernel from SDcard
<xming_> and I get this
<xming_> Retrieving file: /boot/dtb/4.4-rc2/<NULL>-<NULL>.dtb
<xming_> ** File not found /boot/dtb/4.4-rc2/<NULL>-<NULL>.dtb **
<xming_> do I need to supply the filename of dtb? If so where?
<xming_> full boot log http://pastebin.ca/3278119
<xming_> also uboot says my board is a 2GB DRAM, but mine actually has 4
<sjoerd> xming_: rock 2?
<sjoerd> or firefly
<xming_> firefly rk3288
<sjoerd> xming_: you need to set the fdtdtb variable
<sjoerd> in u-boot
<sjoerd> that or set fdt instead of fdtdir in your extlinux.conf
<xming_> oh I can se fdt, great, thanks
<sjoerd> the 2 vs 4 G thing i've seen on rock2 as well and is vaguely on my too long todo list to look into
<naobsd> I'm using boot.scr
<naobsd> load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /zImage
<naobsd> load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /uRamdisk
<naobsd> load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /rk3288.dtb
<naobsd> bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
<naobsd> should I learn about extlinux.conf? ;)
cyteen has joined #linux-rockchip
<sjoerd> I think declartive is much nicer then scripting :)
<xming_> what is the device to pass to the kernel to obtain serial console? console=/dev/ttyS0
<xming_> oh it's ttyS2
<rperier> that's just amazing if I can just load and boot my kernel via the network by using u-boot (on my firefly) :D
<rperier> I mean, compared to the old way
<rperier> (booting linux, dhcp+tftp and kexec)
<rperier> do you use a specific toolchain with it ? or it should work with most of the cross-toolchains (including gcc 5.2) ?
ganbold has quit [Quit: This computer has gone to sleep]
AstralixNB has quit [Remote host closed the connection]
soimless has quit [Ping timeout: 260 seconds]
c0d3z3r0 has quit [Excess Flood]
c0d3z3r0 has joined #linux-rockchip
Sadneophyte has joined #linux-rockchip
<xming_> rperier: 5.2.0 is recommended, or 5.3.0 even better
<xming_> my kernel has problems to find the root partition, it doesn't seem to see the partition
cristian_c has joined #linux-rockchip
jas-hacks has joined #linux-rockchip
tnn has joined #linux-rockchip
<rperier> http://git.denx.de/?p=u-boot/u-boot-rockchip.git <-- that is the repo that I am supposed to use ?
<sjoerd> depends on your goal
<sjoerd> xming_: hmm, i thnkthe dts of firefly in linux has the right chosen stdout so you don't have to pass console= (but i'm not sure about that)
<rperier> sjoerd: I don't want to hack on u-boot for now, I just want to use it (mostly ethernet and sd for now)
maz_ has quit [Quit: Leaving]
<xming_> sjoerd: just tried, definitely needs console=ttyS2,115200
<sjoerd> rperier: for ethernet you'll need my branch for now until i've redone the series and it lands
<rperier> ok
<cristian_c> hello
<cristian_c> how could I add a new resolution not listed in 'modes' file?
<xming_> booting from SD is giving me errors
<cristian_c> Any ideas?
<sjoerd> xming_: what kind of errors
c0d3z3r0 has quit [Excess Flood]
c0d3z3r0 has joined #linux-rockchip
<sjoerd> oh that's already the kernel
<sjoerd> mmind00_: ^ (assuming it's an upstream kernel)
<xming_> it looks like that sdcard is bad, io errors
<xming_> but it works under rockchip's 3.10.x kernel
<mmind00_> sjoerd xming_: I'm puzzled, I only see a link to pastebin.ca/index.php
<mmind00_> and the once above that (3278250) just shows that it's missing the specified partition uuid
<xming_> it can't even find the partitions on the sdcard because it apparently can't read from it
<xming_> this is a new boot log
<xming_> sjoerd: so the 4GB is still not supported by any uboot except rockchip's weird one?
<sjoerd> xming_: ish
<sjoerd> It's "supported' it's just that you only see 2G of the 4 :)
<xming_> :O
<mmind00_> xming_: you're using a 64GB card (SDXC)?
<xming_> mmind00_: yes
<xming_> sjoerd: any hope for me?
<sjoerd> xming_: Unless you've got the patience to wait for someone to fix it or fix it yourself you'll have to do with 2G for now
<xming_> I have very limited knowledge of how to init DRAMs or any kind of low level stuffs in general
<xming_> I suppose it isn't just modifying a header file to increase a value
<xming_> mmind00_: is that an issue?
Sadneophyte has quit [Ping timeout: 272 seconds]
<mmind00_> xming_: it shouldn't be ... the controller supposedly supports it ... but I don't think anybody ever tried it
<xming_> mmind00_: it works fine under firefly's ubuntu image with kernel 3.10.x
<xming_> so should I try a sdhc card?
<mmind00_> you could do that ... just to make sure that it's really the sd card
<xming_> okay
<mmind00_> and I guess then we'll need to hunt down what mainline dw_mmc doesn't like
<mmind00_> does this card has a manufacturer and name?
<xming_> yes sandisk ultra 64GB
cristian_c has quit [Read error: No route to host]
cristian_c has joined #linux-rockchip
jas-hacks has left #linux-rockchip [#linux-rockchip]
<xming_> BTW which mainline-ish kernel has the best support for firefly rk3288?
cristian_c has quit [Excess Flood]
cristian_c has joined #linux-rockchip
<mmind00_> xming_: mainline :-D
<xming_> so no need to try -next, or hunt down any yet to be merged branches?
cristian_c has quit [Read error: No route to host]
<mmind00_> xming_: nope ... you get everything except gpu support in mainline, for example 4.3
cristian__c has joined #linux-rockchip
Sadneophyte has joined #linux-rockchip
<mmind00_> xming_: btw. once you tried a different card - which will hopefully work, you could give my dumb test at https://bpaste.net/show/d5facd1daa89 a try
<xming_> okay I will try 4.3 instead of 4.4-rc, thentry sdhc tomorrow when I can find an empty one
<mmind00_> 4.4-rc should also be ok though
<xming_> mmind00_: I will try then patch first :D
<mmind00_> for people reading along, I found http://lists.denx.de/pipermail/u-boot/2015-September/226255.html, which states "I'm reading the SD card "Physical Layer Simplified Specification Version
<mmind00_> 4.10" (part1_410.pdf) section 4.6.2.2 and it states that for SDHC cards, the write operation should take at most 250mS, for SDXC it's 500mS. Could it be that your card is violating the spec ?"
<mmind00_> dw_mmc currently uses these 500ms timeouts, so if the card violates the spec even a little bit, it may run into the timeout
<xming_> it won't be the first time that SD cards are violating specs
<mmind00_> yep :-)
<xming_> but this is a Sandisk, should be one of the least evils
<mmind00_> while the idealist in me wants to agree, I guess Sandisk probably uses the same chips, controllers as everybody else, so the chance of it going wrong is proably no different to other brands
<xming_> mmind00_: regarding your patch, against which version is it?
<mmind00_> this is 4.4-rc4
<sjoerd> mmind00_: I thought sandisk build their own controllers (and probably sell it to other OEMs)
<mmind00_> sjoerd: I actually don't know :-)
<mmind00_> sjoerd: more like the sad realization, that Sandisk card probably won't be that much more spec-respecting than all the others
cristian__c has quit [Ping timeout: 240 seconds]
cristian_c has joined #linux-rockchip
<sjoerd> nod
<xming_> weird doens't apply, needed to patch manually
<xming_> mmind00_: http://pastebin.ca/3278536 this is from the firefly's unbuntu when I inserted the SDcard
premoboss has joined #linux-rockchip
<xming_> mmind00_: with that patch the kernel doesn't even start
<mmind00_> xming_: :-(
<xming_> will try sdhc tomorrow
<xming_> mmind00_: with firefly's ubuntu I just got timeouts, resets didn't help, needed to unplug/plug the power
Sadneophyte has quit [Ping timeout: 240 seconds]
Sadneophyte has joined #linux-rockchip
Sadneophyte has quit [Ping timeout: 272 seconds]
naobsd has quit [Quit: naobsd]
ganbold has joined #linux-rockchip
cyteen has quit [Remote host closed the connection]
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip