ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
kevery has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
vstehle has quit [Ping timeout: 265 seconds]
ojn has quit [Ping timeout: 240 seconds]
ojn has joined #linux-rockchip
return0e has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-rockchip
maze-BUG has joined #linux-rockchip
vagrantc has quit [Ping timeout: 265 seconds]
vagrantc has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
sb35 has joined #linux-rockchip
nickhgs161 has joined #linux-rockchip
maze-BUG has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has joined #linux-rockchip
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
jwerner_ has joined #linux-rockchip
ckeepax1 has joined #linux-rockchip
ckeepax has quit [*.net *.split]
rperier has quit [*.net *.split]
jwerner has quit [*.net *.split]
abordado has quit [*.net *.split]
vstehle has joined #linux-rockchip
nickhgs161 has quit [Quit: Leaving.]
vagrantc has quit [Quit: leaving]
maze-BUG has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
kaspter has quit [Ping timeout: 258 seconds]
kaspter has joined #linux-rockchip
kaspter has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 265 seconds]
camus1 is now known as kaspter
ldevulder__ is now known as ldevulder
rperier has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
return0e has joined #linux-rockchip
return0e_ has quit [Ping timeout: 256 seconds]
stikonas has joined #linux-rockchip
psydruid has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
paulk-leonov has quit [Ping timeout: 250 seconds]
psydruid has joined #linux-rockchip
paulk-leonov has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
kevery1 is now known as kevery
JohnDoe_71Rus has quit [Ping timeout: 265 seconds]
JohnDoe_71Rus has joined #linux-rockchip
paulk-leonov has quit [Ping timeout: 240 seconds]
paulk-leonov has joined #linux-rockchip
thefloweringash has joined #linux-rockchip
kevery has quit [Ping timeout: 246 seconds]
maze-BUG1 has joined #linux-rockchip
maze-BUG has quit [Ping timeout: 256 seconds]
maze-BUG1 is now known as maze-BUG
ganbold has joined #linux-rockchip
ganbold_ has quit [Ping timeout: 250 seconds]
Kelsar has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Kelsar has joined #linux-rockchip
Kelsar has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Kelsar has joined #linux-rockchip
tbueno has joined #linux-rockchip
maze-BUG has quit [Ping timeout: 256 seconds]
field^Zzz2 has joined #linux-rockchip
ganbold has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-rockchip
ldevulder has quit [Remote host closed the connection]
repk has quit [Quit: WeeChat 2.7.1]
ldevulder has joined #linux-rockchip
repk has joined #linux-rockchip
<vagrantc> oh no ... on a firefly-rk3288 installed u-boot-tpl/u-boot-spl on eMMC and the u-boot.bin on microSD ... and it's trying to load from eMMC ... but there's nothing there and hangs and doesn't appear to fallback to microSD
<vagrantc> i think the old way around this is shorting the eMMC? ... or somehow writing to the eMMC ?
<vagrantc> s,old,only,
<vagrantc> The requested URL /en/Firefly-RK3288/maskrom_mode.html was not found on this server.
<vagrantc> oh, https redirect not working
<vagrantc> i've used maskrom_mode before ... i guess i can use it to try and write a bootloader to the eMMC, as the tpl/spl layers seem to work
<vagrantc> and then wipe it again once i've booted linux
<vagrantc> actually, shorting that might allow it to boot from microsd instead of having to hassle with maskrom mode
sb35 has quit [Ping timeout: 265 seconds]
<vagrantc> well, can't seem to get it to actually go into maskrom mode ... i think the TPL is not dependent on the eMMC working correctly
<vagrantc> it does fail to load SPL
<vagrantc> i should set up udev rules making the emmc non-writeable on these systems...
<vagrantc> testing bootloaders way too often
<vagrantc> or rather, the SPL fails to load from eMMC and tries microSD ... but fails for the same reason
<inode> some kind of boot media is still present if you're seeing bootloader output with the short
<vagrantc> yes, the eMMC
<vagrantc> which seems to fail badly enough SPL can't load u-boot from eMMC or microSD, but not badly enough that TPL can't be loaded
<vagrantc> or i haven't gotten the short to work properly until TPL/SPL has loaded...
<vagrantc> e.g. not quite shorted while loading TPL/SPL, and then shorted ... but that seems unlikely
<inode> are you shorting it prior to power on and holding it in place for a few seconds after?
<vagrantc> yes
<vagrantc> but can't say my hand doesn't slip at some point
<vagrantc> e.g. it's a tenuous short at best
<inode> fair enough :)
<inode> it might be worth soldering a jumper across temporarily to be sure
<vagrantc> got it!
<vagrantc> really wish these boards had a jump for this
<vagrantc> i fried the eMMC on a firefly-rk3399 trying to fix a similar issue
<inode> how did you do that?
<vagrantc> slipped at some point and shorted the wrong things
<vagrantc> really wish these boards had a jumper for this!
<vagrantc> now ... do i put u-boot.img or u-boot.bin at 16384 ?
<inode> make your own? solder a switch or a pin header each to clk and gnd :)
<vagrantc> i've often thought of asking a freind to do that... but yeah
<vagrantc> my only solder experience is decades old and with jewelry
<inode> i had an unresponsive emmc by similar circumstances, but it turned out to be unintentional bridging between emmc clk and gnd (adjacent pads) after shorting them out - almost as though tin whiskers had formed
<inode> scraping between the pads was enough to solve the issue
<vagrantc> i think i've occasionally seen the eMMC show up on that machine ... but it's spotty ... so yeah, maybe some stray metal whiskers causing a intermitant short
<vagrantc> ok, now i'm set to be able to upload u-boot to debian
* vagrantc does one more cold powercycle to check
<vagrantc> inode: thanks for the pointers and being a sounding board :)
<inode> np, i know the just-bricked feeling all too well :)
<vagrantc> huh. seems like both u-boot.bin and u-boot.img work ... u-boot.img has some headers that help with data corruption, so may as well go with that
elektirnis has quit [Remote host closed the connection]
elektirnis has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
mraynal has quit [Remote host closed the connection]
mraynal has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 240 seconds]
<vagrantc> gah... rockpro64-rk3399 doesn't seem to be booting from microSD either...
field^Zzz2 has quit [Ping timeout: 250 seconds]
<tuxd3v> vagrantc, you need to short the 2 wire jumper close to emmc( if you have emmc ), so that it boots from sdcard..
<vagrantc> no emmc
<tuxd3v> welcome on board.. I have the same problem :)
<vagrantc> was booting just fine with the older u-boot
<vagrantc> same system?
<tuxd3v> rockpro64, I build uboot for it
<tuxd3v> I have emmc
<tuxd3v> but I tried with and without, and still incapable to boot
<tuxd3v> what is the bootdevice number you are using to boot?
<vagrantc> U-Boot SPL 2020.04+dfsg-1~20200414~16 (Apr 14 2020 - 22:55:47 +0000)
<vagrantc> Trying to boot from MMC1
<tuxd3v> for what I understand device 0 is flash
<tuxd3v> 1 or 2 is emmc
<tuxd3v> the other one is sdcard
<tuxd3v> never get that correct..
<vagrantc> i had a working build with u-boot 2019.10 ... i'll try updating that
<tuxd3v> mmc1 should be device 1
<vagrantc> device numbers don't often mean much
<tuxd3v> you need to know the device type and device number to boot from it :)
<vagrantc> i can try 2020.01 and roughly bisect it from there, maybe
<tuxd3v> well you are using extlinux?
<tuxd3v> if co, maybe its diferent..
<tuxd3v> I am using 'boot.scr' script
<vagrantc> this doesn't get past SPL ... u-boot.itb hasn't even been loaded
<vagrantc> u-boot, atf, etc.