00:00
BenG83 has quit [Ping timeout: 240 seconds]
00:09
nasuga has quit [Ping timeout: 240 seconds]
00:55
BenG83 has joined #linux-rockchip
01:10
BenG83 has quit [Read error: Connection reset by peer]
01:19
ganbold has joined #linux-rockchip
01:30
nasuga has joined #linux-rockchip
01:39
tlwoerner has quit [Quit: Leaving]
01:59
cnxsoft has joined #linux-rockchip
02:16
nighty- has joined #linux-rockchip
02:47
tlwoerner has joined #linux-rockchip
02:47
tlwoerner has joined #linux-rockchip
02:47
busterbcook has joined #linux-rockchip
03:09
cnxsoft has quit [Read error: Connection reset by peer]
03:17
nasuga has quit [Ping timeout: 240 seconds]
04:24
_whitelogger has joined #linux-rockchip
04:46
amstan has quit [Ping timeout: 248 seconds]
04:50
amstan has joined #linux-rockchip
04:50
amstan has quit [Changing host]
04:50
amstan has joined #linux-rockchip
04:54
lurchi_ has joined #linux-rockchip
04:58
lurchi__ has quit [Ping timeout: 240 seconds]
05:00
vstehle has joined #linux-rockchip
05:26
wzyy2 has joined #linux-rockchip
06:19
amstan has quit [Ping timeout: 255 seconds]
06:30
wzyy2 has quit [Remote host closed the connection]
06:31
wzyy2 has joined #linux-rockchip
06:53
amstan has joined #linux-rockchip
06:53
amstan has quit [Changing host]
06:53
amstan has joined #linux-rockchip
07:06
MoeIcenowy has quit [Ping timeout: 260 seconds]
07:12
MoeIcenowy has joined #linux-rockchip
07:35
busterbcook has quit [Ping timeout: 255 seconds]
07:56
rperier has quit [Remote host closed the connection]
08:03
ayaka has quit [Read error: Connection reset by peer]
08:06
paulk-gagarine-s has quit [Quit: Leaving]
08:07
paulk-gagarine has joined #linux-rockchip
08:11
xevious has quit [Ping timeout: 248 seconds]
08:12
xevious has joined #linux-rockchip
08:31
ayaka has joined #linux-rockchip
08:40
LargePrime has quit [Ping timeout: 240 seconds]
08:48
wzyy2 has quit [Remote host closed the connection]
08:48
wzyy2 has joined #linux-rockchip
08:55
afaerber has quit [Ping timeout: 246 seconds]
08:55
LargePrime has joined #linux-rockchip
08:55
afaerber has joined #linux-rockchip
09:44
wzyy2 has quit [Remote host closed the connection]
09:45
wzyy2 has joined #linux-rockchip
10:08
LongWork has joined #linux-rockchip
10:13
nighty- has quit [Quit: Disappears in a puff of smoke]
10:21
kaspter has quit [Remote host closed the connection]
10:21
kaspter has joined #linux-rockchip
10:21
kaspter has quit [Client Quit]
10:22
LongWork has quit [Ping timeout: 240 seconds]
10:25
LongWork has joined #linux-rockchip
10:30
wzyy2 has quit [Ping timeout: 255 seconds]
10:40
afaerber has quit [Quit: Leaving]
10:41
LongWork has quit [Ping timeout: 255 seconds]
10:53
afaerber has joined #linux-rockchip
10:54
rperier has joined #linux-rockchip
11:21
cyteen has joined #linux-rockchip
11:30
tlwoerner has quit [Ping timeout: 260 seconds]
12:14
kaspter has joined #linux-rockchip
12:23
LongWork has joined #linux-rockchip
12:29
LongWork has quit [Read error: Connection reset by peer]
12:45
vagrantc has joined #linux-rockchip
13:19
tlwoerner has joined #linux-rockchip
13:19
tlwoerner has quit [Changing host]
13:19
tlwoerner has joined #linux-rockchip
13:20
kaspter1 has joined #linux-rockchip
13:20
kaspter has quit [Ping timeout: 260 seconds]
13:20
kaspter1 is now known as kaspter
13:36
nighty- has joined #linux-rockchip
14:11
kaspter has quit [Quit: kaspter]
14:25
busterbcook has joined #linux-rockchip
14:32
LongWork has joined #linux-rockchip
14:39
JohnDoe_71Rus has joined #linux-rockchip
14:42
LongWork has quit [Ping timeout: 240 seconds]
15:10
tlwoerner has quit [Ping timeout: 255 seconds]
15:12
nasuga has joined #linux-rockchip
15:14
wadim_ has quit [Remote host closed the connection]
15:26
tlwoerner has joined #linux-rockchip
15:26
tlwoerner has quit [Changing host]
15:26
tlwoerner has joined #linux-rockchip
15:57
aalm has quit [Ping timeout: 240 seconds]
15:58
aalm has joined #linux-rockchip
16:42
LargePrime has quit [Ping timeout: 240 seconds]
17:16
afaerber has quit [Quit: Leaving]
17:32
nasuga has quit [Ping timeout: 240 seconds]
17:49
BenG83 has joined #linux-rockchip
18:28
LargePrime has joined #linux-rockchip
18:30
<
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
18:30
<
Ke >
seems that armade 8040 uses similar names for images, so it could be useful to understand a bit, what they are
18:33
<
Ke >
yes, seems to be exactly, what I wanted
18:33
<
beeble >
Ke: the overview in section 1 should be sufficient as a start i think
18:41
<
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
18:43
tlwoerner has quit [Ping timeout: 240 seconds]
18:44
<
Ke >
I guess upstream u-boot has some support for 8040, at least it has the defconfig
18:44
tlwoerner has joined #linux-rockchip
18:44
tlwoerner has quit [Changing host]
18:44
tlwoerner has joined #linux-rockchip
18:45
<
Ke >
splitting everything to different repos is one of the things that complicates this
18:54
nasuga has joined #linux-rockchip
19:29
tlwoerner has quit [Quit: Leaving]
20:07
Substring has joined #linux-rockchip
20:26
tlwoerner has joined #linux-rockchip
20:26
tlwoerner has joined #linux-rockchip
21:06
<
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 ...
21:06
<
vagrantc >
any suggestions?
21:07
<
vagrantc >
desolder the eMMC?
21:07
<
vagrantc >
not that that is in my bag of tricks...
21:23
amstan has quit [Ping timeout: 248 seconds]
21:24
amstan has joined #linux-rockchip
21:24
amstan has quit [Changing host]
21:24
amstan has joined #linux-rockchip
21:37
Substring has quit [Quit: Leaving]
21:59
<
phh >
the u-boot spl is from emmc or spi?
22:00
<
phh >
I mean, perhaps you have to short both emmc and spi
22:02
BenG83 has quit [Ping timeout: 248 seconds]
22:04
<
vagrantc >
phh: i
*think* it's eMMC, but don't know ... installed it with rkdeveloptool
22:05
<
vagrantc >
rkdeveloptool wl 64 /usr/lib/u-boot/firefly-rk3399/u-boot-spl.rksd
22:06
<
vagrantc >
so, whatever that would do...
22:06
<
phh >
na, won't write spi
22:06
<
vagrantc >
well, i think that part might even be working ... but the rest of the image was broken
22:08
<
vagrantc >
U-Boot SPL board initTrying to boot from MMC2
22:08
<
vagrantc >
"Synchronous Abort" handler, esr 0x02000000
22:08
<
vagrantc >
that's without shorting eMMC ...
22:08
<
vagrantc >
and with shorted eMMC:
22:08
<
vagrantc >
U-Boot SPL board initTrying to boot from MMC2
22:08
<
vagrantc >
mmc_load_image_raw_sector: mmc block read error
22:08
<
vagrantc >
Trying to boot from MMC1
22:08
<
vagrantc >
and if MMC1 is inserted, it just sits there ... maybe my microSD is also not correct.
22:09
<
phh >
but where the hell does it read u-boot spl from -_-'
22:09
<
vagrantc >
presumably eMMC
22:09
<
vagrantc >
since that's where i wrote it to...
22:09
<
phh >
with emmc shorted?
22:09
<
vagrantc >
ah, that, i don't know ..
22:09
<
phh >
you're trying that without sdcard inserted?
22:10
<
vagrantc >
either way... slightly different behavior with it inserted
22:10
<
vagrantc >
Card did not respond to voltage select!
22:10
<
vagrantc >
mmc_init: -95, time 10
22:10
<
vagrantc >
SPL: failed to boot from all boot devices
22:10
<
vagrantc >
### ERROR ### Please RESET the board ###
22:11
<
vagrantc >
that's without ... with microSD inserted, it hangs at "Trying to boot from MMC1"
22:11
<
vagrantc >
even if the microSD is blank
22:15
* vagrantc
loves that the sim card slot is right next to microSD
22:17
<
vagrantc >
basically, u-boot SPL works well enough that it never falls back into maskrom mode :(
22:18
<
vagrantc >
for a supposedly unbrickable device... this must be the third time i've gotten to a similar state
22:18
<
phh >
well for starters it's a shame emmc isn't easily accessible
22:20
<
vagrantc >
this is where i really wish for a removable eMMC
22:21
<
vagrantc >
and i really shouldn't have tried flashing to non-removable media
22:22
<
phh >
right, I mixed, it's the rock64 which has a spi nor, firefly doesn't seem to have it
22:23
<
vagrantc >
rock64 is my next victim ... possibly
22:24
<
phh >
well, rock64 has removable emmc, but take care not to flash anything to the spi ;)
22:26
<
vagrantc >
basically, the rockchip devices seem to be unbrickable as long as you're not doing bootloader testing
22:27
<
phh >
well, never flash anything, and just boots through usb otg via bootrom
22:27
<
vagrantc >
as long as i can get it to boot via microSD, i'm fine.
22:27
<
vagrantc >
i just had a weak moment of temptation
22:28
<
vagrantc >
"of course it will work fine, and i can always short the eMMC to get into maskrom mode"
22:28
<
phh >
i'm seeing two pads underside, one is cmd and clk
22:28
<
phh >
you shortcutted clk?
22:28
<
phh >
and put it to ground?
22:29
<
vagrantc >
claims that the two pads next to each other are clk and ground
22:29
<
phh >
erm, that's funny, because if I read the silk screen correctly, it's written that one is clk, the other cmd
22:30
<
phh >
looks almost the same
22:30
<
vagrantc >
read the fine print, if you can
22:34
<
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
22:35
<
vagrantc >
yes, i've gotten that to work, until i flashed u-boot SPL to the eMMC ...
22:35
<
vagrantc >
somehow the short isn't fast enough or something?
22:35
<
vagrantc >
works just well enough to get u-boot SPL loaded and hangs?
22:36
<
vagrantc >
i'm basically just using both ends of a little jumper cable ...
22:36
<
phh >
erf, I've just realized that I did the thing I mentioned before: erasing emmc
22:36
<
vagrantc >
maybe i need something more solid or shorter?
22:36
<
phh >
so I'm cheating
22:36
<
vagrantc >
yes, i was in that ideal state before i had this foolish idea...
22:45
vagrantc has quit [Quit: leaving]
22:49
<
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
22:49
<
phh >
I guess I'll have someone solder a real button there
23:04
vstehle has quit [Ping timeout: 248 seconds]
23:05
amstan has quit [Ping timeout: 248 seconds]
23:09
amstan has joined #linux-rockchip
23:09
amstan has joined #linux-rockchip
23:35
mrueg has quit [Remote host closed the connection]
23:37
mrueg has joined #linux-rockchip
23:40
mrueg has quit [Client Quit]
23:42
nighty- has quit [Quit: Disappears in a puff of smoke]
23:42
mrueg has joined #linux-rockchip
23:42
mrueg has quit [Client Quit]
23:43
mrueg has joined #linux-rockchip