<smaeul>
hmm, looking again at the build failures, everything with "SPL_SYS_I2C_LEGACY && !SPL_I2C" in master should actually have SPL_SYS_I2C_LEGACY=n
<ad__>
i can find general info on cp15 but seems some parameters are brand/part related maybe
warpme_ has quit [Ping timeout: 480 seconds]
warpme_ has joined #linux-sunxi
narmstrong_ has quit [Remote host closed the connection]
narmstrong_ has joined #linux-sunxi
narmstrong_ has quit [Ping timeout: 480 seconds]
<mps>
anarsoul: MoeIcenowy: this morning I 'steal' armbian kernel, initram and dtbs, installed them on alpine linux and got lima working (without fbdev)
<mps>
will look later (when find some time) what they set in initramfs to enable lima
JohnDoe_71Rus has quit []
narmstrong_ has joined #linux-sunxi
cnxsoft has quit []
Mangy_Dog has joined #linux-sunxi
apritzel has joined #linux-sunxi
<MoeIcenowy>
mps: they you may really miss something in kernel config
<mps>
MoeIcenowy: maybe, but if I boot armbian kernel without their initram X also doesn't start
<MoeIcenowy>
mps: did you steal /lib/modules ?
<mps>
yes
<MoeIcenowy>
then if initramfs is needed, it's strange...
<MoeIcenowy>
udev should be able to load kernel modules needed
<mps>
yes, but I will look diff their kernel config with my
<mps>
modules are loaded in both cases, without initram and with it
<mps>
I use libudev-zero and busybox mdev, not udev
<mps>
this is not problem, it works fine on other machines and loads modules as needed
apritzel has quit [Ping timeout: 480 seconds]
<ad__>
at u-boot, looks like psci is not initialized from SPL. How could i do this ?
<ad__>
i tried psci_arch_init() from sunxi_board_init() but this freezes the boot
ftg^ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<jakllsch>
ad__: why do you need PSCI too early?
cnxsoft has quit []
<ad__>
jakllsch, using falcon boot, kernel enters panic without
<MoeIcenowy>
ad__: I think it's too tight for SPL to include PSCI implementation
<MoeIcenowy>
why don't you try to minimize your U-Boot?
<smaeul>
ad__: to initialize PSCI and switch to NS world, see the code inside `#ifdef CONFIG_ARMV7_NONSEC` in arch/arm/lib/bootm.c
<smaeul>
but that requires having loaded/relocated the secure monitor to SRAM, so you would have to link that to SPL as well, or put the secure monitor in your FIT image
<smaeul>
so it is really nontrivial
<ad__>
smaeul, ahaaa thanks. I have seen it, that is called from bootm seems. An from SPL it was freesing the boot. And you pointed out the reason :)
<ad__>
well, will try to have it working and to send and appropriate patch to u.boot
<smaeul>
are you sure this is better than loading u-boot and kernel in the same FIT image, then jumping to U-Boot (with minimal drivers) and it booting the pre-loaded kernel?
apritzel has joined #linux-sunxi
<ad__>
mm, i am a bit confused, never put an u-boot in a fit image, but i think i understand what you mean.
<ad__>
will study on it
<ad__>
thanks
Mangy_Dog has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
<apritzel>
ad__: regarding your system register question from this morning: chapter B3.17.2 in the ARMv7 ARM helps you find the register name for a given mrc/mcr encoding
<apritzel>
the ordering is different between that table and the instruction encoding: MCR<c> <coproc>, <opc1>, <Rt>, <CRn>, <CRm>{, <opc2>}
<apritzel>
so that's ACTLR, which is IMPDEF, so you need to look that up in the Cortex-A7 TRM (in your case)
Mangy_Dog has joined #linux-sunxi
<ad__>
apritzel, thanks, i see, co cp15 it's nothing sunxi-related but just armv7, correct ?
<apritzel>
yes, "coprocessor" 15 is some trick to model system registers, most of which are indeed architectural
warpme_ has quit [Quit: Connection closed for inactivity]
<ad__>
apritzel, thanks
warpme_ has joined #linux-sunxi
JohnDoe_71Rus has quit []
sunshavi has quit [Ping timeout: 480 seconds]
sunshavi has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
cmeerw has quit [Ping timeout: 480 seconds]
ftg^ has quit []
warpme_ has quit [Quit: Connection closed for inactivity]
Mangy_Dog has quit [Remote host closed the connection]