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
busterbcook has quit [Ping timeout: 276 seconds]
busterbcook has joined #linux-rockchip
kaspter has joined #linux-rockchip
kloczek has quit [Read error: Connection reset by peer]
kloczek has joined #linux-rockchip
anarsoul|2 has quit [Ping timeout: 240 seconds]
ganbold has quit [Quit: This computer has gone to sleep]
cnxsoft has joined #linux-rockchip
nots has quit [Quit: Page closed]
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 240 seconds]
ganbold has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
vstehle has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
LargePrime has quit [Ping timeout: 264 seconds]
robogoat has quit [Ping timeout: 264 seconds]
robogoat has joined #linux-rockchip
tllim has quit [Quit: Leaving]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
<diego71> tlwoerner: you should ground the clock on the eMMC, so the cpu skip the emmc, or boot from sd
ayaka_ has joined #linux-rockchip
ayaka has quit [Ping timeout: 240 seconds]
ayaka_ is now known as ayaka
<hanetzer> hey folks. someone here got an asus c201 chromebook they're willing to test some stuff on?
matthias_bgg has joined #linux-rockchip
<Ke> hanetzer: any chance you could tell what?
stdint has quit [Read error: Connection reset by peer]
<Ke> probably not anything complicated, since I have just moved and everything is a mess
<hanetzer> Ke: a few builds of u-boot
<diego71> tlwoerner: http://opensource.rock-chips.com/wiki_Rockusb#Maskrom_mode <- take a look if there is something useful
<Ke> flash to spi-nor?
<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 ;)
<Omegamoon> it is starting...
<Omegamoon> U-Boot TPL 2017.09-01503-g877f3f4-dirty
<Omegamoon> then...
<Omegamoon> U-Boot SPL 2017.09-01503-g877f3f4-dirty
<Omegamoon> then...
<Omegamoon> Trying to boot from MMC1
<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> see here: https://pastebin.com/XDaENdEx
<Omegamoon> in sector 0x4000 it expects to find an image with signature 0xd00dfeed but it finds "LOADER "
<Omegamoon> if I read that sector from my laptop it actually finds 0xd00dfeed so I wonder what is happening... running out of ideas here
<hanetzer> 0xd00dfeed is a dtb signature
<Ke> that does look like a very low entropy signature
BenG83 has quit [Quit: Leaving]
<Ke> I guess noone does 0x9068af10 anymore
afaerber has joined #linux-rockchip
<Omegamoon> it actually does a mmc_load_image_raw_sector(0x4000) and expects to find a FIT image there (which has a 0xd00dfeed signature)
<Omegamoon> but instead it finds a signature 0x4c4f4144
<Omegamoon> to be precise, it finds 4c4f414445522020, which translates to "LOADER "
<Omegamoon> which is strange, because that is NOT what I find when reading back sector 0x4000 from my laptop
<Omegamoon> mmind00: you there? I remember you tried to get u-boot on rk3229 running... did you get past this point?
JohnDoe0 has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
ayaka has quit [Ping timeout: 260 seconds]
ayaka has joined #linux-rockchip
<mmind00> Omegamoon: sadly my board is still waiting for that ... I got sidetracked into rk3229/rk3328 hdmi support and other stuff as well
lurchi_ is now known as lurchi__
<tlwoerner> hanetzer: how do i tell which chromebook i have?
<tlwoerner> or is any rk3288 chromebook a veyron-speedy?
<Ke> tlwoerner: I believe so, yes
Aussie_matt has joined #linux-rockchip
<hanetzer> tlwoerner: no
<hanetzer> every rk3288 chromebook is apparently a veyron, but not all are speedy
<hanetzer> tlwoerner: what's the make/model of yours?
<tlwoerner> hanetzer: oops, apparently i have a minnie C100PA
LargePrime has joined #linux-rockchip
aalm has quit [Ping timeout: 264 seconds]
<hanetzer> tlwoerner: ah, still a veyron tho
aalm has joined #linux-rockchip
<hanetzer> tlwoerner: and apparently u-boot has upstream support for it. Are you capable of building and flashing?
<tlwoerner> hanetzer: flashing to an SDcard? sure
<hanetzer> tlwoerner: actually I need to test an sdcard build, but I doubt it matters since the problem is in ddr init :P
paulk-gagarine-s has joined #linux-rockchip
paulk-gagarine has quit [Ping timeout: 268 seconds]
paulk-gagarine-s has quit [Remote host closed the connection]
paulk-gagarine has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
tllim has joined #linux-rockchip
jelly has quit [Read error: Connection reset by peer]
jelly-home has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
BenG83 has joined #linux-rockchip
jelly-home is now known as jelly
anarsoul|2 has joined #linux-rockchip
kloczek has quit [Quit: kloczek]
kloczek has joined #linux-rockchip
Easyfab has joined #linux-rockchip
vagrantc has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 248 seconds]
anarsoul has quit [Ping timeout: 260 seconds]
amstan has quit [Ping timeout: 240 seconds]
amstan has joined #linux-rockchip
amstan has joined #linux-rockchip
amstan has quit [Changing host]
anarsoul has joined #linux-rockchip
tl_lim has joined #linux-rockchip
tllim has quit [Ping timeout: 260 seconds]
nots has joined #linux-rockchip
anarsoul|2 has quit [Ping timeout: 248 seconds]
xerpi has joined #linux-rockchip
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
Easyfab has quit [Quit: Leaving]
JohnDoe0 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
anarsoul|2 has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
Substring has joined #linux-rockchip
<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]
anarsoul|2 has joined #linux-rockchip