<dhivael>
without spiflash in the boot order it'll just not load uboot from spi
<stikonas>
well, the beginning of boot works fine for me (U-boot TPL and SPL are on SPI)
<dhivael>
the offset it'll start loading is configurable too, CONFIG_SYS_SPI_U_BOOT_OFFS
<stikonas>
well, I chose a smaller offset, but I don't think it matters...
<stikonas>
maybe I missed some other configuration option...
vicencb has quit [Quit: Leaving.]
ldevulder_ has joined #linux-rockchip
lkcl has quit [Ping timeout: 240 seconds]
ldevulder has quit [Ping timeout: 260 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
return0e_ has joined #linux-rockchip
return0e has quit [Ping timeout: 258 seconds]
cristian_c has quit [Ping timeout: 258 seconds]
stikonas has quit [Quit: Konversation terminated!]
nOOb__ has quit [Quit: Leaving]
_whitelogger has joined #linux-rockchip
lkcl has joined #linux-rockchip
return0e has joined #linux-rockchip
return0e_ has quit [Ping timeout: 272 seconds]
JohnDoe_71Rus has joined #linux-rockchip
return0e has quit [Ping timeout: 255 seconds]
return0e has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
return0e_ has joined #linux-rockchip
return0e has quit [Ping timeout: 272 seconds]
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-rockchip
warpme_ has joined #linux-rockchip
kevery has joined #linux-rockchip
Xalius has joined #linux-rockchip
lkcl has quit [Ping timeout: 258 seconds]
Xalius has quit [Remote host closed the connection]
mrjay has joined #linux-rockchip
<mrjay>
guys i'm running ubuntu 20.04 using tsys kernel and have no sound neither by speaker or headphone
<mrjay>
is there something special i need to do to get sound up and running?
<mrjay>
btw i'm using pinebook pro
kaspter has joined #linux-rockchip
mrjay has left #linux-rockchip [#linux-rockchip]
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
field^Mop has joined #linux-rockchip
LargePrime has quit [Ping timeout: 265 seconds]
jelly has quit [Read error: Connection reset by peer]
jelly-home has joined #linux-rockchip
s_frit has quit []
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 258 seconds]
<warpme_>
guys: can somebody point me to DL location of boot files (u-boot-spl.bin, u-boot.bin, bl31.elf, etc) for Radxa RockPi 4 revB? In long term want to build them myself but initially want to have working system as base to experiments.
jelly-home is now known as jelly
cp- has quit [Quit: Disappeared in a puff of smoke]
cp- has joined #linux-rockchip
cp- has quit [Quit: Disappeared in a puff of smoke]
<tuxd3v>
warpme_, for ATF check in /build dir for bl31.elf
<tuxd3v>
wen compiling uboot, you need first to compile atf
<tuxd3v>
then you can move bl32.elf to uboot rootpath
<tuxd3v>
end export BL31='path/to/binary'
<tuxd3v>
end -> and
<tuxd3v>
it will produce several binaries, but you are only interested in 'idbloader.img', 'u-boot.itb'
LargePrime has joined #linux-rockchip
<tuxd3v>
s/bl32.elf/bl31.elf/
ganbold has quit [Ping timeout: 265 seconds]
<warpme_>
tuxd3v: thx! Just trying to cross-compile bl31 with target aarch64 and having issue of compiling build/rk3399/release/m0/ it looks like arm cross-compiler is needed as well....
<warpme_>
tuxd3v: btw: whole procedure seems to me quite similar to allwinner h6....
<tuxd3v>
yes
<tuxd3v>
but rk3399 includes a cortex m0
<tuxd3v>
thats why with a regular baremetal compiled it fails
<tuxd3v>
you also need a eabi cross compiler for that
<tuxd3v>
or edit
<tuxd3v>
Arm Trusted Firmware 'plat/rockchip/rk3399/drivers/m0/Makefile'
<tuxd3v>
comment line:
<tuxd3v>
M0_CROSS_COMPILE ?= arm-none-eabi-
<tuxd3v>
(or download that compiler to compile only m0 driver)
<tuxd3v>
to M0_CROSS_COMPILE ?= arm-eabi-
<tuxd3v>
in this case you need to have the cross compiler for 'arm-eabi-'
<tuxd3v>
a baremetal one should be ok
<tuxd3v>
so at least I need 3 compilers to build atf + uboot
<tuxd3v>
2 diferent compilers for atf( arm-eabi-for arm cortex m0; aarch64-elf for the rest )
<tuxd3v>
err: --> so at least I need 2 compilers to build atf + uboot
<tuxd3v>
this is one of the parts that is diferent from the H6 one
<tuxd3v>
you start compilation with the usual aarch64-elf crosscompiler, and it will call the 'arm-eabi' one to build M0 driver :)
<tuxd3v>
you you need both cross compilers paths exported on yout PATH env variable :)
mrjay has joined #linux-rockchip
<mrjay>
dhivael: i'm getting the same error when trying to suspend
mrjay has quit [Remote host closed the connection]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
Esmil has joined #linux-rockchip
<warpme_>
tuxd3v: thx for replay. For M0_CROSS_COMPILE I set env. to aarch64 but unfortunately this is not enough.It looks like gcc7.5 built for aarch64 not supports -mcpu=cortex-m0 (nor -mthumb -mfloat-abi=soft). Of course I can modify sources to overcome this - but Q is: will ATF be still functional?
Xalius has joined #linux-rockchip
ChanServ has quit [shutting down]
<anarsoul>
warpme_: you need cross-compiler for 32-bit arm
<anarsoul>
IIRC aarch64 compiler can't produce 32-bit binaries
ChanServ has joined #linux-rockchip
<warpme_>
anarsoul: tuxd3v: thx. It looks like I need to switch for binaries built by others for now. So far armbian binary works well :-).
ChanServ has quit [shutting down]
ChanServ has joined #linux-rockchip
Xalius has quit [Remote host closed the connection]
LargePrime has quit [Ping timeout: 255 seconds]
inode has quit [Quit: ]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
warpme_ has quit [Quit: Connection closed for inactivity]