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
vicencb has quit [Quit: Leaving.]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 250 seconds]
camus1 is now known as kaspter
kaspter has quit [Ping timeout: 250 seconds]
kaspter has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
vagrantc_ has quit [Quit: leaving]
ganbold_ has joined #linux-rockchip
<tuxd3v> hello all,
<tuxd3v> I still am facing problems trying to boot..
<tuxd3v> can someone provide me with the uboot .config to compile it?
<tuxd3v> don't know why it doesn't find my 'boot.scr' file
<tuxd3v> I am using rockpi4A
<tuxd3v> is should be identical to Rockpi4B
<tuxd3v> thanks
<tuxd3v> should 'Address on the MMC to load U-Boot from' be set um u-boot?
<tuxd3v> if so to what value?
vagrantc has quit [Quit: leaving]
<tuxd3v> => boot
<tuxd3v> Card did not respond to voltage select!
<tuxd3v> does any one knows what this means? ^^^
mias has joined #linux-rockchip
<inode> tuxd3v: does the card show up in the output of mmc list?
matthias_bgg has joined #linux-rockchip
field^Zzz1 has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 256 seconds]
ldevulder_ is now known as ldevulder
stikonas has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 250 seconds]
camus1 is now known as kaspter
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
jaganteki has joined #linux-rockchip
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-rockchip
mrueg has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mrueg has joined #linux-rockchip
return0e_ has joined #linux-rockchip
return0e has quit [Ping timeout: 264 seconds]
JohnDoe_71Rus has joined #linux-rockchip
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
ganbold_ has quit [Ping timeout: 250 seconds]
chewitt has joined #linux-rockchip
ganbold has joined #linux-rockchip
chewitt has quit [Quit: Adios!]
vagrantc has joined #linux-rockchip
kaspter has quit [Ping timeout: 246 seconds]
chewitt has joined #linux-rockchip
kaspter has joined #linux-rockchip
chewitt has joined #linux-rockchip
lkcl has quit [Ping timeout: 250 seconds]
s_frit has joined #linux-rockchip
<tuxd3v> hi inode,
<tuxd3v> at each lets say 30-50 boot attemps I managed to get this:
<tuxd3v> but the kernel never starts... it his olding there for half a day, and kernel still not booting..
<Jin^eLD> tuxd3v: are you sure you have the "right" kenrel for this device and the correct ftd? there's no point to wait half a day, it obviously does not work
<Jin^eLD> I'd also check the boot arguments
<Jin^eLD> are you passing the riht serial option?
<Jin^eLD> maybe the kernel actually does start, but fails to mount your rootfs due to wront bootargs
<Jin^eLD> with the wrong serial setting you might not see printk output
<tuxd3v> I was waiting maybe ddr timmins to slow, what because of that, that I waited all night and still not booting
<tuxd3v> I am using Mainline kernel 5.6-rc6
<tuxd3v> the fdt is the 'rk3399-rock-pi-4.dtb'
<tuxd3v> because its a rockpi4A
<Jin^eLD> I am not familiar with the rockpi, just giving you a few pointers on where to look...
<tuxd3v> I don't know if dtb changed between RockPI versions, Rockpi4A or RockPi4B
<tuxd3v> I assume they are the same for the same peripherals
<tuxd3v> Jin^eLD, thankyou for your help
<tuxd3v> Indeed it could be
<Jin^eLD> I'd first make sure that your serial settings are correct
<Jin^eLD> maybe you don't see printk's and its actually starting
<tuxd3v> For what I understand it should be:
<tuxd3v> setenv bootargs earlyprintk earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m net.ifnames=0 biosdevname=0 console=ttyFIQ0,1500000n8 console=tty1 root=PARTUUID=${uuid} rw rootfstype=ext4 fsck.repair=yes rootwait
<Jin^eLD> lots of console settings there, I'd double check if they are correct
<Jin^eLD> you could also add a panic parameter so it automatically reboots if it can't mount the rootfs, I dont remember the exact name
<Jin^eLD> but this way you could kind of check if that is indeed the problem, even if you don't get the console going
<tuxd3v> panic=timer
<Jin^eLD> right
<tuxd3v> I believe
<Jin^eLD> I never remember :) but you get the idea
<Jin^eLD> if it reboots you'd know the kernel actually started
<Jin^eLD> and thatn your root device options are probably wrong
<tuxd3v> It took me a day of experimented to come to this..previously it doesn't even recognized the sdcard
<tuxd3v> now I changed to another sdcard
<tuxd3v> serial should be wrong..
<Esmil> tuxd3v: if you're using the serial console you can just leave out any console= arguments. ttyS0 is set as the default console in the fdt. i guess you just need to add console=tty1 if you want something on a screen at boot
<Esmil> sorry, ttyS2 is set as the default
<Esmil> that's the proper name in upstream kernels, not ttyFIQ
<tuxd3v> I will try that, I don't know were I saw ttyFIQ
<tuxd3v> this is my boot.scr
<Jin^eLD> I am not sure if it makes sense to bother with boot scripts at this point, I'd try to get it up manually from uboots console in the simplies way possible, checking if each step actually worked
<Jin^eLD> *simpliest
<tuxd3v> I don't know how to stop at u-boot prompt :S
<tuxd3v> maybe u-boot needs a special .config file to build it..
<Jin^eLD> if it does not have a counter, still try pressing any key repeatedly in the serial console right after powering up the board, i.e. when you see that u-boot is loading
<tuxd3v> with ttyS2, now I got this:
<tuxd3v> it complains about 'util-linux' package
<Jin^eLD> looks like your kernel is fine after all
<tuxd3v> maybe
<tuxd3v> but later I changed the bootargs and removed the 'rootfs.check=yes'
<tuxd3v> and it still complains by not having 'util-linux'(fsck.ext4) command..
jaganteki has quit [Remote host closed the connection]
<tuxd3v> I believe uboot is configured behind the scene to do a lot of things
<Jin^eLD> well, I'd say when you only have userspace problems left, you're good, its mostly configuration
<tuxd3v> by itself
<Jin^eLD> no, uboot does what the scripts tell it to do
<Jin^eLD> and you see that when you printenv
<Jin^eLD> there is no hidden magic there, just configuration which you can check and see
<tuxd3v> I am now creating a new rootfs with 'util-linux' package, to check wether it will boot or not
<tuxd3v> :)
<tuxd3v> were can I change the way uboot scripts work?
<tuxd3v> I mean removing a lot of logic there
<Jin^eLD> only thing you really need to override os bootcommand and bootargs and you can do both in u-boots defconfig
vicencb has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
vicencb has joined #linux-rockchip
<warpme_> guys: is anybody using this on 3328/3399: https://patchwork.kernel.org/project/linux-rockchip/list/?series=258205 Isn't that currently - to use hantro on 5.6 - we need some additional code to enable h264 support?
stikonas_ has joined #linux-rockchip
marcodiego has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
lerc has quit [Ping timeout: 246 seconds]
lerc has joined #linux-rockchip
mias has quit [Ping timeout: 256 seconds]
vicencb has quit [Quit: Leaving.]