Buildroot for Orangepi 2G IOT
Im adding support for Orangepi 2G IOT to buildroot:https://github.com/leojrfs/buildroot
It follows the kernel and uboot sources being worked on the unnofficial RDA8810 repositories at github.
For issues and questions please submit a issue on gitlab.
Good day all.
Anybody use buildroot now for building sdcard image for OrangePI-2G-IOT.
If i`m using buildroot from leojrfs github repository i had trouble with u-boot patch, new files was already created.
If i have removed u-boot patch files i hev next message
"drivers/usb/musb/musbhsdma.c: In function 'dma_channel_program':
drivers/usb/musb/musbhsdma.c:175:7: error: variable 'ddr_master_idx' has initializer but incomplete type
enum ddr_master ddr_master_idx = PM_DDR_USB_DMA0 + musb_channel->idx;"
If i have changed repository for kernel and u-boot to next:
https://github.com/orangepi-xunlong/OrangePiRDA_kernel.git
https://github.com/orangepi-xunlong/OrangePiRDA_uboot.git
i get sdcard.img, but i can`t her booting.
Sorry for my bad English Edited by fr0ster at 2018-4-19 14:56
Good day all!
I have taken official buildroot repository, configs for OrangePI-2G-IOT from leojrfs, replaced repo for kernel and u-boot, removed several patches
and created repo on github - https://github.com/fr0ster/buildroot.git.
For clone repo use next command - "git clone -b devel https://github.com/fr0ster/buildroot.git"
I have built image with this repo and at first sight all works.
Please check it if you have free time :)
PS Sorry for my bad English :)
PSS I created new config in new branch - devel
Thanks, i go to probe it. Good work I think i know why buildroot image don`t work.
file boot.cmd have next string:
"fatload mmc 0:1 ${factorydata_addr} factorydata.img"
"mdcom_cal_loadm ${factorydata_addr}"
But after building i don`t have factorydata.img.
If i remove this string that i get sdimage that can be booting.
Also need remove several patch if used
https://github.com/orangepi-xunlong/OrangePiRDA_kernel.git and
https://github.com/orangepi-xunlong/OrangePiRDA_uboot.git:
0001-linux-remove-r~80211-to-tree.patch
u-boot-001-gcc5-support.patch
u-boot-002-gcc5-use_gcc_inline_version_instead_c99.patch
u-boot-003-dont-inline-weak-symbols.patch
u-boot-004-add-support-for-gcc6.patch
u-boot-005-ARM-asm-io.h-use-static-inline.patch I don't have that board but will check your repo.
Thanks.
As i understood Leojrfs has used kernel repository https://github.com/RDA8810/linux-RDA8810.git and 9 month ago his patches was added into this repo but last commit into leojrfs was done 10 month ago.
Also i found interesting trouble, if you have high level of wi-fi signal and you connected antenna to your board that module rdawfmac.ko will get kernel panic
Sorry for my bad English, i hope you wil understend what i mean :(
page:
[1]