00:43
afaerber has joined #linux-rockchip
02:07
cnxsoft has joined #linux-rockchip
05:41
mac-l1 has joined #linux-rockchip
05:43
<
mac-l1 >
LongChair: yup i've built mpp before..
05:44
<
LongChair >
@mac-l1 : i have some build issues with mpp, but that was because of missing cmake defines .. i finally figured it out :) thanks !
05:49
ganbold has quit [Quit: This computer has gone to sleep]
07:16
cnxsoft has quit [Read error: Connection reset by peer]
07:16
cnxsoft1 has joined #linux-rockchip
07:18
cnxsoft1 is now known as cnxsoft
09:37
<
LongChair >
@phh : looks like you were right :)
09:37
<
LongChair >
vpu: VPUClientInit failed to open /dev/vpu-service No such file or directory
09:37
<
LongChair >
hal_h264d_api: p_hal->vpu_socket <= 0
09:38
<
LongChair >
does this mean bad kernel ?
09:39
<
LongChair >
i suppose kernel was not configure properly .. but just not sure
09:40
<
phh >
Which kernel version do you have?
09:40
<
LongChair >
linaro@linaro-alip:~/mpv$ uname -r
09:40
<
LongChair >
4.4.16-00075-g5b6c288-dirty
09:40
<
LongChair >
that's the one that comes with TinkerOS at asus
09:40
<
LongChair >
goot love the "dirty"
10:03
wzyy2 has joined #linux-rockchip
10:14
<
LongChair >
@phh : any clue on what could cause this ?
10:29
mrjay has joined #linux-rockchip
10:45
Aussie_matt has joined #linux-rockchip
10:49
mrjay has quit [Quit: Page closed]
11:13
JohnDoe_71Rus has joined #linux-rockchip
11:25
Aussie_matt has quit [Read error: Connection reset by peer]
11:39
ganbold has joined #linux-rockchip
12:07
wzyy2 has quit [Ping timeout: 260 seconds]
12:32
wzyy2 has joined #linux-rockchip
12:59
<
phh >
LongChair: and do you have /dev/video0?
13:00
<
phh >
yup, so it's the kernel for kodi
13:01
<
LongChair >
I am not sure how this kernel was built as it's the one coming from ASUS
13:01
<
phh >
build rockchip's rk-rootfs
13:01
<
LongChair >
both the debian image & the kodi one have the same issue
13:02
<
LongChair >
i have already the rk-rootfs
13:02
<
LongChair >
what's next ? :)
13:02
<
phh >
it will build an sdcard image, with latest kernel and rootfs
13:03
<
LongChair >
a debian one ?
13:03
<
phh >
it will download both /build/ /rk-rootfs/, /kernel/....
13:05
<
LongChair >
is there any way to rebuild the kernel maybe on the board without reflashing it
13:05
<
LongChair >
because i had setup all the devenv before i found that issue and would be cool if i could avoid loosing that
13:07
<
LongChair >
i'm not sure there ia a package for mpp
13:08
<
LongChair >
but now i know how to build it it's ok
13:08
<
phh >
it will be automatically installed by the rk-rootfs-build script
13:09
<
LongChair >
ok so lemme try to put things in the right order
13:09
<
phh >
no, use repo init, as the README says
13:10
<
phh >
(btw take care, you must do that in an empty folder)
13:10
<
LongChair >
ok once i have done the repo init and repo sync ? what's next ?
13:11
<
phh >
(your target is miniarm)
13:15
<
LongChair >
repo is the google tool ?
13:15
<
LongChair >
(cuz it's not part of the debian i have yet)
13:16
<
phh >
though it is packaged in debian as "repo"
13:22
<
LongChair >
ok it's syncing
13:22
<
LongChair >
so i need to do the 3 steps ? kernel / uboot / image ?
13:25
<
phh >
that's what the readme says
13:27
<
LongChair >
rouhgly how long does building the whole stuff takes ?
13:29
<
phh >
shouldn't be too long, the only actual builids are for kernel and u-boot, I'd say something like 20 minutes
13:29
<
LongChair >
syncing takes while already :)
13:29
<
LongChair >
i hope i'll get a usable image there .. then i can move on :)
13:30
<
LongChair >
i'll need to find a way to update kernel without reflashing whole image at some point
13:31
mac-l1 has quit [Quit: Page closed]
13:55
cnxsoft has quit [Quit: cnxsoft]
14:05
wzyy2 has quit [Read error: Connection reset by peer]
14:05
wzyy2 has joined #linux-rockchip
18:27
<
wzyy2 >
LongChair, you can try docker to cross build mpp packages.
18:29
<
LongChair >
i was trying to build that on the board itself :)
18:29
<
wzyy2 >
Since i'm boring during vacation, I just study to use docker to make a cross-compiling environment...It's really fun...
18:29
<
LongChair >
but i figured out how :)
18:29
<
LongChair >
yeah docker can be cool :)
18:29
<
wzyy2 >
build on the board is too slow
18:30
<
LongChair >
well i did on several things and that is totally ecceptable at least on tinker
18:30
<
LongChair >
i suppose it depends on what you build
18:31
<
wzyy2 >
Of course it's just for fun. Debian multiarch mechanism is a buggy toy and only be suitable for simple develop..
18:31
<
wzyy2 >
It's best to use yocto or buildroot.
18:32
<
LongChair >
i'm setting up the whole rootfs currently
18:32
<
LongChair >
because the asus dudes deliver a tinker Os image that is rather outdated
18:33
<
LongChair >
it doesn't have /dev/vpu-service
18:33
<
wzyy2 >
It seems they give a old image which use v4l2 vpu driver.
18:34
<
LongChair >
yeah possible
18:34
<
LongChair >
so i am trying to make my way to build a more recent debian image with miniarm
18:34
<
LongChair >
hopefully that will bring the vpu-service back :p
18:36
<
LongChair >
other than that tinker has been working like a charm for me ... it's stable and rather snappy on debian compared to other boards like did i used in the past
18:43
<
LongChair >
pretty good impression on RK3288 so far ... i hope i can do the stuff i plan to :)
18:44
<
wzyy2 >
You'd better use release-4.4 kernel directly.
18:44
<
wzyy2 >
It's no easy to get vpu-service work in asus kernel.
18:45
<
LongChair >
yeah that's why i'm building the rootf image
18:45
<
LongChair >
rootfs*
18:45
<
LongChair >
with the miniarm conf
18:46
<
LongChair >
i wish there was a way to get an updated kernel directly on the board
18:46
<
LongChair >
because i have setup all my dev stuff there brefore i realize i was missing vpu-service
18:46
<
LongChair >
so flashign a new image will just earse all that config
18:49
<
wzyy2 >
You don't have to flash a new rootfs image.
18:49
<
wzyy2 >
just update a release-4.4 kernel and install necessary packages
18:49
<
LongChair >
how do you do that ?
18:50
<
wzyy2 >
dpkg -i <mpp/gstreamer/qt packages>
18:50
<
LongChair >
yeah for the packages
18:51
<
LongChair >
but how to i update asus kernel with a 4.4 kernel ?
18:51
<
LongChair >
i mean a release one
18:54
<
LongChair >
so that would be with that method :
18:54
<
LongChair >
build/mk-kernel.sh firefly
18:54
<
LongChair >
build/flash_tool.sh -p boot -i out/boot.img
18:54
<
LongChair >
build/mk-image.sh -c rk3288 -t boot
18:55
<
LongChair >
replacing firefly with miniarm
18:56
<
wzyy2 >
Yep, just tinker board use sd-card, so the last command is "build/flash_tool.sh -p boot -d <sdcard> -i out/boot.img"
18:57
<
wzyy2 >
and don't forget to replace extlinux.conf
18:57
<
LongChair >
if that works that would save me a lot of time :)
18:58
<
wzyy2 >
Oh.. I think is not ok..
18:59
<
wzyy2 >
Tinker board don't use our gpt partitions.
18:59
<
wzyy2 >
You should update kernel like this:
18:59
<
wzyy2 >
build/mk-kernel.sh miniarm
19:00
<
wzyy2 >
cp out/kernel/* <sdcard fat partiton>
19:01
<
LongChair >
yeah looks correct , that is the content of the fat partition :
19:01
<
LongChair >
drwxr-x---+ 4 root root 4096 janv. 28 19:59 ..
19:01
<
LongChair >
drwx------ 2 longchair longchair 512 nov. 18 11:52 System Volume Information
19:01
<
LongChair >
-rw-r--r-- 1 longchair longchair 40790 déc. 30 12:33 rk3288-miniarm.dtb
19:01
<
LongChair >
drwx------ 2 longchair longchair 512 nov. 16 12:56 extlinux
19:01
<
LongChair >
-rw-r--r-- 1 longchair longchair 6991280 déc. 30 12:33 zImage
19:05
<
wzyy2 >
Kernel image built form rk-repo source don't support wifi and mipi, you should notice.
19:41
<
LongChair >
i don't need wifi now
19:41
<
LongChair >
not sure what mipi is
19:44
wzyy2 has quit [Ping timeout: 260 seconds]
19:47
mrjay has joined #linux-rockchip
19:48
<
mrjay >
LongChair: where did you get your tinker board ... i'm looking store with shipment to europe/poland?
19:50
<
LongChair >
cpc farnell
19:50
<
LongChair >
you can't get it from teh wbesite, but there is an email for internaltion sales
19:50
<
phh >
LongChair: mipi is an embedded-systems protocol, either to connect screens or cameras. you most probably don't care at all
19:50
<
phh >
(hdmi output doesn't use mipi)
19:51
<
phh >
I think wzyy2 was refering to camera since mipi has been mainlined
19:51
<
mrjay >
LongChair: thanks
19:52
<
LongChair >
yeah i don't care about camera
19:54
mrjay has left #linux-rockchip [#linux-rockchip]
19:58
<
LongChair >
@phh ; i did copy the out/kernel files to the fat partition of my existing card
19:58
<
LongChair >
it seems not to boot anymore .. :/
20:30
k_ has joined #linux-rockchip
20:51
<
LongChair >
@phh : i almost came to the end of the process
20:51
<
LongChair >
but the build/mk-image script fails
20:52
<
LongChair >
ir says it can't find boot image
20:52
<
LongChair >
and i have indeed no boot.img even if i have followed all the readme
20:52
<
LongChair >
what is suppose to generate it ?
20:56
<
phh >
uh? it is looking for a boot.img?
20:59
<
LongChair >
i already have a ./rootfs/linaro-rootfs.img
20:59
<
LongChair >
but not sure if i should flash that one
21:00
<
LongChair >
it's been created by the rootfs mk-image script
21:00
<
LongChair >
the error i'm getting is this one :
21:00
<
LongChair >
root@debian:~/rockchip# build/mk-image.sh -c rk3288 -t system -s 4000 -r ./rootfs/linaro-rootfs.img
21:00
<
LongChair >
0+0 enregistrements écrits
21:00
<
LongChair >
0+0 enregistrements lus
21:00
<
LongChair >
0 octet (0 B) copié, 0,000156315 s, 0,0 kB/s
21:00
<
LongChair >
Generate System image : /root/rockchip/out/system.img !
21:00
<
LongChair >
Warning: The resulting partition is not properly aligned for best performance.
21:00
<
LongChair >
Warning: The resulting partition is not properly aligned for best performance.
21:00
<
LongChair >
737+1 enregistrements lus
21:00
<
LongChair >
737+1 enregistrements écrits
21:00
<
LongChair >
377806 octets (378 kB) copiés, 0,00220986 s, 171 MB/s
21:00
<
LongChair >
CAN'T FIND BOOT IMAGE