hipboi has quit [Read error: Connection reset by peer]
Eric1084 has joined #radxa
hipboi has joined #radxa
hipboi has quit [Ping timeout: 260 seconds]
hipboi has joined #radxa
hipboi has quit [Ping timeout: 250 seconds]
hipboi has joined #radxa
<snkt>
hello
hipboi has quit [Ping timeout: 272 seconds]
hipboi has joined #radxa
snkt has quit [Quit: Leaving]
mrcan_ has joined #radxa
mrcan has quit [Ping timeout: 260 seconds]
bengal has joined #radxa
FreezingCold has quit [Ping timeout: 272 seconds]
bengal has quit [Client Quit]
snkt has joined #radxa
FreezingCold has joined #radxa
AstralixNB has joined #radxa
hipboi has quit [Ping timeout: 260 seconds]
hipboi has joined #radxa
<snkt>
can anyone help me how take backup of linuxroot.img ?
<snkt>
means linux filesystem...
hipboi has quit [Ping timeout: 258 seconds]
hipboi has joined #radxa
hipboi has quit [Ping timeout: 272 seconds]
hipboi has joined #radxa
hipboi has quit [Quit: Leaving]
<c0d3z3r0>
did anyone get u-boot working on rock pro?
<PaowZ_>
c0d3z3r0: good question..
<PaowZ_>
it seems a special binary is needed to make NAND initialization. This binary is missing..
<PaowZ_>
I believe you can make it work only if you need SD card.
<c0d3z3r0>
ok good idea I didn't thought of :) let's have a try
<c0d3z3r0>
uhm do you know what i have to put in the paramater file to run uboot from sd card?
<PaowZ_>
there must be some 'parameter' file example on wiki..
<PaowZ_>
something like /dev/sd** blabla probably..
<AstralixNB>
c0d3z3r0, you can download the nand image for linux from radxa server and rkunpack it. Then you have all needed parameter things and even some rootfs and such
<c0d3z3r0>
AstralixNB: I don't need parameter file for linux :) i want to use u-boot
<AstralixNB>
for uboot you don't need a parameter file as it replaces the loader that interpretes the parameter file
<AstralixNB>
Or do you want to try uboot as a 3rd stage loader loaded by the RK-Loader?
<c0d3z3r0>
if that works, yes
<AstralixNB>
normally uboot doen't like to be loaded...
<c0d3z3r0>
I tried to flash it to nand but it's not really working...
<AstralixNB>
The uboot from the rk sources is working, but it only supports eMMC memory
<AstralixNB>
So you have to modify it to accept SD
<AstralixNB>
It does not accept NAND
<c0d3z3r0>
how do I make the radxa use loader from sd card?
<AstralixNB>
read the backlog from just the last five minutes what I am talking to naobsd
<AstralixNB>
in #linux-rockchip
<c0d3z3r0>
yep I see thank you
<AstralixNB>
welcomed
<AstralixNB>
c0d3z3r0, I was interested in making an open available uboot for rk3188 too...
<naobsd>
AstralixNB: rk u-boot supports NAND
<AstralixNB>
And thishttps://github.com/Astralix/uboot boots at least into a console. It replaces the initial RK_Loader completely and it does NOT support nand for now
<naobsd>
AstralixNB: to support NAND, you need to flash RKxxx_miniall.bin as loader, and flash uboot.img into uboot partition
<naobsd>
see UserManual in u-boot repo
<naobsd>
it's supported/just work
<AstralixNB>
naobsd, yes, but I wanted to create a working solution as the RK NAND driver costs too much performance and is closed source
<AstralixNB>
It relies on rknand_ko.ko what eats up to 100% on one core with every little NAND access
<naobsd>
AstralixNB: I can understand it, but it's different thing to "how to use NAND with u-boot" question ;)
<AstralixNB>
Yes, so there is a solution with the miniall.bin and there is a plan to use an open-source FTL and avoid any RK miniall.bin
<naobsd>
yes
<naobsd>
and currently former is available, no missing binary
<naobsd>
just missing easy howto ;)
<AstralixNB>
Unfortunately the open-source FTL is not available for commercial products as all open-source FTLs are pateted.
<AstralixNB>
patented
<naobsd>
and for people who want easy thing, just use RK loader, it works fine ;)
<AstralixNB>
And if you use eMMC or SD it works fast too :)
<naobsd>
current RK u-boot does't gives any feature more than RK proprietary loader
<AstralixNB>
If one has a eMMC board, you can use uboot and use the dwmmc driver ported from kernel. So you have full speed.
<naobsd>
no reason to use u-boot except for hacking u-boot itself
<AstralixNB>
Cause in recent uboot from RK I saw that there is an ecnrypted additional driver on top of the mmc driver again.
<AstralixNB>
So I have some fears, that even you use eMMC there is again something blocking a core for something no one needs.
<AstralixNB>
But that is to be verified.
<naobsd>
I do not know about it
<naobsd>
all I know is emmc/sdmmc works fine on kernel with open source driver
<AstralixNB>
Yes, and so you can use open source uboot with open source dwmmc driver and it should work.
<AstralixNB>
I do not have and board with emmc. So I cannot test.
<naobsd>
RK u-boot doesn't use standard sdmmc driver in u-boot, but it shouldn't prevent to use standard sdmmc driver in u-boot
<AstralixNB>
reight
<naobsd>
AstralixNB: you can try SD boot with RK u-boot ;)
<AstralixNB>
sure
<AstralixNB>
But one step after the other.
<AstralixNB>
1) Get a working environment of rk-loader + kernel + ubuntu desktop
<AstralixNB>
2) replace RK-Loader with uboot
<AstralixNB>
3) replace kernel with something recent
<AstralixNB>
4) get recent kernel working with MALI and VPU
<AstralixNB>
Where I prefer VPU over MALI
<AstralixNB>
Task 0) Buy more SD-Cards to be able to test multiple things without destroying working things
<naobsd>
AstralixNB: for mainline, you have to add LCDC and HDMI support before GPU/VPU thing
<naobsd>
ah
<naobsd>
headless 3D render/video encoder/decoder is possible :)
<naobsd>
oh
<naobsd>
i have to leave soon
<AstralixNB>
step by step. I have a bunch of 3.0.36+ up to 3.0.101 and there are experiments of google to add 2D/3D/VPU support in chrome
<AstralixNB>
See you later.
naobsd has quit [Quit: Page closed]
CosmicDuck has quit [Ping timeout: 272 seconds]
CosmicDuck has joined #radxa
naobsd has joined #radxa
Tinwor_ has joined #radxa
Tinwor_ has left #radxa [#radxa]
naobsd has quit [Quit: Page closed]
naobsd has joined #radxa
wickwire has joined #radxa
AstralixNB has quit [Ping timeout: 250 seconds]
bengal has joined #radxa
bengal has joined #radxa
bengal has quit [Changing host]
Astralix1 has joined #radxa
wickwire has quit [Read error: Connection reset by peer]