stikonas has quit [Remote host closed the connection]
cp- has quit [Quit: Disappeared in a puff of smoke]
cp- has joined #linux-rockchip
PPA has quit [Ping timeout: 258 seconds]
vstehle has quit [Ping timeout: 246 seconds]
field^Mop has joined #linux-rockchip
<smaeul>
I'm trying to use U-Boot + SPL/TPL on a nanopi m4 (v1, 2gb), but I'm getting absolutely zero output from the UART. whatever miniloader Armbian uses works fine when written to the same SD/eMMC sector
<smaeul>
Am I missing something beyond `make nanopi-m4-2gb-rk3399_defconfig; make BL31=.../bl31.elf`?
<smaeul>
I'd expect to see at least the TPL banner even if the DRAM timings or BL31 were broken
<tuxd3v>
smaeul, you need to export BL31 first, before compilation, I believe..
<tuxd3v>
I mean before compiling uboot
<tuxd3v>
what files the compilation produces?
<wens>
stikonas: I'd assume the cpu ID would be burned out of the factory
<smaeul>
tuxd3v: I tried that as well. I get a u-boot-rockchip.bin and write it with `dd if=u-boot-rockchip.bin of=/dev/mmcblk2 bs=32k seek=1` (or no bs option and seek=64, it's the same)
<tuxd3v>
smaeul, you need 2 files produced
<tuxd3v>
idbloader.img
<tuxd3v>
u-boot.itb
<tuxd3v>
this if you are in mainline u-boot
<tuxd3v>
check the logs of compilation process for the atf bl31.elf stage
<smaeul>
from what I can tell, u-boot-rockchip.bin is those two files concatenated together
<wens>
it is
<tuxd3v>
you should also use a microcontroller compiler to compile the cortex-m0 code, present in atf, but this is done when you compile atf..
<wens>
huh?
<smaeul>
yes, I did that (used a 32-bit toolchain for the m0 code)
* wens
has been using aarch64 compiler for atf
<smaeul>
if you have an arm-none-eabi- compiler in your path, it will pick that up by default
<tuxd3v>
smaeul, I got a Rpro64(now with a shortcircuit somewere.. :S) and a RockPi4, I messed a lot to try to have a working boot loader, a lot of things , try and error, until success.. I am now looking and I see myself some months ago :)
tkv53 has joined #linux-rockchip
vstehle has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
chewitt_ is now known as chewitt
ldevulder_ is now known as ldevulder
maz has quit [Remote host closed the connection]
maz has joined #linux-rockchip
lkcl has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-rockchip
vicencb has joined #linux-rockchip
gendevbot has quit [Ping timeout: 256 seconds]
stikonas has joined #linux-rockchip
gendevbot has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Ping timeout: 244 seconds]
stikonas_ has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas_ has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]