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
BenG83 has quit [Ping timeout: 240 seconds]
nasuga has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-rockchip
BenG83 has quit [Read error: Connection reset by peer]
ganbold has joined #linux-rockchip
nasuga has joined #linux-rockchip
tlwoerner has quit [Quit: Leaving]
cnxsoft has joined #linux-rockchip
nighty- has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
busterbcook has joined #linux-rockchip
cnxsoft has quit [Read error: Connection reset by peer]
nasuga has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-rockchip
amstan has quit [Ping timeout: 248 seconds]
amstan has joined #linux-rockchip
amstan has quit [Changing host]
amstan has joined #linux-rockchip
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 240 seconds]
vstehle has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
amstan has quit [Ping timeout: 255 seconds]
wzyy2 has quit [Remote host closed the connection]
wzyy2 has joined #linux-rockchip
amstan has joined #linux-rockchip
amstan has quit [Changing host]
amstan has joined #linux-rockchip
MoeIcenowy has quit [Ping timeout: 260 seconds]
MoeIcenowy has joined #linux-rockchip
busterbcook has quit [Ping timeout: 255 seconds]
rperier has quit [Remote host closed the connection]
ayaka has quit [Read error: Connection reset by peer]
paulk-gagarine-s has quit [Quit: Leaving]
paulk-gagarine has joined #linux-rockchip
xevious has quit [Ping timeout: 248 seconds]
xevious has joined #linux-rockchip
ayaka has joined #linux-rockchip
LargePrime has quit [Ping timeout: 240 seconds]
wzyy2 has quit [Remote host closed the connection]
wzyy2 has joined #linux-rockchip
afaerber has quit [Ping timeout: 246 seconds]
LargePrime has joined #linux-rockchip
afaerber has joined #linux-rockchip
wzyy2 has quit [Remote host closed the connection]
wzyy2 has joined #linux-rockchip
LongWork has joined #linux-rockchip
nighty- has quit [Quit: Disappears in a puff of smoke]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
kaspter has quit [Client Quit]
LongWork has quit [Ping timeout: 240 seconds]
LongWork has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 255 seconds]
afaerber has quit [Quit: Leaving]
LongWork has quit [Ping timeout: 255 seconds]
afaerber has joined #linux-rockchip
rperier has joined #linux-rockchip
cyteen has joined #linux-rockchip
tlwoerner has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-rockchip
LongWork has joined #linux-rockchip
LongWork has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
tlwoerner has quit [Changing host]
tlwoerner has joined #linux-rockchip
kaspter1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
kaspter1 is now known as kaspter
nighty- has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
busterbcook has joined #linux-rockchip
LongWork has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
LongWork has quit [Ping timeout: 240 seconds]
tlwoerner has quit [Ping timeout: 255 seconds]
nasuga has joined #linux-rockchip
wadim_ has quit [Remote host closed the connection]
tlwoerner has joined #linux-rockchip
tlwoerner has quit [Changing host]
tlwoerner has joined #linux-rockchip
aalm has quit [Ping timeout: 240 seconds]
aalm has joined #linux-rockchip
LargePrime has quit [Ping timeout: 240 seconds]
afaerber has quit [Quit: Leaving]
nasuga has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-rockchip
LargePrime has joined #linux-rockchip
<Ke> now I have the spi-nors for rk3399 and armada 8040 mcbin, how would I go, if I wanted to understand all these B*-images on arm64
<Ke> seems that armade 8040 uses similar names for images, so it could be useful to understand a bit, what they are
<Ke> thanks
<Ke> yes, seems to be exactly, what I wanted
<beeble> Ke: the overview in section 1 should be sufficient as a start i think
<beeble> Ke: but the bsp marvell u-boot does stuff a bit different then the rk3399. also it's using a 2013-01 fork of u-boot
tlwoerner has quit [Ping timeout: 240 seconds]
<Ke> I guess upstream u-boot has some support for 8040, at least it has the defconfig
tlwoerner has joined #linux-rockchip
tlwoerner has quit [Changing host]
tlwoerner has joined #linux-rockchip
<Ke> splitting everything to different repos is one of the things that complicates this
nasuga has joined #linux-rockchip
tlwoerner has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
Substring has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
<vagrantc> bah.
<vagrantc> so i've got a broken u-boot image on the eMMC on a firefly-rk3399 ... shorting the eMMC definitely changes the behavior, but u-boot SPL still loads and i can't get it back into maskrom mode ...
<vagrantc> any suggestions?
<vagrantc> desolder the eMMC?
<vagrantc> not that that is in my bag of tricks...
amstan has quit [Ping timeout: 248 seconds]
amstan has joined #linux-rockchip
amstan has quit [Changing host]
amstan has joined #linux-rockchip
Substring has quit [Quit: Leaving]
<phh> the u-boot spl is from emmc or spi?
<phh> vagrantc: ^
<phh> I mean, perhaps you have to short both emmc and spi
BenG83 has quit [Ping timeout: 248 seconds]
<vagrantc> phh: i *think* it's eMMC, but don't know ... installed it with rkdeveloptool
<vagrantc> rkdeveloptool wl 64 /usr/lib/u-boot/firefly-rk3399/u-boot-spl.rksd
<vagrantc> so, whatever that would do...
<phh> na, won't write spi
<vagrantc> well, i think that part might even be working ... but the rest of the image was broken
<vagrantc> U-Boot SPL board initTrying to boot from MMC2
<vagrantc> "Synchronous Abort" handler, esr 0x02000000
<vagrantc> that's without shorting eMMC ...
<vagrantc> and with shorted eMMC:
<vagrantc> U-Boot SPL board initTrying to boot from MMC2
<vagrantc> mmc_load_image_raw_sector: mmc block read error
<vagrantc> Trying to boot from MMC1
<vagrantc> and if MMC1 is inserted, it just sits there ... maybe my microSD is also not correct.
<phh> but where the hell does it read u-boot spl from -_-'
<vagrantc> presumably eMMC
<vagrantc> since that's where i wrote it to...
<phh> with emmc shorted?
<vagrantc> ah, that, i don't know ..
<phh> you're trying that without sdcard inserted?
<vagrantc> either way... slightly different behavior with it inserted
<vagrantc> Card did not respond to voltage select!
<vagrantc> mmc_init: -95, time 10
<vagrantc> SPL: failed to boot from all boot devices
<vagrantc> ### ERROR ### Please RESET the board ###
<vagrantc> that's without ... with microSD inserted, it hangs at "Trying to boot from MMC1"
<vagrantc> even if the microSD is blank
* vagrantc loves that the sim card slot is right next to microSD
<vagrantc> basically, u-boot SPL works well enough that it never falls back into maskrom mode :(
<vagrantc> for a supposedly unbrickable device... this must be the third time i've gotten to a similar state
<phh> well for starters it's a shame emmc isn't easily accessible
<vagrantc> this is where i really wish for a removable eMMC
<vagrantc> and i really shouldn't have tried flashing to non-removable media
<phh> right, I mixed, it's the rock64 which has a spi nor, firefly doesn't seem to have it
<vagrantc> rock64 is my next victim ... possibly
<phh> well, rock64 has removable emmc, but take care not to flash anything to the spi ;)
* vagrantc sighs
<vagrantc> basically, the rockchip devices seem to be unbrickable as long as you're not doing bootloader testing
<phh> well, never flash anything, and just boots through usb otg via bootrom
<vagrantc> as long as i can get it to boot via microSD, i'm fine.
<vagrantc> i just had a weak moment of temptation
<vagrantc> "of course it will work fine, and i can always short the eMMC to get into maskrom mode"
<phh> i'm seeing two pads underside, one is cmd and clk
<phh> you shortcutted clk?
<phh> and put it to ground?
<vagrantc> i put clk to ground, as described in http://wiki.t-firefly.com/index.php/Firefly-RK3399/MaskRom/en
<vagrantc> claims that the two pads next to each other are clk and ground
<phh> erm, that's funny, because if I read the silk screen correctly, it's written that one is clk, the other cmd
<phh> oh
<phh> gnd cmd
<phh> looks almost the same
<vagrantc> read the fine print, if you can
<phh> fwiw, if i unplug sdcard, unplug power, plug usb-c, shortcut the two pads, plug power, wait few seconds, un-shortcut, upgrade_tool tells me i'm in maskrom
<vagrantc> yes, i've gotten that to work, until i flashed u-boot SPL to the eMMC ...
<vagrantc> somehow the short isn't fast enough or something?
<vagrantc> works just well enough to get u-boot SPL loaded and hangs?
<vagrantc> i'm basically just using both ends of a little jumper cable ...
<phh> erf, I've just realized that I did the thing I mentioned before: erasing emmc
<vagrantc> maybe i need something more solid or shorter?
<phh> so I'm cheating
<vagrantc> yes, i was in that ideal state before i had this foolish idea...
vagrantc has quit [Quit: leaving]
<phh> right, starting in maskrom seems really tricky... it took me 7 tries, on one the device didn't boot until I released the pads, and booted straight to eMMC, the other 5 it just booted on eMMC
<phh> I guess I'll have someone solder a real button there
vstehle has quit [Ping timeout: 248 seconds]
amstan has quit [Ping timeout: 248 seconds]
amstan has joined #linux-rockchip
amstan has joined #linux-rockchip
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
mrueg has quit [Client Quit]
nighty- has quit [Quit: Disappears in a puff of smoke]
mrueg has joined #linux-rockchip
mrueg has quit [Client Quit]
mrueg has joined #linux-rockchip