rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 256 seconds]
Mangy_Dog has quit [Ping timeout: 246 seconds]
gnarface has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
ganbold_ has joined #linux-sunxi
ganbold has quit [Ping timeout: 246 seconds]
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 246 seconds]
ChriChri_ is now known as ChriChri
dev1990 has quit [Quit: Konversation terminated!]
tuxd3v has quit [Ping timeout: 258 seconds]
cnxsoft has joined #linux-sunxi
RichardG867_ is now known as RichardG867
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
lurchi_ is now known as lurchi__
\\Mr_C\\ has joined #linux-sunxi
<smaeul> to be fair, the documentation does actually spell out exactly what you're supposed to do:
<smaeul> When configured PLL_MIPI,LDO1 and LDO2 must be enable at first,and delay 100us ,configure the
<smaeul> division factor, then enable and delay 500us, PLL_MIPI can be output to use
aloo_shu has quit [Quit: carrots]
JohnDoe_71Rus has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
tuxd3v has joined #linux-sunxi
selfbg has joined #linux-sunxi
tmlind has quit [Ping timeout: 268 seconds]
Kamilion has quit [Ping timeout: 268 seconds]
tmlind has joined #linux-sunxi
Kamilion has joined #linux-sunxi
reinforce has joined #linux-sunxi
dddddd has quit [Ping timeout: 246 seconds]
ScrumpyJack has quit [Ping timeout: 272 seconds]
suprothunderbolt has quit [Remote host closed the connection]
suprothunderbolt has joined #linux-sunxi
ganbold has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 256 seconds]
jstein has quit [Quit: quit]
selfbg has quit [Ping timeout: 246 seconds]
AneoX has joined #linux-sunxi
TEKrantz has quit [Read error: Connection reset by peer]
TEKrantz has joined #linux-sunxi
tnovotny has joined #linux-sunxi
ldevulder_ is now known as ldevulder
maccraft has joined #linux-sunxi
ScrumpyJack has joined #linux-sunxi
florian_kc has joined #linux-sunxi
florian_kc has quit [Ping timeout: 250 seconds]
vagrantc has quit [Quit: leaving]
jonasbits_ has quit [Ping timeout: 272 seconds]
<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
<ynezz> hm, according to this https://gitlab.denx.de/u-boot/u-boot/blob/master/board/sunxi/README.sunxi64#L83 it should just work, right?
suprothunderbolt has quit [Ping timeout: 246 seconds]
<wens> it should
<ynezz> so if I understand it correctly I just need to u-boot-with-spl.bin (2020.01) into boot0 emmc partition right?
<wens> you write it to the same offset of the whole block device, not any partition, as you would an sd card
<ynezz> yep
<ynezz> I just wrote working SD card image into that 16M partition
<ynezz> I would at least expect some SPL output
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<wens> boot0?
<wens> oh, the Allwinner bootrom doesn't look at the boot0/boot1 partitions of emmc
<wens> you need to write it to the main block device
florian_kc has joined #linux-sunxi
<ynezz> ah, *facepalm*! Now I get something, stuck at "Trying to boot from MMC2"
hell__ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
hell__ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 256 seconds]
<ynezz> hm, even vanilla U-Boot SPL 2020.04-rc3-00143-ga4df9d8ab848 doesn't boot from eMMC
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
<ynezz> I'm flashing it with `dd if=/mnt/u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=8k seek=1`
jonasbits has joined #linux-sunxi
AneoX has joined #linux-sunxi
<wens> try going back another version? IIRC someone reported that latest version doesn't work
matthias_bgg has joined #linux-sunxi
<ynezz> yep, bisecting now
_whitelogger has joined #linux-sunxi
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
florian_kc is now known as florian
selfbg has joined #linux-sunxi
<ynezz> hm, unable to bisect, hardware issue?
<mru> that's pretty rare
<ynezz> I've used 4ed293ae794b42ca216c53706d9476c3f3126197 as good commit
<ynezz> maybe that was wrong assumption?
<mru> does the board boot with some version from some device?
selfbg has quit [Ping timeout: 246 seconds]
florian_kc has joined #linux-sunxi
florian_kc has quit [Client Quit]
mauz555 has joined #linux-sunxi
<ynezz> what do you mean exactly? it boots fine from SD card
<mru> ok, then then hardware is fine
<ynezz> maybe the emmc part is the culprit?
<mru> that's unlikely if spl loads from there
<ynezz> I can even access emmc from uboot
<mru> enable debug messages and see what happens
iyzsong has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
<ynezz> WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
<ynezz> hm, why is this warning? :)
<mru> from where?
<ynezz> in uboot
<mru> while building?
<ynezz> yes
<mru> well, does the file it's complaining about exist?
<ynezz> adding that binary to the root of uboot fixed the problem
gediz0x539 has joined #linux-sunxi
<ynezz> this is quite confusing, it should be hard stop
<ynezz> from my point of view
<mru> seems to be some "trusted" firmware thing
<ynezz> yep, but it wont boot from emmc without that binary
tnovotny has quit [Ping timeout: 246 seconds]
<ynezz> caused by 4c78028737c3185f49f5691183aeac3478b5f699 ("mksunxi_fit_atf.sh: Allow for this to complete when bl31.bin is missing")
<mru> maybe there are rom versions that don't need it
<mru> oh, it's some autobuilder bullshit
return0e has quit [Read error: Connection reset by peer]
return0e_ has joined #linux-sunxi
<megi> it's ATF :)
<megi> not sure why the boot would work without it from SD card
<mru> I'm guessing it was in fact a different build
tnovotny has joined #linux-sunxi
ldevulder_ is now known as ldevulder
tnovotny has quit [Ping timeout: 256 seconds]
tnovotny has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
cnxsoft has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
pmp-p has quit [Ping timeout: 265 seconds]
lurchi_ is now known as lurchi__
gaston1980 has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
lurchi__ is now known as lurchi_
pmp-p has joined #linux-sunxi
AneoX has quit [Ping timeout: 256 seconds]
AneoX has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ has quit [Read error: Connection reset by peer]
lurchi__ has joined #linux-sunxi
gediz0x539 has quit [Ping timeout: 246 seconds]
selfbg has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 246 seconds]
<mru> that'll obviuosly be rejected as is
<mru> but the best way of getting something fixed is to post a bad patch
lurchi_ has quit [Ping timeout: 264 seconds]
<curlybracket> Actually, the BootROM does handle booting from boot0/boot1 partitions (at least as of A64). I wrote a short summary recently on the wiki: https://linux-sunxi.org/index.php?title=Bootable_eMMC&diff=22929&oldid=22899
<willmore> mru, isn't that Murphy's law? Post the wrong answer on the inertnet and wait for someone to come correct you?
<mru> it's some law or other, but not murphy's
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<mru> murphy's law is "if anything can go wrong, it will"
<KotCzarny> that's more in 'reverse psychology' land
<KotCzarny> (the wrong answer one)
<ynezz> curlybracket: I've seen that, tried that, doesnt work
<mru> KotCzarny: and it works
<KotCzarny> depends on whom
<mru> you can beg and plead for help without so much as a response
<mru> but the moment you post a bad patch, people will be falling over themselves to correct you
<KotCzarny> 'hacking the ocd crowd'
<KotCzarny> ;)
dddddd has joined #linux-sunxi
maccraft has quit [Ping timeout: 264 seconds]
maccraft has joined #linux-sunxi
selfbg has quit [Ping timeout: 250 seconds]
<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)?
maccraft has quit [Quit: WeeChat 2.7.1]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
<willmore> I was joking, of course, it's https://meta.wikimedia.org/wiki/Cunningham%27s_Law
pmp-p has quit [Disconnected by services]
pmp-p has joined #linux-sunxi
miasma has quit [Ping timeout: 246 seconds]
jbrown has quit [Ping timeout: 246 seconds]
reinforce has quit [Quit: Leaving.]
jbrown has joined #linux-sunxi
tnovotny has quit [Ping timeout: 246 seconds]
ganbold_ has joined #linux-sunxi
<jernej> to be honest, sending patch just to start conversation is common practice
ganbold has quit [Ping timeout: 250 seconds]
maccraft has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
<mru> and why do you think that is?
<jernej> I've done it and I saw other done it before
<jernej> or are you asking why patches are needed to start discussion?
<mru> yes, everybody does it
<mru> it's the only way to get answers
<jernej> imo by sending patches you demonstrate some sort of interest to solve the issue
<jernej> and make proper patch later which will be then accepted by maintainers
<jernej> I don't know, just guessing
mauz555 has quit []
netlynx has joined #linux-sunxi
<megi> curlybracket: on eMMC SPL has to be at those offsets too
vagrantc has joined #linux-sunxi
reinforce has joined #linux-sunxi
tnovotny has joined #linux-sunxi
florian has quit [Quit: Leaving]
netlynx has quit [Quit: Ex-Chat]
DonkeyHotei has quit [Ping timeout: 256 seconds]
wasutton3 has quit [Quit: ZNC 1.7.3 - https://znc.in]
wasutton3 has joined #linux-sunxi
DonkeyHotei has joined #linux-sunxi
DonkeyHotei has quit [Remote host closed the connection]
fALSO has quit [Ping timeout: 260 seconds]
DonkeyHotei has joined #linux-sunxi
jstein has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
mauz555 has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
lkcl has quit [Ping timeout: 256 seconds]
maccraft has quit [Ping timeout: 246 seconds]
tnovotny has quit [Quit: Leaving]
florian has joined #linux-sunxi
anarsoul has quit [Remote host closed the connection]
anarsoul has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
lkcl has joined #linux-sunxi
fALSO has joined #linux-sunxi
lurchi_ is now known as lurchi__
rzerres has quit [Ping timeout: 256 seconds]
rzerres has joined #linux-sunxi
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
wasutton3 has quit [Quit: ZNC 1.7.3 - https://znc.in]
lurchi__ is now known as lurchi_
aloo_shu has quit [Ping timeout: 246 seconds]
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
vagrantc_ has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 246 seconds]
sunilmohan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
sunilmohan has joined #linux-sunxi
jstein has quit [Ping timeout: 264 seconds]
mauz555 has quit []
aloo_shu has joined #linux-sunxi
florian has quit [Ping timeout: 250 seconds]
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 250 seconds]
camus1 is now known as kaspter