Buildroot for ODROID-C2

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Fri Sep 09, 2016 2:57 am

can you please explain what do you need which can be found in the HK's buildroot and not in latest buildroot?
from what I can see, the hk buildroot has one commit (initial). it seems illogical that something differs in version unless this is a bug in the initial commit.

gahabana
Posts: 16
Joined: Wed Sep 07, 2016 1:47 am
languages_spoken: english
ODROIDs: odroid-c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by gahabana » Fri Sep 30, 2016 10:35 pm

hi all,
as documented before in this thread - hardkernel buildroot is 'old' and it fails with messages as per post before.
on the other side buildroot github does have more 'up2date' ondroidc2 configuration, and it builds (adter make odroidc2_defconfig and make) successfully but if you put image on the SDcard - it does not boot (kernel never turns-on and heartbeat blue-led never starts blinking).
So, sadly, i think buildroot and odroid-c2 have no love and we just can not use it.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Tue Oct 04, 2016 10:13 am

Hello, @gahabana,
It is a u-boot build fail issue due to added bl301 firmware source code.
You need arm-none-eabi-gcc (ver. 4.9). Please refer to this link.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Thu Oct 06, 2016 6:14 am

Greetings gahabana,

I can verify that latest buildroot with defconfig and it is indeed broken.
I'll consult with the community on how to find the problematic commit.

on the other hand, if you checkout commit 61b6abb2a2198d0a659d305ac3dd813a1f900aa1 you'll get a working defconfig.
that is the last commit I did to the buildroot regarding odroidc2.

hope this helps.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Thu Oct 06, 2016 10:11 am

The buildsystem in C2 u-boot will be changed in order to solve the buildroot build problem and other issues.
And the new buildroot will be released based on Amlogic 2016.08.16 buildroot in the near future.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Fri Oct 07, 2016 3:53 pm

Greetings Brian,

according to the link below and confirmed in testing after commit 61f29bb518e28ed69d94e87c5f5c8cabe001ec5a is isn't possible to build uboot with normal gcc.
would the newer uboot version fixes this?
if not, is there any plans to bring back support for normal gcc?

in normal gcc, I mean gcc what isn't pre built arm-none-eabi-gcc and one that can be build with buildroot.

thanks.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Fri Oct 07, 2016 5:09 pm

daggs wrote:Greetings Brian,

according to the link below and confirmed in testing after commit 61f29bb518e28ed69d94e87c5f5c8cabe001ec5a is isn't possible to build uboot with normal gcc.
would the newer uboot version fixes this?
if not, is there any plans to bring back support for normal gcc?

in normal gcc, I mean gcc what isn't pre built arm-none-eabi-gcc and one that can be build with buildroot.

thanks.
I am considering to add prebuilt binaries in the u-boot. If you have any good idea about this issue, please let me know it.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Fri Oct 07, 2016 5:27 pm

Brian.K wrote:
daggs wrote:Greetings Brian,

according to the link below and confirmed in testing after commit 61f29bb518e28ed69d94e87c5f5c8cabe001ec5a is isn't possible to build uboot with normal gcc.
would the newer uboot version fixes this?
if not, is there any plans to bring back support for normal gcc?

in normal gcc, I mean gcc what isn't pre built arm-none-eabi-gcc and one that can be build with buildroot.

thanks.
I am considering to add prebuilt binaries in the u-boot. If you have any good idea about this issue, please let me know it.
do you mean you wish to provide only prepared binaries instead of uboot source?

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Fri Oct 07, 2016 6:01 pm

daggs wrote:
Brian.K wrote:
daggs wrote:Greetings Brian,

according to the link below and confirmed in testing after commit 61f29bb518e28ed69d94e87c5f5c8cabe001ec5a is isn't possible to build uboot with normal gcc.
would the newer uboot version fixes this?
if not, is there any plans to bring back support for normal gcc?

in normal gcc, I mean gcc what isn't pre built arm-none-eabi-gcc and one that can be build with buildroot.

thanks.
I am considering to add prebuilt binaries in the u-boot. If you have any good idea about this issue, please let me know it.
do you mean you wish to provide only prepared binaries instead of uboot source?
No, there are firmware binary(bl301). I think reverting 61f29bb518e28ed69d94e87c5f5c8cabe001ec5a commit and then creating new bl301 repo are better approach. I will discuss with @Joy about this.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Fri Oct 07, 2016 6:09 pm

Brian.K wrote:
daggs wrote:
Brian.K wrote:
daggs wrote:Greetings Brian,

according to the link below and confirmed in testing after commit 61f29bb518e28ed69d94e87c5f5c8cabe001ec5a is isn't possible to build uboot with normal gcc.
would the newer uboot version fixes this?
if not, is there any plans to bring back support for normal gcc?

in normal gcc, I mean gcc what isn't pre built arm-none-eabi-gcc and one that can be build with buildroot.

thanks.
I am considering to add prebuilt binaries in the u-boot. If you have any good idea about this issue, please let me know it.
do you mean you wish to provide only prepared binaries instead of uboot source?
No, there are firmware binary(bl301). I think reverting 61f29bb518e28ed69d94e87c5f5c8cabe001ec5a commit and then creating new bl301 repo are better approach. I will discuss with @Joy about this.
if may I ask, what is the purpose of that firmware binary?

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Mon Oct 10, 2016 10:55 am

According to the source code, Bl301 provides getting/setting dvfs, entering suspend/poweroff mode and resume.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Fri Oct 14, 2016 11:43 am

The build fail issue due to u-boot was fixed.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Fri Oct 14, 2016 8:27 pm

Brian.K wrote:The build fail issue due to u-boot was fixed.
e.g. it is possible to build latest uboot with any compiler?
if so, this means that Bl301 is supported?

User avatar
odroid
Site Admin
Posts: 29750
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: Buildroot for ODROID-C2

Unread post by odroid » Thu Nov 17, 2016 5:54 pm

You can build the u-boot on any platform since we uploaded a prebuilt BL301 binary in the github.
But you still need x86 Linux PC to build the BL301.
Refer this guide.
http://odroid.com/dokuwiki/doku.php?id= ... ot#u-boot1

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Fri Nov 18, 2016 5:03 pm

2016.11 Release
Changes since 2016.04
* Based on amlogic buildroot 2016.08.18/upstream buildroot 2016.05
* Rootfs partition auto resizing as Ubuntu
* Framebuffer console support
* Compact the image size
* kplayer is removed
* c2play command line video player is added - Thank you, @crashoverride!
- c2play forum thread: http://forum.odroid.com/viewtopic.php?f=136&t=23143
[youtube]https://www.youtube.com/watch?v=rocCTcPPBO0[/youtube]

Release URL: https://github.com/hardkernel/buildroot ... ag/2016.11
Git repository: https://github.com/hardkernel/buildroot
Pre-built image download: https://mega.nz/#!qttjFLaR!OqWXuc7w36f4 ... tVvFbvByKA
(md5sum: 7e9035f92b747e062f0da9ad3d7211a1 sdcard.img)

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Fri Nov 18, 2016 5:24 pm

Rootfs size

Code: Select all

# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                14.5G    243.0M     13.7G   2% /
devtmpfs                737.1M         0    737.1M   0% /dev
/dev/mmcblk0p1           31.9M     12.4M     19.5M  39% /media/boot
tmpfs                   859.5M         0    859.5M   0% /dev/shm
tmpfs                   859.5M     72.0K    859.4M   0% /tmp
tmpfs                   859.5M     24.0K    859.5M   0% /run
The rootfs size is able to be more smaller by removing unnecessary packages using 'make menuconfig'.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Fri Nov 18, 2016 6:53 pm

Basic improving boot time guide
There are lots of techniques to improve boot time. This is several methods for fastboot on buildroot.

1. Adjust 'bootdelay' on u-boot
If you want to change the bootdelay u-boot environment variable, you have to use a serial console to enter the u-boot command line.
* USB-UART Module Kit

Code: Select all

odroidc2#setenv bootdelay 0
odroidc2#save
Saving Environment to MMC...
Writing to MMC(0)... done
odroidc2#reboot
2. Disable kernel log messages
Silent boot is effective to reduce the boot-up time. Add 'quiet' boot parameter to disable kernel log message during boot-up time.
* /media/boot/boot.ini

Code: Select all

 setenv bootargs "root=/dev/mmcblk0p2 rootwait ro ${condev} no_console_suspend hdmimode=${m} ${comde} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff}"
to

Code: Select all

 setenv bootargs "root=/dev/mmcblk0p2 rootwait ro ${condev} no_console_suspend hdmimode=${m} ${comde} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff} quiet"
3. Use static IP instead of dynamic IP
DHCP method gets to spend about 5 seconds. To set static IP is able to avoid this times.
* /etc/network/interfaces

Code: Select all

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
to

Code: Select all

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 192.168.1.101
    netmask 255.255.255.0
    gateway 192.168.1.1
4. CPU and RAM overclocking
This method does not effect a lot to reduce boot time but this is also helpful.
* CPU overclock: http://odroid.com/dokuwiki/doku.php?id= ... t_cpu_freq
* RAM overclock: http://odroid.com/dokuwiki/doku.php?id= ... ust_ddrclk

5. Remove unnecessary packages and modules
This is also helpful to make the image size smaller. Use 'make menuconfig' for buileroot package and linux kernel. And then remove the unnecessary packages and kernel modules.

Buildroot for ODROID-C2 can boot under 5 seconds.
Just try it! :-)

User avatar
rooted
Posts: 6341
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: Buildroot for ODROID-C2

Unread post by rooted » Fri Nov 18, 2016 9:47 pm

Brian.K wrote:Basic improving boot time guide

Buildroot for ODROID-C2 can boot under 5 seconds.
Just try it! :-)
This would be a good base for CarPC, up and ready to show reverse cam with no waiting.

User avatar
memeka
Posts: 4173
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Contact:

Re: Buildroot for ODROID-C2

Unread post by memeka » Sat Nov 19, 2016 4:32 am

i think you want android for car-pc for apps, maps,...

User avatar
rooted
Posts: 6341
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: Buildroot for ODROID-C2

Unread post by rooted » Sat Nov 19, 2016 5:05 am

memeka wrote:i think you want android for car-pc for apps, maps,...
Sure that's the easy way, doing it from buildroot would be akin to LFS ;)

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Tue Nov 22, 2016 3:10 am

Greetings Brian,

kudos for the buildroot update, I wonder, when it comes to kernel, gpu, uboot and amcodec, how this version differs from the buildroot's latest git tree?
are there any features that aren't supported in buildroot's latest git?
Thanks.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Tue Nov 22, 2016 10:04 am

daggs wrote:Greetings Brian,

kudos for the buildroot update, I wonder, when it comes to kernel, gpu, uboot and amcodec, how this version differs from the buildroot's latest git tree?
are there any features that aren't supported in buildroot's latest git?
Thanks.
Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.

stmicro
Posts: 237
Joined: Tue Apr 28, 2015 4:23 pm
languages_spoken: english, chinese
ODROIDs: Many Odroids and Rpis.
Location: shenzhen china
Contact:

Re: Buildroot for ODROID-C2

Unread post by stmicro » Tue Nov 22, 2016 10:10 am

Hi Brian,
This is really helpful to build a real embedded system needs light-weight Linux root file system with much faster boot time.
Thank you so much.

Do you have any plan to support C1 series? I want to make a portable system with C0.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Tue Nov 22, 2016 4:37 pm

stmicro wrote:Hi Brian,
Do you have any plan to support C1 series? I want to make a portable system with C0.
I will talk about this with my boss.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Wed Nov 23, 2016 3:45 am

Greetings,

I've tried to build a def image for the c2 with the buildroot mentioned above but it fails, here is the log:

Code: Select all

dagg@NCC-5001-D ~/workspace/buildroots/buildroot-hk-2016.8 $ make
/usr/bin/make -j1  HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
make[1]: Entering directory '/home/dagg/workspace/buildroots/buildroot-hk-2016.8'
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/tristate.config BR2_CONFIG=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/.config BR2_EXTERNAL=support/dummy-external HOST_GCC_VERSION="5" SKIP_LEGACY= /home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/conf --silentoldconfig Config.in
make[1]: Leaving directory '/home/dagg/workspace/buildroots/buildroot-hk-2016.8'
>>> rtk8192cu odroidc2_bsp_20151031 Downloading
Doing shallow clone
Cloning into bare repository 'rtk8192cu-odroidc2_bsp_20151031'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Shallow clone failed, falling back to doing a full clone
Doing full clone
Cloning into bare repository 'rtk8192cu-odroidc2_bsp_20151031'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
--2016-11-22 20:42:41--  http://openlinux.amlogic.com:8000/download/GPL_code_release/ThirdParty/rtk8192cu-odroidc2_bsp_20151031.tar.gz
Resolving openlinux.amlogic.com... 120.25.202.108
Connecting to openlinux.amlogic.com|120.25.202.108|:8000... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-11-22 20:42:42 ERROR 404: Not Found.

package/pkg-generic.mk:113: recipe for target '/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/rtk8192cu-odroidc2_bsp_20151031/.stamp_downloaded' failed
make: *** [/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/rtk8192cu-odroidc2_bsp_20151031/.stamp_downloaded] Error 1
looks like the code doesn't exists anymore.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Wed Nov 23, 2016 10:13 am

daggs wrote:Greetings,

I've tried to build a def image for the c2 with the buildroot mentioned above but it fails, here is the log:

Code: Select all

dagg@NCC-5001-D ~/workspace/buildroots/buildroot-hk-2016.8 $ make
/usr/bin/make -j1  HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
make[1]: Entering directory '/home/dagg/workspace/buildroots/buildroot-hk-2016.8'
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/tristate.config BR2_CONFIG=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/.config BR2_EXTERNAL=support/dummy-external HOST_GCC_VERSION="5" SKIP_LEGACY= /home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/conf --silentoldconfig Config.in
make[1]: Leaving directory '/home/dagg/workspace/buildroots/buildroot-hk-2016.8'
>>> rtk8192cu odroidc2_bsp_20151031 Downloading
Doing shallow clone
Cloning into bare repository 'rtk8192cu-odroidc2_bsp_20151031'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Shallow clone failed, falling back to doing a full clone
Doing full clone
Cloning into bare repository 'rtk8192cu-odroidc2_bsp_20151031'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
--2016-11-22 20:42:41--  http://openlinux.amlogic.com:8000/download/GPL_code_release/ThirdParty/rtk8192cu-odroidc2_bsp_20151031.tar.gz
Resolving openlinux.amlogic.com... 120.25.202.108
Connecting to openlinux.amlogic.com|120.25.202.108|:8000... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-11-22 20:42:42 ERROR 404: Not Found.

package/pkg-generic.mk:113: recipe for target '/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/rtk8192cu-odroidc2_bsp_20151031/.stamp_downloaded' failed
make: *** [/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/rtk8192cu-odroidc2_bsp_20151031/.stamp_downloaded] Error 1
looks like the code doesn't exists anymore.
Hello, daggs,

Did you set rtk8192cu package using 'make menuconfig'?
Please upload your configuration file. I will check it.

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Wed Nov 23, 2016 10:25 am

daggs wrote:Greetings,

I've tried to build a def image for the c2 with the buildroot mentioned above but it fails, here is the log:

Code: Select all

dagg@NCC-5001-D ~/workspace/buildroots/buildroot-hk-2016.8 $ make
/usr/bin/make -j1  HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
make[1]: Entering directory '/home/dagg/workspace/buildroots/buildroot-hk-2016.8'
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/tristate.config BR2_CONFIG=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/.config BR2_EXTERNAL=support/dummy-external HOST_GCC_VERSION="5" SKIP_LEGACY= /home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/conf --silentoldconfig Config.in
make[1]: Leaving directory '/home/dagg/workspace/buildroots/buildroot-hk-2016.8'
>>> rtk8192cu odroidc2_bsp_20151031 Downloading
Doing shallow clone
Cloning into bare repository 'rtk8192cu-odroidc2_bsp_20151031'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Shallow clone failed, falling back to doing a full clone
Doing full clone
Cloning into bare repository 'rtk8192cu-odroidc2_bsp_20151031'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
--2016-11-22 20:42:41--  http://openlinux.amlogic.com:8000/download/GPL_code_release/ThirdParty/rtk8192cu-odroidc2_bsp_20151031.tar.gz
Resolving openlinux.amlogic.com... 120.25.202.108
Connecting to openlinux.amlogic.com|120.25.202.108|:8000... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-11-22 20:42:42 ERROR 404: Not Found.

package/pkg-generic.mk:113: recipe for target '/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/rtk8192cu-odroidc2_bsp_20151031/.stamp_downloaded' failed
make: *** [/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/rtk8192cu-odroidc2_bsp_20151031/.stamp_downloaded] Error 1
looks like the code doesn't exists anymore.
And, please do not use another defconfig. I DO NOT guarantee other defconfig files. (mesongxb_amlogic_odroidc2_defconfig, mesongxb_amlogic_odroidc2_release_defconfig, mesongxb_odroidc2_defconfig)
That's amlogic's work, not ours.

Use this steps(explained in the main topic in this thread):

Code: Select all

$ make odroidc2_defconfig
$ make
My build environment:

Code: Select all

brian@brian-desktop:~$ env | grep 'CROSS_COMPILE\|ARCH'
ARCH=arm64
CROSS_COMPILE=aarch64-none-elf-
brian@brian-desktop:~$ aarch64-none-elf-gcc -v
Using built-in specs.
COLLECT_GCC=aarch64-none-elf-gcc
COLLECT_LTO_WRAPPER=/opt/toolchains/aarch64-none-elf-4.9/bin/../libexec/gcc/aarch64-none-elf/4.9.2/lto-wrapper
Target: aarch64-none-elf
Configured with: /cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/src/gcc-linaro-4.9-2014.09/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=aarch64-none-elf --prefix=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/install --with-local-prefix=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/install/aarch64-none-elf --without-headers --with-newlib --enable-threads=no --disable-shared --with-pkgversion='crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09' --with-bugurl=https://bugs.launchpad.net/gcc-linaro --with-arch=armv8-a --disable-__cxa_atexit --with-gmp=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-mpfr=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-mpc=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-isl=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-cloog=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-libelf=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --enable-lto --enable-linker-build-id --disable-libmudflap --disable-libgomp --disable-libssp --disable-libstdcxx-pch --enable-multiarch --disable-multilib --enable-languages=c,c++,fortran
Thread model: single
gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) 

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Thu Nov 24, 2016 3:16 am

Brian.K wrote:
daggs wrote:Greetings,

I've tried to build a def image for the c2 with the buildroot mentioned above but it fails, here is the log:

Code: Select all

dagg@NCC-5001-D ~/workspace/buildroots/buildroot-hk-2016.8 $ make
/usr/bin/make -j1  HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
make[1]: Entering directory '/home/dagg/workspace/buildroots/buildroot-hk-2016.8'
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/tristate.config BR2_CONFIG=/home/dagg/workspace/buildroots/buildroot-hk-2016.8/.config BR2_EXTERNAL=support/dummy-external HOST_GCC_VERSION="5" SKIP_LEGACY= /home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/buildroot-config/conf --silentoldconfig Config.in
make[1]: Leaving directory '/home/dagg/workspace/buildroots/buildroot-hk-2016.8'
>>> rtk8192cu odroidc2_bsp_20151031 Downloading
Doing shallow clone
Cloning into bare repository 'rtk8192cu-odroidc2_bsp_20151031'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Shallow clone failed, falling back to doing a full clone
Doing full clone
Cloning into bare repository 'rtk8192cu-odroidc2_bsp_20151031'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
--2016-11-22 20:42:41--  http://openlinux.amlogic.com:8000/download/GPL_code_release/ThirdParty/rtk8192cu-odroidc2_bsp_20151031.tar.gz
Resolving openlinux.amlogic.com... 120.25.202.108
Connecting to openlinux.amlogic.com|120.25.202.108|:8000... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-11-22 20:42:42 ERROR 404: Not Found.

package/pkg-generic.mk:113: recipe for target '/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/rtk8192cu-odroidc2_bsp_20151031/.stamp_downloaded' failed
make: *** [/home/dagg/workspace/buildroots/buildroot-hk-2016.8/output/build/rtk8192cu-odroidc2_bsp_20151031/.stamp_downloaded] Error 1
looks like the code doesn't exists anymore.
And, please do not use another defconfig. I DO NOT guarantee other defconfig files. (mesongxb_amlogic_odroidc2_defconfig, mesongxb_amlogic_odroidc2_release_defconfig, mesongxb_odroidc2_defconfig)
That's amlogic's work, not ours.

Use this steps(explained in the main topic in this thread):

Code: Select all

$ make odroidc2_defconfig
$ make
My build environment:

Code: Select all

brian@brian-desktop:~$ env | grep 'CROSS_COMPILE\|ARCH'
ARCH=arm64
CROSS_COMPILE=aarch64-none-elf-
brian@brian-desktop:~$ aarch64-none-elf-gcc -v
Using built-in specs.
COLLECT_GCC=aarch64-none-elf-gcc
COLLECT_LTO_WRAPPER=/opt/toolchains/aarch64-none-elf-4.9/bin/../libexec/gcc/aarch64-none-elf/4.9.2/lto-wrapper
Target: aarch64-none-elf
Configured with: /cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/src/gcc-linaro-4.9-2014.09/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=aarch64-none-elf --prefix=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/install --with-local-prefix=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/install/aarch64-none-elf --without-headers --with-newlib --enable-threads=no --disable-shared --with-pkgversion='crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09' --with-bugurl=https://bugs.launchpad.net/gcc-linaro --with-arch=armv8-a --disable-__cxa_atexit --with-gmp=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-mpfr=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-mpc=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-isl=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-cloog=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --with-libelf=/cbuild/slaves/oorts/crosstool-ng/builds/aarch64-none-elf-linux/.build/aarch64-none-elf/build/static --enable-lto --enable-linker-build-id --disable-libmudflap --disable-libgomp --disable-libssp --disable-libstdcxx-pch --enable-multiarch --disable-multilib --enable-languages=c,c++,fortran
Thread model: single
gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) 
thanks, that was indeed the issue, I've looked of that def config but didn't found it. now that I have it compiled great.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Thu Nov 24, 2016 3:22 am

Brian.K wrote:
daggs wrote:Greetings Brian,

kudos for the buildroot update, I wonder, when it comes to kernel, gpu, uboot and amcodec, how this version differs from the buildroot's latest git tree?
are there any features that aren't supported in buildroot's latest git?
Thanks.
Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.
one thing that pops out is the gpu, afaics, the kernel in this version and in the head are similar, but this version don't uses the kernel gpu driver, why is that?

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Thu Nov 24, 2016 10:24 am

daggs wrote:
Brian.K wrote:
daggs wrote:Greetings Brian,

kudos for the buildroot update, I wonder, when it comes to kernel, gpu, uboot and amcodec, how this version differs from the buildroot's latest git tree?
are there any features that aren't supported in buildroot's latest git?
Thanks.
Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.
one thing that pops out is the gpu, afaics, the kernel in this version and in the head are similar, but this version don't uses the kernel gpu driver, why is that?
Because this buildroot use the external mali driver instead of built-in mali driver by buildroot package and kernel module.
* linux-3.14.config, /etc/modules, odroidc2_defconfig

Code: Select all

# Mali
BR2_PACKAGE_GPU=y
BR2_PACKAGE_GPU_STANDALONE=y
BR2_PACKAGE_GPU_VERSION="r6p1"
BR2_PACKAGE_GPU_CUSTOM_TARBALL_LOCATION="http://openlinux.amlogic.com:8000/download/ARM/gpu/gpu-2016-08-18-fe6d7b1d1b.tar.gz"
BR2_PACKAGE_OPENGL_VERSION="r6p1"
BR2_PACKAGE_OPENGL_MALI_VERSION="m450"
BR2_PACKAGE_MALI_EXAMPLES=y
BR2_PACKAGE_AML_UTIL=y
But, it doesn't matter if that external mali package configurations are disabled and the mali driver in the kernel is added.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Fri Nov 25, 2016 3:35 am

Brian.K wrote:
daggs wrote:
Brian.K wrote:
daggs wrote:Greetings Brian,

kudos for the buildroot update, I wonder, when it comes to kernel, gpu, uboot and amcodec, how this version differs from the buildroot's latest git tree?
are there any features that aren't supported in buildroot's latest git?
Thanks.
Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.
one thing that pops out is the gpu, afaics, the kernel in this version and in the head are similar, but this version don't uses the kernel gpu driver, why is that?
Because this buildroot use the external mali driver instead of built-in mali driver by buildroot package and kernel module.
* linux-3.14.config, /etc/modules, odroidc2_defconfig

Code: Select all

# Mali
BR2_PACKAGE_GPU=y
BR2_PACKAGE_GPU_STANDALONE=y
BR2_PACKAGE_GPU_VERSION="r6p1"
BR2_PACKAGE_GPU_CUSTOM_TARBALL_LOCATION="http://openlinux.amlogic.com:8000/download/ARM/gpu/gpu-2016-08-18-fe6d7b1d1b.tar.gz"
BR2_PACKAGE_OPENGL_VERSION="r6p1"
BR2_PACKAGE_OPENGL_MALI_VERSION="m450"
BR2_PACKAGE_MALI_EXAMPLES=y
BR2_PACKAGE_AML_UTIL=y
But, it doesn't matter if that external mali package configurations are disabled and the mali driver in the kernel is added.
are there any difference between the external driver and internal driver?

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Fri Nov 25, 2016 10:13 am

daggs wrote:
Brian.K wrote:
daggs wrote:
Brian.K wrote:
daggs wrote:Greetings Brian,

kudos for the buildroot update, I wonder, when it comes to kernel, gpu, uboot and amcodec, how this version differs from the buildroot's latest git tree?
are there any features that aren't supported in buildroot's latest git?
Thanks.
Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.
one thing that pops out is the gpu, afaics, the kernel in this version and in the head are similar, but this version don't uses the kernel gpu driver, why is that?
Because this buildroot use the external mali driver instead of built-in mali driver by buildroot package and kernel module.
* linux-3.14.config, /etc/modules, odroidc2_defconfig

Code: Select all

# Mali
BR2_PACKAGE_GPU=y
BR2_PACKAGE_GPU_STANDALONE=y
BR2_PACKAGE_GPU_VERSION="r6p1"
BR2_PACKAGE_GPU_CUSTOM_TARBALL_LOCATION="http://openlinux.amlogic.com:8000/download/ARM/gpu/gpu-2016-08-18-fe6d7b1d1b.tar.gz"
BR2_PACKAGE_OPENGL_VERSION="r6p1"
BR2_PACKAGE_OPENGL_MALI_VERSION="m450"
BR2_PACKAGE_MALI_EXAMPLES=y
BR2_PACKAGE_AML_UTIL=y
But, it doesn't matter if that external mali package configurations are disabled and the mali driver in the kernel is added.
are there any difference between the external driver and internal driver?
Same version---"r6p1", but there is small change in the internal mali driver.
You can see the change as below's commands:

Code: Select all

$ git clone https://github.com/hardkernel/linux -b odroidc2-3.14.y
$ cd linux
$ git log drivers/gpu/arm/*

User avatar
Brian.K
Posts: 246
Joined: Tue Sep 15, 2015 7:30 pm
languages_spoken: English, Korean
ODROIDs: XU4, C1+, C2
Location: South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by Brian.K » Wed Dec 21, 2016 5:38 pm

2016.12 Release
Changes since 2016.11
* ODROID-C1+/C0 support
* Some changes for c2play package

Release URL: https://github.com/hardkernel/buildroot ... ag/2016.12
Git repository: https://github.com/hardkernel/buildroot
Buildroot for ODROID-C1+/C0 forum thread: http://forum.odroid.com/viewtopic.php?f ... 67#p172367

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Sun Mar 26, 2017 3:15 am

Brian,

sorry for asking it again but I still don't follow the diff between using the external gpu and the internal gpu driver.
for example, the internal driver enabled ump while the external doesn't.
infact if one checks the patches, non if the affected files are compiled.

any hints?

User avatar
odroid
Site Admin
Posts: 29750
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: Buildroot for ODROID-C2

Unread post by odroid » Mon Mar 27, 2017 8:09 am

@daggs?
What are you going to make with Buildroot?

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Wed Mar 29, 2017 3:09 am

odroid wrote:@daggs?
What are you going to make with Buildroot?
at the end, a leaner htpc with nfsv4 server on it.

the reason I'm asking is because I saw that Neil was able to run kernel 4.10 on the C2 and I hope that this will fix the possible preformence issue with nfs v4 I see in 3.14

kiwor
Posts: 1
Joined: Sat Jul 09, 2016 12:11 am
languages_spoken: english, french
ODROIDs: Odroid-C1, Odroid-C2
Contact:

Re: Buildroot for ODROID-C2

Unread post by kiwor » Wed May 17, 2017 5:32 pm

Hi all,

I have written a little video player using gstreamer and now I want to port it on my Odroid-C2 with buildroot.
I try to build the gst-aml-plugins1 package but it fails because of missing libamplayer.

Did someone manage to build the libplayer package and the gstreamer aml plugin and how ?

Thanks for your help !

_om_
Posts: 7
Joined: Wed May 17, 2017 8:34 pm
languages_spoken: english
ODROIDs: C2, XU4
Contact:

Re: Buildroot for ODROID-C2

Unread post by _om_ » Mon Oct 30, 2017 9:55 pm

Builroot proper configuration allows to build both packages libplayer and gst-aml-plugins1.
To get this check package/multimedia/gst-aml-plugins1/Config.in
It depends on BR2_PACKAGE_GSTREAMER1 and BR2_PACKAGE_LIBPLAYER.
So, using ncurses graphical configuration (make odroidc2_defconfig; make menuconfig), go to
1. Target packages -> Audio and video applications, find gstreamer 1.x, enable it with related plugins.
2. Target packages -> Audio and video applications -> Audio and video applications, find/mark libplayer and gst-aml-plugins1, enable other options here if you need.

But I was unable to get amlvdec plugin working for h264 decoding.
The gstreamer1 pipe like:

Code: Select all

gst-launch-1.0 filesrc location=big_buck_bunny_720p_h264.mov ! qtdemux ! h264parse ! amlvdec ! fakesink dump=true
dumps just zeros.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Wed Feb 28, 2018 3:07 am

if anyone interested, my upstream buildroot c2 next includes support for mainline uboot (2017.11) and kernel (4.14.4).
the address is https://github.com/daggs1/buildroot/tree/odroidc2-next
I'll update to later version soon

User avatar
odroid
Site Admin
Posts: 29750
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: Buildroot for ODROID-C2

Unread post by odroid » Wed Feb 28, 2018 9:54 am

@daggs,
Thank you for sharing nice modern buildroot system.
It should be a great solution for a headless server application.

Just a note:
If you need a video decode/encode process, you still have to use the old Kernel 3.14.
I hope next upstream kernel will support the video codec driver for the VPU acceleration.

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Thu Mar 01, 2018 8:54 pm

odroid wrote:@daggs,
Thank you for sharing nice modern buildroot system.
It should be a great solution for a headless server application.
just keeping the good work Brian started. I hope to see the N1 in mainline buildroot soon.
odroid wrote: Just a note:
If you need a video decode/encode process, you still have to use the old Kernel 3.14.
I hope next upstream kernel will support the video codec driver for the VPU acceleration.
according to Neil Armstrong, kernel 4.15.x has proper hdmi support but not VPU acceleration support.
I hope VPU acceleration support is not that far.

tung256
Posts: 31
Joined: Thu Mar 01, 2018 10:45 pm
languages_spoken: english
ODROIDs: c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by tung256 » Fri Mar 02, 2018 12:36 am

Brian.K wrote:2016.11 Release
Changes since 2016.04
* Based on amlogic buildroot 2016.08.18/upstream buildroot 2016.05
* Rootfs partition auto resizing as Ubuntu
* Framebuffer console support
* Compact the image size
* kplayer is removed
* c2play command line video player is added - Thank you, @crashoverride!
- c2play forum thread: http://forum.odroid.com/viewtopic.php?f=136&t=23143
[youtube]https://www.youtube.com/watch?v=rocCTcPPBO0[/youtube]

Release URL: https://github.com/hardkernel/buildroot ... ag/2016.11
Git repository: https://github.com/hardkernel/buildroot
Pre-built image download: https://mega.nz/#!qttjFLaR!OqWXuc7w36f4 ... tVvFbvByKA
(md5sum: 7e9035f92b747e062f0da9ad3d7211a1 sdcard.img)
can this IMG auto play an mp4 4k video file on a USB Flash drive? if not, how to make it look for a video on a USB drive?

daggs
Posts: 219
Joined: Tue Mar 22, 2016 6:34 pm
languages_spoken: english, spanish
ODROIDs: odroid c2
Contact:

Re: Buildroot for ODROID-C2

Unread post by daggs » Fri Mar 02, 2018 2:55 am

tung256 wrote:
Brian.K wrote:2016.11 Release
Changes since 2016.04
* Based on amlogic buildroot 2016.08.18/upstream buildroot 2016.05
* Rootfs partition auto resizing as Ubuntu
* Framebuffer console support
* Compact the image size
* kplayer is removed
* c2play command line video player is added - Thank you, @crashoverride!
- c2play forum thread: http://forum.odroid.com/viewtopic.php?f=136&t=23143
[youtube]https://www.youtube.com/watch?v=rocCTcPPBO0[/youtube]

Release URL: https://github.com/hardkernel/buildroot ... ag/2016.11
Git repository: https://github.com/hardkernel/buildroot
Pre-built image download: https://mega.nz/#!qttjFLaR!OqWXuc7w36f4 ... tVvFbvByKA
(md5sum: 7e9035f92b747e062f0da9ad3d7211a1 sdcard.img)
can this IMG auto play an mp4 4k video file on a USB Flash drive? if not, how to make it look for a video on a USB drive?
I assume that ths image can automount the usb drive, the rest is up to you to define..

mohsennayyeri
Posts: 15
Joined: Mon Jul 11, 2016 8:34 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: Buildroot for ODROID-C2

Unread post by mohsennayyeri » Mon Jul 16, 2018 10:24 pm

Hi
I want compile WPE(WebPlatformForEmbedded) in buildroot
after hours, build error libepoxy-1.3.1

can help me?

User avatar
tobetter
Posts: 2691
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Contact:

Re: Buildroot for ODROID-C2

Unread post by tobetter » Mon Jul 16, 2018 11:14 pm

mohsennayyeri wrote:Hi
I want compile WPE(WebPlatformForEmbedded) in buildroot
after hours, build error libepoxy-1.3.1

can help me?
What's the command you tried and the errors? Could you share with us?

mohsennayyeri
Posts: 15
Joined: Mon Jul 11, 2016 8:34 pm
languages_spoken: english
ODROIDs: C2
Contact:

Re: Buildroot for ODROID-C2

Unread post by mohsennayyeri » Tue Jul 17, 2018 2:59 am

ok
visit this project:
https://github.com/WebPlatformForEmbedded/buildroot

WPE for raspberry.

I compile buildroot for odroid-c2 and work anything.
and i copy wpe folder from raspberry project to my project into package folder
and add line
source "package/wpe/Config.in"
menu "Graphics" in /package/Config.in

and make menuconfig
select wpe
and build.

build error in package libepoxy-1.3.1

khrplatform.h:52:29: error libepoxy

extphy
Posts: 73
Joined: Mon Aug 17, 2015 4:20 pm
languages_spoken: english, russian
ODROIDs: Cx, XU4, U3
Contact:

Re: Buildroot for ODROID-C2

Unread post by extphy » Thu Jul 19, 2018 6:26 pm

Wondering how stable is current buildroot for ODROID-C2? Are there any stability issues compared to Ubuntu images?

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 3 guests