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
gavlee has quit [Ping timeout: 265 seconds]
gavlee has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus is now known as kaspter
tlwoerner has quit [Quit: Leaving]
field^Zzz3 has joined #linux-rockchip
field^Zzz2 has quit [Ping timeout: 240 seconds]
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
camus is now known as kaspter
tlwoerner has joined #linux-rockchip
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-rockchip
tlwoerner has quit [Client Quit]
lkcl has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-rockchip
lkcl has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-rockchip
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
lvrp16 has quit [Ping timeout: 260 seconds]
lvrp16 has joined #linux-rockchip
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
ldevulder_ is now known as ldevulder
lkcl has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-rockchip
stikonas has joined #linux-rockchip
matthias_bgg has quit [Remote host closed the connection]
matthias_bgg has joined #linux-rockchip
vicencb has joined #linux-rockchip
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-rockchip
ganbold has quit [Ping timeout: 256 seconds]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 265 seconds]
camus is now known as kaspter
urjaman has quit [Read error: Connection reset by peer]
urjaman has joined #linux-rockchip
stefan_ has joined #linux-rockchip
<stefan_> Hi, trying to boot rk3399 from SPI and getting this "Synchronous Abort" handler, esr 0x96000021 error. Does someone know what can cause this?
<stefan_> Call trace:
<stefan_> PC: [< 000049d8 >] fdt_num_mem_rsv+0x14/0x28
<stefan_> LR: [< 00003424 >] fdt_shrink_to_minimum+0x24/0xc8
<stefan_> Stack:
<stefan_> [< 000049d8 >] fdt_num_mem_rsv+0x14/0x28
<stefan_> TPL did initialize the RAM, SPL started and said Trying to boot from SPI and then the error happened.
<dvergatal> stefan_: which version of u-boot atf and op-tee?
<stefan_> I was using rockchip Uboot, this is output on the serial console
<stefan_> U-Boot TPL 2017.09-gcb87a2a-dirty
<dvergatal> old rubbish
<dvergatal> use mainline
<stefan_> ok, will try that, thanks
<dvergatal> stefan_: n/p
<dvergatal> stefan_: btw. u are from poland?
<stikonas> why would you think he is from poland...
<dvergatal> stikonas: because of the nick
<stefan_> I am form Serbia
<dvergatal> stefan_: yeah ok i thougth that your from poland because stefan is a slavic name
<mps> stefan_: hi! also I'm
<mps> dvergatal: this name (and variants) is not exists only in slavic countries, but also other in europe
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #linux-rockchip
<dvergatal> mps: yeah ofcourse i didn' want to offend anyone by the way google translate says that slavic: relating to or denoting the branch of the Indo-European language family that includes Russian, Ukrainian, and Belorussian ( East Slavic ), Polish, Czech, Slovak, and Sorbian ( West Slavic ), and Bulgarian, Serbian, Croatian, Macedonian, and Slovene ( South Slavic ).
<mps> dvergatal: I don't feel offended, no worries :)
<dvergatal> :]
<mps> but I know two swedish with this name, and one french
<dvergatal> btw. can anybody helping me solvinf the issue with also booting from spl from sd card? i have rockchip boot.img and rootfs.img which i have builded using rockchip sdk and uboot spl/tpl images
<dvergatal> mps: i just thougth that maybe stefan_ is from poland so i could faster explain what heiko told me yesterday nothing more
<mps> rootfs.img looks like is root filesystem ?
<dvergatal> mps: i think that yes it is from rockchip buildroot
<mps> what board you use
<dvergatal> firefly-rk3399
<dvergatal> i have tried this solution
<dvergatal> heiko helped me yesterday with mainine atf and op-tee
<dvergatal> and uboot spl/tpl
<mps> hmm, isnt't firefly already in mainline u-uboot
<dvergatal> and it boots but after that it doesn't boot the kernel and rootfs
<dvergatal> mps: yes it is
<dvergatal> i have used this commands from rockchip site
<mps> but you got u-boot prompt?
<dvergatal> yes
<dvergatal> i have
<dvergatal> and it says that one sec
<mps> probably kernel load address need to be set
<dvergatal> i will pastebin don' want to spam here
<mps> I don't have this board so I can't check, sorry
Net147 has quit [Read error: Connection reset by peer]
<mps> maybe you can look at postmarketOS and u-boot for pinebook pro, they made u-boot for it
<dvergatal> what is postmarketOS ?
Net147 has joined #linux-rockchip
<mps> line 47: ** Unrecognized filesystem type **
<dvergatal> yeah
<dvergatal> i saw that
<dvergatal> and this is somehow strange to me because this boot.img is working i have used it
<mps> vfat FS for boot partition is safe to try first
<dvergatal> mps: ok but i have used this command dd if=boot.img of=sdb seek=32768
<dvergatal> and according to the link http://opensource.rock-chips.com/wiki_Boot_option#Boot_from_SD.2FTF_Card
<mps> postmarketOS is alpine linux downstream for mobile devices (phones and tablets) but also some arm notebooks
<dvergatal> i should simply use this command gpt write mmc 0 $partitions
<dvergatal> in u-boot command line and partition table should be written
<mps> can you inspect filesystem on card after you 'dd' boot.img
<dvergatal> how?
<mps> fdisk
<dvergatal> yeah and it does not show any partition
<mps> hmm, not sure but I think there should be partitions
<dvergatal> mps: btw. this is an android partition made by rockchip sdk
<mps> whatever it is but I still think that there must be partitions
<dvergatal> nope it doesn' show it
<dvergatal> hmmm maybe somebody can give me his boot partition and we can check if it will work with this card?
<mps> stupid idea but I had similar situations with damaged sd cards or bad working sd/mmc adapters
<mps> for other boards and SOCs
<dvergatal> this is a new sd card
<dvergatal> i think that android img is something different
<mps> yes, but they also have partitions
<dvergatal> one sec i think i will try another approach
<mps> I presume you read doc/README.rockchip in mainline u-boot
<mps> dvergatal: your paste shows tipical situation when u-boot can't find boot partition/kernel
<dvergatal> yeah one sec
kaspter has quit [Quit: kaspter]
<dvergatal> mps: ok i have done a boot partition using this howto
<dvergatal> and fdisk still did not show any partition after dd
<dvergatal> mps: yes i have read it
<dvergatal> mps: ahh i see:D
<stikonas> I would recomment just using UEFI ESP partition to boot :)
<mps> stikonas: if device support it, yes
<stikonas> mps: all u-boot devices support it
<stikonas> u-boot is UEFI implementation
<stikonas> unless device is really badly implemented and can't take GPT partition table...
<dvergatal> ok so i have to write to my memory card partition table?
<stikonas> don't you have partition table on your memory card?
<dvergatal> stikonas: nope i have just used dd with all images
<mps> stikonas: If I could find how to do that on my rk3399 chromebook
<stikonas> dvergatal: well, you can still create partition table inside image
<stikonas> but still, how do you use your system without partitions...
<stikonas> I use dd for bootloader too...
<stikonas> but for kernel, etc. I just do make install later...
<dvergatal> hmmm stikonas i have used this 4 commands on my sd card
<dvergatal> dd if=idbloader.img of=sdb seek=64
<dvergatal> dd if=boot.img of=sdb seek=32768
<dvergatal> dd if=u-boot.itb of=sdb seek=16384
<dvergatal> dd if=rootfs.img of=sdb seek=262144
<stikonas> well, it's probably prepartitioned anyway
<stikonas> these seek numbers are partition boundaries
<dvergatal> yeas these are the partition boundaries
<dvergatal> according to the howto which mps has paste upper
<dvergatal> but i think that i should also make on that sd card partition table
<dvergatal> because on this side http://opensource.rock-chips.com/wiki_Boot_option#Boot_from_SD.2FTF_Card
<dvergatal> they have written that after dd i should run that command: gpt write mmc 0 $partitions in u-boot command line
<dvergatal> but still i have an error
dstzd has quit [Quit: ZNC - https://znc.in]
dstzd has joined #linux-rockchip
<mps> sometimes boot partition have to be marked as 'bootable' with fdisk/parted
<dvergatal> mps: yeah but if i use dd if=boot.img of=my_device seek=32768 it still do not show that partition
<dvergatal> using fdisk/gparted or whatever
<mps> I'll dare to say that this guide is probably wrong then
<mps> it is obvious from you paste that u-boot is trying to find partition
<dvergatal> mps: yes it is
<dvergatal> this guid is a rubbish i know
<mps> did you looked if armbian support your board
<dvergatal> haha
<dvergatal> using fdisk solved the problem:D
<dvergatal> now the partition is visible
<dvergatal> :D
<dvergatal> one sec i will try it now
<dvergatal> hahahahahaa it works:D
<dvergatal> kernel has been loaded
<dvergatal> :D
<mps> nice to hear :)
<dvergatal> thx guys:D
<dvergatal> but as heiko said it earlier i need to make my own boot partition not that being builded by this rubish build.sh script
<mps> stikonas: iirc I read earlier somewhere that you wrote that for rk3399 cortex m0 code is not needed for u-boot image?
<mps> in ATF I mean
<stikonas> hmm, I think I needed it...
<stikonas> there are two 32-bit arm CPUs if I recall correctly and one is needed
<stikonas> and the other is unused on most rk3399 boards
JohnDoe_71Rus has joined #linux-rockchip
<mps> two? omg
robmur01 has quit [Read error: Connection reset by peer]
robmur01 has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
tlwoerner has quit [Remote host closed the connection]
tlwoerner has joined #linux-rockchip
tlwoerner has quit [Quit: Leaving]
stefan_ has quit [Ping timeout: 240 seconds]
tlwoerner has joined #linux-rockchip
robmur01_ has joined #linux-rockchip
robmur01 has quit [Ping timeout: 240 seconds]
tlwoerner has quit [Quit: Leaving]
<tuxd3v> hello guys
<tuxd3v> what would be the best way to inject in the DT a maccaddress from the 'boot.scr' uboot script?
<tuxd3v> I am using:
<tuxd3v> fdt set /ethernet@ff550000 local-mac-address "[${macaddr1}]"
<tuxd3v> to try to set the maccadress in nanopi r2s
vagrantc has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
archetech has joined #linux-rockchip
bl4ck175 has joined #linux-rockchip
mmind00 has quit [Ping timeout: 256 seconds]
mmind00 has joined #linux-rockchip
<bl4ck175> hello, I'm currently starting a new PCBA layout and would like to use the RK3399pro. I found the reference schematic here http://opensource.rock-chips.com/wiki_Main_Page but it's only in PDF. Do you know where we can find RK3399pro ecad symbol files? (for Cadence, it would be perfect)
<bl4ck175> I tried to contact fae@rock-chips.com, service@rock-chips.com and opensource@rock-chips.com but I did't get any reply yet
j45 has quit [Ping timeout: 256 seconds]
j45 has joined #linux-rockchip
vicencb has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
vicencb has quit [Quit: Leaving.]