00:05
ldevulder_ has joined #linux-sunxi
00:09
ldevulder has quit [Ping timeout: 256 seconds]
00:18
Mangy_Dog has quit [Ping timeout: 246 seconds]
00:30
gnarface has joined #linux-sunxi
01:06
Mangy_Dog has joined #linux-sunxi
01:27
lurchi_ is now known as lurchi__
01:33
lurchi__ is now known as lurchi_
01:41
ganbold_ has joined #linux-sunxi
01:44
ganbold has quit [Ping timeout: 246 seconds]
01:53
ChriChri_ has joined #linux-sunxi
01:55
ChriChri has quit [Ping timeout: 246 seconds]
01:55
ChriChri_ is now known as ChriChri
01:56
dev1990 has quit [Quit: Konversation terminated!]
01:57
tuxd3v has quit [Ping timeout: 258 seconds]
02:04
cnxsoft has joined #linux-sunxi
02:09
RichardG867_ is now known as RichardG867
02:26
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
02:27
lurchi_ is now known as lurchi__
02:32
\\Mr_C\\ has joined #linux-sunxi
03:38
<
smaeul >
to be fair, the documentation does actually spell out exactly what you're supposed to do:
03:38
<
smaeul >
When configured PLL_MIPI,LDO1 and LDO2 must be enable at first,and delay 100us ,configure the
03:38
<
smaeul >
division factor, then enable and delay 500us, PLL_MIPI can be output to use
04:05
aloo_shu has quit [Quit: carrots]
05:09
JohnDoe_71Rus has joined #linux-sunxi
05:23
lurchi_ has joined #linux-sunxi
05:27
lurchi__ has quit [Ping timeout: 240 seconds]
05:29
tuxd3v has joined #linux-sunxi
05:55
selfbg has joined #linux-sunxi
06:09
tmlind has quit [Ping timeout: 268 seconds]
06:09
Kamilion has quit [Ping timeout: 268 seconds]
06:09
tmlind has joined #linux-sunxi
06:13
Kamilion has joined #linux-sunxi
06:17
reinforce has joined #linux-sunxi
06:35
dddddd has quit [Ping timeout: 246 seconds]
06:59
ScrumpyJack has quit [Ping timeout: 272 seconds]
07:05
suprothunderbolt has quit [Remote host closed the connection]
07:05
suprothunderbolt has joined #linux-sunxi
07:10
ganbold has joined #linux-sunxi
07:12
ganbold_ has quit [Ping timeout: 256 seconds]
07:13
jstein has quit [Quit: quit]
07:18
selfbg has quit [Ping timeout: 246 seconds]
07:40
AneoX has joined #linux-sunxi
08:08
TEKrantz has quit [Read error: Connection reset by peer]
08:09
TEKrantz has joined #linux-sunxi
08:13
tnovotny has joined #linux-sunxi
08:15
ldevulder_ is now known as ldevulder
08:35
maccraft has joined #linux-sunxi
08:41
ScrumpyJack has joined #linux-sunxi
08:50
florian_kc has joined #linux-sunxi
08:58
florian_kc has quit [Ping timeout: 250 seconds]
09:02
vagrantc has quit [Quit: leaving]
09:05
jonasbits_ has quit [Ping timeout: 272 seconds]
09:05
<
ynezz >
I've just booted 5.4.24 on a64-olinuxino (4GB eMMC version), and I'm wondering what is needed to get it boot straight from the eMMC
09:12
suprothunderbolt has quit [Ping timeout: 246 seconds]
09:13
<
ynezz >
so if I understand it correctly I just need to u-boot-with-spl.bin (2020.01) into boot0 emmc partition right?
09:14
<
wens >
you write it to the same offset of the whole block device, not any partition, as you would an sd card
09:15
<
ynezz >
I just wrote working SD card image into that 16M partition
09:16
<
ynezz >
I would at least expect some SPL output
09:24
<
wens >
oh, the Allwinner bootrom doesn't look at the boot0/boot1 partitions of emmc
09:24
<
wens >
you need to write it to the main block device
09:29
florian_kc has joined #linux-sunxi
09:30
<
ynezz >
ah, *facepalm*! Now I get something, stuck at "Trying to boot from MMC2"
09:41
hell__ has quit [Remote host closed the connection]
09:41
ldevulder_ has joined #linux-sunxi
09:42
hell__ has joined #linux-sunxi
09:45
ldevulder has quit [Ping timeout: 256 seconds]
09:52
<
ynezz >
hm, even vanilla U-Boot SPL 2020.04-rc3-00143-ga4df9d8ab848 doesn't boot from eMMC
09:53
<
ynezz >
I'm flashing it with `dd if=/mnt/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=8k seek=1`
09:55
jonasbits has joined #linux-sunxi
09:56
AneoX has joined #linux-sunxi
09:58
<
wens >
try going back another version? IIRC someone reported that latest version doesn't work
09:58
matthias_bgg has joined #linux-sunxi
09:58
<
ynezz >
yep, bisecting now
10:06
_whitelogger has joined #linux-sunxi
10:20
jernej has quit [Remote host closed the connection]
10:21
jernej has joined #linux-sunxi
10:25
florian_kc is now known as florian
10:32
selfbg has joined #linux-sunxi
10:37
<
ynezz >
hm, unable to bisect, hardware issue?
10:37
<
mru >
that's pretty rare
10:38
<
ynezz >
I've used 4ed293ae794b42ca216c53706d9476c3f3126197 as good commit
10:39
<
ynezz >
maybe that was wrong assumption?
10:40
<
mru >
does the board boot with some version from some device?
10:51
selfbg has quit [Ping timeout: 246 seconds]
10:55
florian_kc has joined #linux-sunxi
10:56
florian_kc has quit [Client Quit]
11:03
mauz555 has joined #linux-sunxi
11:08
<
ynezz >
what do you mean exactly? it boots fine from SD card
11:09
<
mru >
ok, then then hardware is fine
11:09
<
ynezz >
maybe the emmc part is the culprit?
11:10
<
mru >
that's unlikely if spl loads from there
11:10
<
ynezz >
I can even access emmc from uboot
11:11
<
mru >
enable debug messages and see what happens
11:15
iyzsong has joined #linux-sunxi
11:15
cnxsoft has quit [Read error: Connection reset by peer]
11:16
cnxsoft has joined #linux-sunxi
11:30
<
ynezz >
WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
11:30
<
ynezz >
hm, why is this warning? :)
11:30
<
mru >
while building?
11:30
<
mru >
well, does the file it's complaining about exist?
11:31
<
ynezz >
adding that binary to the root of uboot fixed the problem
11:31
gediz0x539 has joined #linux-sunxi
11:31
<
ynezz >
this is quite confusing, it should be hard stop
11:31
<
ynezz >
from my point of view
11:31
<
mru >
seems to be some "trusted" firmware thing
11:32
<
ynezz >
yep, but it wont boot from emmc without that binary
11:38
tnovotny has quit [Ping timeout: 246 seconds]
11:39
<
ynezz >
caused by 4c78028737c3185f49f5691183aeac3478b5f699 ("mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing")
11:40
<
mru >
maybe there are rom versions that don't need it
11:41
<
mru >
oh, it's some autobuilder bullshit
12:00
return0e has quit [Read error: Connection reset by peer]
12:00
return0e_ has joined #linux-sunxi
12:04
<
megi >
not sure why the boot would work without it from SD card
12:14
<
mru >
I'm guessing it was in fact a different build
12:15
tnovotny has joined #linux-sunxi
12:20
ldevulder_ is now known as ldevulder
12:20
tnovotny has quit [Ping timeout: 256 seconds]
12:33
tnovotny has joined #linux-sunxi
12:33
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
12:35
cnxsoft has quit [Remote host closed the connection]
12:43
JohnDoe_71Rus has joined #linux-sunxi
12:47
pmp-p has quit [Ping timeout: 265 seconds]
12:59
lurchi_ is now known as lurchi__
13:00
gaston1980 has joined #linux-sunxi
13:04
suprothunderbolt has joined #linux-sunxi
13:04
\\Mr_C\\ has joined #linux-sunxi
13:10
lurchi__ is now known as lurchi_
13:19
pmp-p has joined #linux-sunxi
13:20
AneoX has quit [Ping timeout: 256 seconds]
13:22
AneoX has joined #linux-sunxi
13:26
lurchi_ is now known as lurchi__
13:26
lurchi__ has quit [Read error: Connection reset by peer]
13:27
lurchi__ has joined #linux-sunxi
13:28
gediz0x539 has quit [Ping timeout: 246 seconds]
13:33
selfbg has joined #linux-sunxi
13:36
lurchi_ has joined #linux-sunxi
13:38
lurchi__ has quit [Ping timeout: 246 seconds]
13:39
<
mru >
that'll obviuosly be rejected as is
13:39
<
mru >
but the best way of getting something fixed is to post a bad patch
13:41
lurchi_ has quit [Ping timeout: 264 seconds]
13:42
<
willmore >
mru, isn't that Murphy's law? Post the wrong answer on the inertnet and wait for someone to come correct you?
13:42
<
mru >
it's some law or other, but not murphy's
13:43
<
mru >
murphy's law is "if anything can go wrong, it will"
13:43
<
KotCzarny >
that's more in 'reverse psychology' land
13:43
<
KotCzarny >
(the wrong answer one)
13:43
<
ynezz >
curlybracket: I've seen that, tried that, doesnt work
13:43
<
mru >
KotCzarny: and it works
13:43
<
KotCzarny >
depends on whom
13:44
<
mru >
you can beg and plead for help without so much as a response
13:44
<
mru >
but the moment you post a bad patch, people will be falling over themselves to correct you
13:44
<
KotCzarny >
'hacking the ocd crowd'
13:44
dddddd has joined #linux-sunxi
13:49
maccraft has quit [Ping timeout: 264 seconds]
13:50
maccraft has joined #linux-sunxi
13:51
selfbg has quit [Ping timeout: 250 seconds]
13:53
<
curlybracket >
ynezz: interesting. Are you sure that you put the SPL at the very beginning of the partition (without the 8KiB or 128KiB padding required for booting from SD)?
14:01
maccraft has quit [Quit: WeeChat 2.7.1]
14:01
kaspter has quit [Remote host closed the connection]
14:02
kaspter has joined #linux-sunxi
14:15
pmp-p has quit [Disconnected by services]
14:15
pmp-p has joined #linux-sunxi
14:19
miasma has quit [Ping timeout: 246 seconds]
14:45
jbrown has quit [Ping timeout: 246 seconds]
14:59
reinforce has quit [Quit: Leaving.]
15:01
jbrown has joined #linux-sunxi
15:09
tnovotny has quit [Ping timeout: 246 seconds]
15:12
ganbold_ has joined #linux-sunxi
15:14
<
jernej >
to be honest, sending patch just to start conversation is common practice
15:15
ganbold has quit [Ping timeout: 250 seconds]
15:28
maccraft has joined #linux-sunxi
15:28
aloo_shu has joined #linux-sunxi
15:35
<
mru >
and why do you think that is?
15:38
<
jernej >
I've done it and I saw other done it before
15:39
<
jernej >
or are you asking why patches are needed to start discussion?
15:39
<
mru >
yes, everybody does it
15:39
<
mru >
it's the only way to get answers
15:40
<
jernej >
imo by sending patches you demonstrate some sort of interest to solve the issue
15:42
<
jernej >
and make proper patch later which will be then accepted by maintainers
15:42
<
jernej >
I don't know, just guessing
15:58
mauz555 has quit []
16:12
netlynx has joined #linux-sunxi
16:15
<
megi >
curlybracket: on eMMC SPL has to be at those offsets too
16:46
vagrantc has joined #linux-sunxi
16:55
reinforce has joined #linux-sunxi
17:03
tnovotny has joined #linux-sunxi
17:10
florian has quit [Quit: Leaving]
18:03
netlynx has quit [Quit: Ex-Chat]
18:13
DonkeyHotei has quit [Ping timeout: 256 seconds]
18:19
wasutton3 has joined #linux-sunxi
18:58
DonkeyHotei has joined #linux-sunxi
19:01
DonkeyHotei has quit [Remote host closed the connection]
19:04
fALSO has quit [Ping timeout: 260 seconds]
19:04
DonkeyHotei has joined #linux-sunxi
19:04
jstein has joined #linux-sunxi
19:42
mauz555 has joined #linux-sunxi
19:53
matthias_bgg has quit [Quit: Leaving]
19:59
matthias_bgg has joined #linux-sunxi
20:00
lurchi_ has joined #linux-sunxi
20:21
lkcl has quit [Ping timeout: 256 seconds]
20:40
maccraft has quit [Ping timeout: 246 seconds]
20:49
tnovotny has quit [Quit: Leaving]
20:54
florian has joined #linux-sunxi
21:00
anarsoul has quit [Remote host closed the connection]
21:01
anarsoul has joined #linux-sunxi
21:04
reinforce has quit [Quit: Leaving.]
21:07
lkcl has joined #linux-sunxi
21:15
fALSO has joined #linux-sunxi
21:31
lurchi_ is now known as lurchi__
21:31
rzerres has quit [Ping timeout: 256 seconds]
21:32
rzerres has joined #linux-sunxi
21:34
lurchi__ is now known as lurchi_
21:52
lurchi_ is now known as lurchi__
22:09
lurchi__ is now known as lurchi_
22:11
aloo_shu has quit [Ping timeout: 246 seconds]
22:27
return0e_ has quit [Read error: Connection reset by peer]
22:28
return0e has joined #linux-sunxi
22:39
lurchi_ is now known as lurchi__
22:49
lurchi__ is now known as lurchi_
22:54
vagrantc_ has joined #linux-sunxi
22:56
matthias_bgg has quit [Ping timeout: 246 seconds]
23:09
sunilmohan has joined #linux-sunxi
23:10
sunilmohan has quit [Changing host]
23:10
sunilmohan has joined #linux-sunxi
23:33
jstein has quit [Ping timeout: 264 seconds]
23:44
mauz555 has quit []
23:47
aloo_shu has joined #linux-sunxi
23:48
florian has quit [Ping timeout: 250 seconds]
23:55
camus1 has joined #linux-sunxi
23:56
kaspter has quit [Ping timeout: 250 seconds]
23:56
camus1 is now known as kaspter