ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
stikonas_ has quit [Remote host closed the connection]
vicencb has quit [Quit: Leaving.]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
tuxd3v has quit [Quit: Leaving]
s_frit_ has joined #linux-rockchip
s_frit has quit [Ping timeout: 265 seconds]
vstehle has quit [Ping timeout: 265 seconds]
return0e has quit [Ping timeout: 265 seconds]
return0e has joined #linux-rockchip
s_frit has joined #linux-rockchip
s_frit_ has quit [Ping timeout: 265 seconds]
vstehle has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder__ has quit [Ping timeout: 265 seconds]
ldevulder_ is now known as ldevulder
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
matthias_bgg has joined #linux-rockchip
Kelsar has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Kelsar has joined #linux-rockchip
mrueg has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mrueg has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 245 seconds]
alpernebbi has joined #linux-rockchip
robmur01 has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
tuxd3v has joined #linux-rockchip
<aalm> tuxd3v, what i meant yesterday is described around here: https://github.com/u-boot/u-boot/blob/master/doc/README.distro#L165
<aalm> if you read on from there, it will eventually get down to boot.scr too.
<tuxd3v> yeah, but I don't know what are the values for rk3399:
<tuxd3v> fdt_addr_r
<tuxd3v> and
<tuxd3v> kernel_addr_r
<tuxd3v> in atf v2.2 and uboot 2020.01 I think the parameters are.
<tuxd3v> fdt_addr
<tuxd3v> kernel_add
<tuxd3v> but again I don't knoew the best values for rk3399 :(
JohnDoe_71Rus has joined #linux-rockchip
<tuxd3v> aalm, that wuld beam that I have toi twewak the uboot .config file right?
<tuxd3v> wuld beam -> would mean
<tuxd3v> hwe his always trying to boot from :
<tuxd3v> Trying to boot from MMC1
<tuxd3v> but sdcard, I think is mmc0
<robmur01> tuxd3v: see include/configs/rk3399_common.h for the default environment vars. As far as I'm aware there shouldn't be any need to change them though; certainly distro boot with the standard GPT partition layout "just worked" on my board
<tuxd3v> thanks
<tuxd3v> this is my boot.cmd:
<tuxd3v> maybe doesn exist a MMCo
<tuxd3v> and its called MMC1
<tuxd3v> I am flashinf the 'idbloader.img' to bs=512 seek=64 conv=notrunc
<tuxd3v> and 'u-boot.itb' to bs=512 seek=16384 conv=notrunc
<tuxd3v> then I have a msdos partition table
<tuxd3v> with 2 partitions
<tuxd3v> 1 starting at 32768 sector
<tuxd3v> and the other following
<tuxd3v> and I have kernel and such in partition 1
<tuxd3v> does I need to tell the address were my script address will be loaded?
<tuxd3v> scriptaddr=0x00500000
<tuxd3v> my dot config contain: CONFIG_SYS_BOARD="evb_rk3399"
<tuxd3v> is this correct?
matthias_bgg has quit [Ping timeout: 252 seconds]
<tuxd3v> but distrobut uses 5 partitions
<tuxd3v> distroboot
<tuxd3v> and I don't know were to find the corresponding binaries
<tuxd3v> I have 'CONFIG_DISTRO_DEFAULTS=y' set
<tuxd3v> but I would like to use 2 partitions
<tuxd3v> 'idbloader.img' + 'u-boot.itb , then partition for /boot then partition for rootfs
<fALSO> yo tuxd3v
<tuxd3v> fALSO, HI
<tuxd3v> :)
<fALSO> tuxd3v, this weekend I tried the hantro patches on my rockpro64
<fALSO> with the experimental ffmpeg
<fALSO> it worked perfectly
<fALSO> now I wanted to build vlc with libva support
<tuxd3v> NICE
<fALSO> but it seems to require some functions that the "stable" libva doesnt have
<fALSO> it seems to need some "hacked" one, that i havent figure out yet
<tuxd3v> I am far behind, I am still stuck at bootloader on rk3399
<fALSO> LOL
<fALSO> im still using the same one that worked
<tuxd3v> can't get it to work..
<fALSO> every ttime i try to flash a new version, it never boots
<tuxd3v> its been a pita with that..
<fALSO> the uboot documentation isnt updated
<fALSO> they seem to commit code, but not update the documentation
<fALSO> no mention of rockpro64 on uboot
<tuxd3v> yup
<fALSO> yhere some rk3399 stuff there, but seems old
<tuxd3v> but also the rockchip scheme is very strange compared with lets say sunxi
<tuxd3v> with sunxi you just flash a binary and that's it..
<tuxd3v> with rockchip I don't even know the amount of ninaries needed
<fALSO> two
<fALSO> from what is seems
<tuxd3v> yeah
<tuxd3v> aparently
<tuxd3v> 'idbloader.img' + 'u-boot.itb
<tuxd3v> but I still facing problems booting, i couldn't verify were the source of them is.. :S
<tuxd3v> I still continue using my boot.scr
<tuxd3v> I don't know if rockchip uboot plays nice with it..
<tuxd3v> a lot of people simply uses extlinux config menu
<tuxd3v> and then uses syslonux to load the file..
<tuxd3v> syslonux -> syslinux
<tuxd3v> I feel that its ok, but I wanted to use boot.scr
<fALSO> yap, its very green the documentation
<fALSO> If i knew the correct way to do it
<fALSO> I would submit an update to the documenation
<tuxd3v> yeah me to :)
<fALSO> but only people who develop it probably knows
<tuxd3v> yeah that is a problem, but people that is doing integration..
<tuxd3v> or simply for end users
<tuxd3v> I see a lot of distro images still shiping android one
<tuxd3v> heheh
<tuxd3v> I own a rockpro64
<tuxd3v> and a rockpi4
<tuxd3v> I am attempting first in rockpi4
<tuxd3v> without any success in the last 4 months or so..
<tuxd3v> does you use boot.scr in your boot?
<tuxd3v> I am with ATFv2.2 and uboot v2020.01
<tuxd3v> at least attempting with them..
<tuxd3v> ethernet blinks a bit, bootloader says is trying to boot from mmc 1
<tuxd3v> and that's it..
<fALSO> tuxd3v, i dont think so
<fALSO> let me confirm
<fALSO> you want my boot.cmd ?
<tuxd3v> I would apreciate it, thanks, to compare
<tuxd3v> fALSO, thanks
<tuxd3v> I will post my revision based on your :)
<tuxd3v> I am loading dtb from rootfs
<tuxd3v> kernel is in boot partition :)
<fALSO> ok
<tuxd3v> your boot.cmd is very clean :)
<fALSO> :)
<tuxd3v> nice!!
ldevulder_ has joined #linux-rockchip
<fALSO> it was made with help from someone here i think
<fALSO> especialy the uart part
<fALSO> because before It didnt print the kernel startup via serial
<tuxd3v> ho...
<tuxd3v> I saw that part and I was thinking what would it do..
<tuxd3v> :)
<fALSO> it works, didnt touch it again :-)
<tuxd3v> yeah nice!
<tuxd3v> because I never saw the kernel bootmsg
<tuxd3v> :)
<fALSO> with that bootcmd it works
<fALSO> at least for me
<tuxd3v> thanks :)
ldevulder has quit [Ping timeout: 265 seconds]
<tuxd3v> Channel 0: LPDDR4, 50MHz
<tuxd3v> Channel 1: LPDDR4, 50MHz
<tuxd3v> shouldn't the memory be @400Mhz ?
<fALSO> probably
<tuxd3v> fALSO, you are setting the macaddress, it works?
<fALSO> yap
<tuxd3v> I waslooking into_
<tuxd3v> 'arch/arm64/boot/dts/rockchip/rk3399.dtsi'
<fALSO> the macaddrs problem was uboot related
<tuxd3v> gmac: ethernet@fe300000
<tuxd3v> but you have : fdt set /ethernet@ff540000
<tuxd3v> anyway if it works its because its ok
<tuxd3v> maybe its derefined in rockpro64 ;)
<fALSO> tuxd3v, well, i dont really know if thats doing anything
<fALSO> i added that once, because every time i booted it had a differnt mac address
<fALSO> some time ago that worked... dont know if its still doing anything ;-)
<tuxd3v> maybe itcould be ok
<tuxd3v> Iam with Mainline kernel 5.5.0
<tuxd3v> and maybe there are diferences..
<fALSO> im with mailine kernel
<fALSO> and a big pach
<fALSO> patch
<fALSO> to enable hantro etc
<tuxd3v> :)
<tuxd3v> I am clean in mainline
<tuxd3v> :D
<tuxd3v> without patchs
<tuxd3v> :D
<tuxd3v> well for some boards I have
<tuxd3v> maybe, maybe this is my problem hehehe
archetech has joined #linux-rockchip
<tuxd3v> dumping of driver model:
<tuxd3v> it is in loop reseting the cpu and making relocations I don't know why
vicencb has joined #linux-rockchip
stikonas has joined #linux-rockchip
chewitt has quit [Ping timeout: 265 seconds]
Depau has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
paccer has quit [*.net *.split]
adjtm_ has joined #linux-rockchip
adjtm has quit [Ping timeout: 240 seconds]
jwerner has quit [Quit: leaving]
alpernebbi has quit [Quit: alpernebbi]
vagrantc has joined #linux-rockchip
jwerner has joined #linux-rockchip
archetech has quit [Quit: Konversation terminated!]
adamvy has joined #linux-rockchip
eballetbo has quit [Ping timeout: 258 seconds]
eballetbo has joined #linux-rockchip