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 [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
no1b4me has joined #linux-rockchip
BenG83 has quit [Ping timeout: 258 seconds]
BenG83 has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
vstehle has quit [Ping timeout: 268 seconds]
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-rockchip
afaerber has quit [Remote host closed the connection]
afaerber has joined #linux-rockchip
ganbold has quit [Quit: Leaving]
stdint has joined #linux-rockchip
chewitt has quit [Max SendQ exceeded]
chewitt has joined #linux-rockchip
user__ has quit [Ping timeout: 248 seconds]
nighty has quit [Quit: Disappeared in a puff of smoke]
nighty has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
chewitt has quit [Quit: Adios!]
ifbizo has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
vstehle has joined #linux-rockchip
no1b4me has quit [Quit: Leaving]
warpme_ has joined #linux-rockchip
BenG83 has joined #linux-rockchip
kaspter has quit [Ping timeout: 272 seconds]
kaspter has joined #linux-rockchip
kaspter has quit [Ping timeout: 248 seconds]
kaspter has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
stikonas_ has quit [Remote host closed the connection]
warpme_ has joined #linux-rockchip
vicencb has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
Kelsar has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Kelsar has joined #linux-rockchip
warpme_ has joined #linux-rockchip
<inode> i compiled OP-TEE and mainline u-boot for my device (rk3229 TX2-clone?) and i (foolishly?) attempted to replace the existing "uboot" partition (@ 0x2000 over rockusb). on boot, i got only the usual DDR init and OP-TEE init messages over UART2 followed by a freeze where u-boot would usually begin.
<inode> i put the device into maskrom mode, and poked around enough to screw up what i guess would be the initial loader or ID Blocks of the eMMC
<inode> now the device starts in maskrom mode by default
<inode> i can use either rkdeveloptool with a merged loader (rk322x_ddr*300mhz*.bin, rk322x_*usbplug*.bin, rk322x_*miniloader*.bin), or rkflashtool (l with ddr init bin, L with usbplug bin) to get enough access to see that the chip id and partitions on the eMMC still look ok
warpme_ has quit [Quit: warpme_]
<inode> if i provide the miniloader to rkflashtool L, i can get the device to boot with uboot (0x2000 LBA) and trust (0x4000 LBA) as usual with the backup's restored - but the kernel bombs out with errors about mmc comms - which i guess is due to the fact that i started in maskrom mode as i can see the partition offsets listed are in raw and LBA sector counts
warpme_ has joined #linux-rockchip
<inode> if i try to upgrade the loader with the merged loader that works for me, rkdeveloptool's "ul" says: "The device does not support this operation!"
<inode> if i try to write it to 0x40 via, rkdeveloptool wl 0x40, the device still enters maskrom mode by default
<inode> the same thing applies if i try to write a custom idbloader.img created as rksd or an rkimage
<inode> can anyone help me with some ideas about kind of metadata might need to be written into this area around 0x40 (idblocks according to rkflashtool?)
<inode> or where the initial miniloader might actually need to be placed for eMMC boot?
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
Greyztar has quit [Remote host closed the connection]
Greyztar has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
<mmind00> inode: the "merged loader" is not what gets written to the 0x40 position I think ... merely it extracts the relevant part from there ... what gets written to the 0x40 position should start with "RK32" in the binary file
<mmind00> inode: as for optee, you can probably see from the commit history that it didn't get much attention after the initial submission
<mmind00> inode: and all future stuff was sadly done binary-only
<mmind00> inode: and I don't know how far along the optee-loading patches for mainline uboot actually are
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
BenG83 has quit [Ping timeout: 276 seconds]
warpme_ has quit [Quit: warpme_]
ojn has quit [Ping timeout: 264 seconds]
dianders_ has joined #linux-rockchip
ojn has joined #linux-rockchip
arnd_ has joined #linux-rockchip
lvrp16_ has joined #linux-rockchip
mrutland has quit [Ping timeout: 258 seconds]
Esmil has quit [Ping timeout: 264 seconds]
lerc has quit [Ping timeout: 246 seconds]
arnd has quit [Ping timeout: 252 seconds]
dianders has quit [Ping timeout: 252 seconds]
lvrp16 has quit [Ping timeout: 252 seconds]
travankor has quit [Ping timeout: 252 seconds]
lvrp16_ is now known as lvrp16
dianders_ is now known as dianders
arnd_ is now known as arnd
travankor has joined #linux-rockchip
mrutland has joined #linux-rockchip
lerc has joined #linux-rockchip
adjtm_ has quit [Ping timeout: 245 seconds]
Greyztar has quit [Ping timeout: 256 seconds]
<inode> mmind00: thanks, i found that rk322x_ddr_300MHz_v1.08.bin begins with RK32, and writing that to 0x40 didn't prevent mask rom mode unfortunately
Greyztar has joined #linux-rockchip
<inode> i found that when using: rkdeveloptool ul ..., the device doesn't like the write to sector 0x40 when it finally calls WriteLBA() with the prepared id blocks (200 sectors worth)
<inode> so i wrote those blocks out to a file (fopen/fwrite/fclose) and attempted to write them to 0x40 manually
<inode> no luck either, so i'm going to focus on getting a bootable sd card going instead and save this problem for later
<inode> mmind00: do you know if rk3229 shares jtag functionallity over any of the balls allocated for other purposes like sdmmc or something?
warpme_ has joined #linux-rockchip
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
Greyztar has quit [Ping timeout: 256 seconds]
Greyztar- has joined #linux-rockchip
Greyztar- is now known as Greyztar
Greyztar- has joined #linux-rockchip
Greyztar- has quit [Remote host closed the connection]
Greyztar- has joined #linux-rockchip
ifbizo has quit [Remote host closed the connection]
<inode> at least u-boot seems to work coherently enough from the sdcard
Greyztar- has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
Greyztar has quit [Ping timeout: 256 seconds]
Greyztar has joined #linux-rockchip
rich0 has quit [Ping timeout: 272 seconds]
rich0 has joined #linux-rockchip
Greyztar has quit [Ping timeout: 256 seconds]
Greyztar has joined #linux-rockchip
field^Zzz1 has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
jelly has quit [Ping timeout: 244 seconds]
jelly-home has joined #linux-rockchip
jelly-home is now known as jelly
mmind00 has quit [Quit: No Ping reply in 180 seconds.]
mmind00 has joined #linux-rockchip
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 272 seconds]
camus is now known as kaspter
adjtm has joined #linux-rockchip
lerc has quit [Read error: Connection reset by peer]
lerc has joined #linux-rockchip
chewitt has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
stikonas has joined #linux-rockchip
drrty has joined #linux-rockchip
scelestic has quit [Remote host closed the connection]
scelestic has joined #linux-rockchip
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
_whitelogger has joined #linux-rockchip
Greyztar has quit [Ping timeout: 256 seconds]
Greyztar has joined #linux-rockchip
fischerm has quit [Quit: ZNC 1.6.2 - http://znc.in]
vicencb has quit [Quit: Leaving.]
stikonas_ has joined #linux-rockchip
field^Zzz1 has quit [Ping timeout: 268 seconds]
stikonas has quit [Ping timeout: 258 seconds]
aalm has quit [Ping timeout: 244 seconds]
aalm has joined #linux-rockchip