<hanetzer>
one known to work on 2gb variants, and one which is the same code, but rebased against master; previously this would at least gimme a DRAM: 0 Bytes message, now it gives me nothing.
ganbold has quit [Quit: This computer has gone to sleep]
<hanetzer>
Ke: yeah, 4mb image
<Ke>
anyway, I have the 4G model, I guess that's different
<hanetzer>
Ke: I also have a 4gb variant. I think that would not work, since it doesn't work for me
<hanetzer>
I'm prolly gonna hafta do a bisect
stdint has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
BenG83 has joined #linux-rockchip
libv has quit [Ping timeout: 276 seconds]
libv has joined #linux-rockchip
<Omegamoon>
anyone able to help me with u-boot on rk3229 ?
<Omegamoon>
I'm running out of ideas here...
<Omegamoon>
trying to run u-boot from SD card
<hanetzer>
Omegamoon: device?
<hanetzer>
Ke: did the bisect; got back to a working broken situation :)
<Omegamoon>
currently using t95d, which is the cheapest rk3229 device I could get ;)
<Ke>
hanetzer: how was it working broken, I have forgotten?
<Omegamoon>
then it tries to read sector 0x4000, which apparently was succesful
<hanetzer>
Ke: spl hits, it goes to u-boot proper, reports DRAM: 0 Bytes, and hangs
<hanetzer>
Omegamoon: how did you prepare the mmc?
<Omegamoon>
hanetzer: I created a local image file, and wrote that to sd card using: dd if=./os.img of=/dev/mmcblk0 seek=0 conv=notrunc
<hanetzer>
Omegamoon: you need to boot u-boot (not spl or tpl); dd if=u-boot-dtb.img of=/dev/foo seek=16386 or sommat like that. check doc/README.rockchip in the u-boot tree for more details
<hanetzer>
granted this is coming from a guy with a build of u-boot on spi flash that doesn't get passed reporting 'DRAM: 0 Bytes'
<hanetzer>
boot flow is bootrom->spl->tpl(if any)->real u-boot
<hanetzer>
from u-boot you boot a kernel, usually.
<Omegamoon>
hanetzer: sector 0x4000 (16384) contains the uboot.itb image
<hanetzer>
was it made right? I don't know itb yet, so I can't speak on that.
<Omegamoon>
problem is... SPL tries to load uboot.itb by reading sector 0x4000 on sd card
<hanetzer>
yes. that is the normal flow.
<Omegamoon>
that sector is apparently read succesfully, but it shows a wrong magic
<hanetzer>
wait... I thought spl came before tpl
afaerber has quit [Quit: Leaving]
<hanetzer>
Omegamoon: yeah. check the README.rockchip from u-boot, follow the instructions for rk3288 on sdcard with tpl, should help.
<Omegamoon>
hanetzer: that's what I did... let me show you what it does... 1sec
<Omegamoon>
some progress on my attempt to get u-boot running on the rk3229... it appeared that spl was loaded from sd card, which then tried to load u-boot from eMMC :(
<Omegamoon>
that's fixed now, so u-boot as loaded from sd card as well... on start of u-boot it now panics due to "No serial driver found"
anarsoul|2 has quit [Remote host closed the connection]
anarsoul|2 has joined #linux-rockchip
lurchi__ is now known as lurchi_
matthias_bgg has quit [Ping timeout: 248 seconds]
Substring has quit [Quit: Leaving]
Omegamoon has left #linux-rockchip [#linux-rockchip]
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-rockchip
xerpi has quit [Quit: Leaving]
afaerber has quit [Quit: Leaving]
icenowy[m] has quit [*.net *.split]
hramrach has quit [*.net *.split]
grw has quit [*.net *.split]
grw has joined #linux-rockchip
hramrach has joined #linux-rockchip
icenowy[m] has joined #linux-rockchip
vstehle has quit [Ping timeout: 260 seconds]
lurchi_ is now known as lurchi__
BenG83 has quit [Quit: Leaving]
anarsoul|2 has quit [Remote host closed the connection]