Buildroot for ODROID-C2
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
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.
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.
-
- Posts: 29
- Joined: Wed Sep 07, 2016 1:47 am
- languages_spoken: english
- ODROIDs: odroid-c2
odroid-n2
odroid-xu4 - Has thanked: 2 times
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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.
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.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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.
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.
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
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.
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.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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.
And the new buildroot will be released based on Amlogic 2016.08.16 buildroot in the near future.
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
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.
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.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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 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.
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
do you mean you wish to provide only prepared binaries instead of uboot source?Brian.K wrote: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 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.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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 wrote:do you mean you wish to provide only prepared binaries instead of uboot source?Brian.K wrote: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 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.
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
if may I ask, what is the purpose of that firmware binary?Brian.K wrote: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 wrote:do you mean you wish to provide only prepared binaries instead of uboot source?Brian.K wrote: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 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.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
According to the source code, Bl301 provides getting/setting dvfs, entering suspend/poweroff mode and resume.
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
e.g. it is possible to build latest uboot with any compiler?Brian.K wrote:The build fail issue due to u-boot was fixed.
if so, this means that Bl301 is supported?
- odroid
- Site Admin
- Posts: 41084
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 3194 times
- Been thanked: 1753 times
- Contact:
Re: Buildroot for ODROID-C2
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
But you still need x86 Linux PC to build the BL301.
Refer this guide.
http://odroid.com/dokuwiki/doku.php?id= ... ot#u-boot1
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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)
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)
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
Rootfs size
The rootfs size is able to be more smaller by removing unnecessary packages using 'make menuconfig'.
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
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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
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
to
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
to
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!
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
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}"
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"
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
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
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!

- rooted
- Posts: 10137
- Joined: Fri Dec 19, 2014 9:12 am
- languages_spoken: english
- Location: Gulf of Mexico, US
- Has thanked: 791 times
- Been thanked: 605 times
- Contact:
Re: Buildroot for ODROID-C2
This would be a good base for CarPC, up and ready to show reverse cam with no waiting.Brian.K wrote:Basic improving boot time guide
Buildroot for ODROID-C2 can boot under 5 seconds.
Just try it!
- memeka
- Posts: 4420
- Joined: Mon May 20, 2013 10:22 am
- languages_spoken: english
- ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART - Has thanked: 2 times
- Been thanked: 61 times
- Contact:
Re: Buildroot for ODROID-C2
i think you want android for car-pc for apps, maps,...
Images: U2/U3 Trusty Dev Center | XU Trusty Dev Center | XU4 Hipster Stretchy Pants
Information: U2/U3 Dashboard | XU Dashboard
Say thank you with a beer
Information: U2/U3 Dashboard | XU Dashboard
Say thank you with a beer
- rooted
- Posts: 10137
- Joined: Fri Dec 19, 2014 9:12 am
- languages_spoken: english
- Location: Gulf of Mexico, US
- Has thanked: 791 times
- Been thanked: 605 times
- Contact:
Re: Buildroot for ODROID-C2
Sure that's the easy way, doing it from buildroot would be akin to LFSmemeka wrote:i think you want android for car-pc for apps, maps,...

-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
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.
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.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.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.
-
- Posts: 257
- Joined: Tue Apr 28, 2015 4:23 pm
- languages_spoken: english, chinese
- ODROIDs: Many Odroids and Rpis.
- Location: shenzhen china
- Has thanked: 0
- Been thanked: 3 times
- Contact:
Re: Buildroot for ODROID-C2
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.
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.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
I will talk about this with my boss.stmicro wrote:Hi Brian,
Do you have any plan to support C1 series? I want to make a portable system with C0.
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
Greetings,
I've tried to build a def image for the c2 with the buildroot mentioned above but it fails, here is the log:
looks like the code doesn't exists anymore.
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
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
Hello, daggs,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:looks like the code doesn't exists anymore.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
Did you set rtk8192cu package using 'make menuconfig'?
Please upload your configuration file. I will check it.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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)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:looks like the code doesn't exists anymore.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
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
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)
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
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.Brian.K wrote: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)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:looks like the code doesn't exists anymore.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
That's amlogic's work, not ours.
Use this steps(explained in the main topic in this thread):My build environment:Code: Select all
$ make odroidc2_defconfig $ make
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)
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
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?Brian.K wrote:Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.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.
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
Because this buildroot use the external mali driver instead of built-in mali driver by buildroot package and kernel module.daggs wrote: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?Brian.K wrote:Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.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.
* 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
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
are there any difference between the external driver and internal driver?Brian.K wrote:Because this buildroot use the external mali driver instead of built-in mali driver by buildroot package and kernel module.daggs wrote: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?Brian.K wrote:Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.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.
* linux-3.14.config, /etc/modules, odroidc2_defconfigBut, it doesn't matter if that external mali package configurations are disabled and the mali driver in the kernel is added.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
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
Same version---"r6p1", but there is small change in the internal mali driver.daggs wrote:are there any difference between the external driver and internal driver?Brian.K wrote:Because this buildroot use the external mali driver instead of built-in mali driver by buildroot package and kernel module.daggs wrote: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?Brian.K wrote:Please refer to the commits (e2c6ddf ~ 91b1ff6). And I already described the changes in this thread.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.
* linux-3.14.config, /etc/modules, odroidc2_defconfigBut, it doesn't matter if that external mali package configurations are disabled and the mali driver in the kernel is added.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
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/*
-
- Posts: 246
- Joined: Tue Sep 15, 2015 7:30 pm
- languages_spoken: English, Korean
- ODROIDs: XU4, C1+, C2
- Location: South Korea
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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
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
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
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?
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?
- odroid
- Site Admin
- Posts: 41084
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 3194 times
- Been thanked: 1753 times
- Contact:
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
at the end, a leaner htpc with nfsv4 server on it.odroid wrote:@daggs?
What are you going to make with Buildroot?
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
-
- Posts: 1
- Joined: Sat Jul 09, 2016 12:11 am
- languages_spoken: english, french
- ODROIDs: Odroid-C1, Odroid-C2
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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 !
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 !
-
- Posts: 7
- Joined: Wed May 17, 2017 8:34 pm
- languages_spoken: english
- ODROIDs: C2, XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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:
dumps just zeros.
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
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
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
the address is https://github.com/daggs1/buildroot/tree/odroidc2-next
I'll update to later version soon
- odroid
- Site Admin
- Posts: 41084
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 3194 times
- Been thanked: 1753 times
- Contact:
Re: Buildroot for ODROID-C2
@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.
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.
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
just keeping the good work Brian started. I hope to see the N1 in mainline buildroot soon.odroid wrote:@daggs,
Thank you for sharing nice modern buildroot system.
It should be a great solution for a headless server application.
according to Neil Armstrong, kernel 4.15.x has proper hdmi support but not VPU acceleration support.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.
I hope VPU acceleration support is not that far.
-
- Posts: 37
- Joined: Thu Mar 01, 2018 10:45 pm
- languages_spoken: english
- ODROIDs: c2
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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?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)
-
- Posts: 229
- Joined: Tue Mar 22, 2016 6:34 pm
- languages_spoken: english, spanish
- ODROIDs: odroid c2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
I assume that ths image can automount the usb drive, the rest is up to you to define..tung256 wrote: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?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)
-
- Posts: 15
- Joined: Mon Jul 11, 2016 8:34 pm
- languages_spoken: english
- ODROIDs: C2
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
Hi
I want compile WPE(WebPlatformForEmbedded) in buildroot
after hours, build error libepoxy-1.3.1
can help me?
I want compile WPE(WebPlatformForEmbedded) in buildroot
after hours, build error libepoxy-1.3.1
can help me?
- tobetter
- Posts: 11949
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 834 times
- Been thanked: 2017 times
- Contact:
Re: Buildroot for ODROID-C2
What's the command you tried and the errors? Could you share with us?mohsennayyeri wrote:Hi
I want compile WPE(WebPlatformForEmbedded) in buildroot
after hours, build error libepoxy-1.3.1
can help me?
-
- Posts: 15
- Joined: Mon Jul 11, 2016 8:34 pm
- languages_spoken: english
- ODROIDs: C2
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
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
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
-
- Posts: 94
- Joined: Mon Aug 17, 2015 4:20 pm
- languages_spoken: english, russian
- ODROIDs: Cx, XU4, U3
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Buildroot for ODROID-C2
Wondering how stable is current buildroot for ODROID-C2? Are there any stability issues compared to Ubuntu images?
-
- Posts: 4
- Joined: Tue Apr 23, 2019 5:17 pm
- languages_spoken: english
- ODROIDs: C2, C4
- Has thanked: 1 time
- Been thanked: 0
- Contact:
Re: Buildroot for ODROID-C2
Hi.
We are a C2 buildroot shop, trying to find some information on how viable buildroot targeting kernel 3.16 is.
Appreciating any pointers, comments or opinions.
Thanks.
/J
We are a C2 buildroot shop, trying to find some information on how viable buildroot targeting kernel 3.16 is.
Appreciating any pointers, comments or opinions.
Thanks.
/J
Who is online
Users browsing this forum: No registered users and 2 guests