hi35xx / hi35xx-buildroot Goto Github PK
View Code? Open in Web Editor NEWbuildroot for hisilicon hi35xx series
License: Other
buildroot for hisilicon hi35xx series
License: Other
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: [email protected] You can also find us on #buildroot on Freenode IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
I'm a newer to buildroot, I used
cp configs/hi3518v200_defconfig .config
make menuconfig
make
And I get a make error,
/gcc -I../../gcc/c -I../../gcc/../include -I../../gcc/../libcpp/include -I/home/miao/Desktop/hi35xx-buildroot/output/host/usr/include -I/home/miao/Desktop/hi35xx-buildroot/output/host/usr/include -I/home/miao/Desktop/hi35xx-buildroot/output/host/usr/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace -I/home/miao/Desktop/hi35xx-buildroot/output/host/usr/include -o c/c-typeck.o -MT c/c-typeck.o -MMD -MP -MF c/.deps/c-typeck.TPo ../../gcc/c/c-typeck.c
Makefile:2201: recipe for target 's-attrtab' failed
make[3]: *** [s-attrtab] 已杀死
make[3]: *** 正在等待未完成的任务....
Makefile:4113: recipe for target 'all-gcc' failed
make[2]: *** [all-gcc] Error 2
package/pkg-generic.mk:216: recipe for target '/home/miao/Desktop/hi35xx-buildroot/output/build/host-gcc-initial-6.2.0/.stamp_built' failed
make[1]: *** [/home/miao/Desktop/hi35xx-buildroot/output/build/host-gcc-initial-6.2.0/.stamp_built] Error 2
Makefile:76: recipe for target '_all' failed
make: *** [_all] Error 2
maybe this is an error about make gcc. I should use a external toolchain?
Thanks.
any help?
Hello colleagues !
I have one question..
Can I get RTSP destination URL from live-streamer started on HI3518EV1 cam with ov9712 sensor ?
Thank you !
Hi, I noticed that there is NO 3519 folder under board/hisilicon/, but 3518 and 3520 are down there. I just wonder if you've got the direct support to 3519?
Cheers
Hello colleagues !
I have one question..
Can I get in this firmware a screenshot in the form of a .JPG file ?
Thank you !
uboot-tools 2018.07 Building
In file included from tools/env/fw_env.c:38:0:
./output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/mtd/ubi-user.h:329:3: error: conflicting types for ‘__packed’
} __packed;
^~~~~~~~
./output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/mtd/ubi-user.h:313:3: note: previous declaration of ‘__packed’ was here
} __packed;
^~~~~~~~
any suggestion?
Hi,
Could you help me with phy SMSC lan8710a (http://ww1.microchip.com/downloads/en/DeviceDoc/00002164B.pdf)? It can't transmit packets. Device only receives packets.
Thanks.
Hello,
I have an IPG-53H13PE-WP module that only works with wifi, but when I turn on the board, wifi is not activated.
How can I upload the firmware if I can not connect via network?
When turn on I can see in Putty (Serial Port 115200):
U-Boot 2010.06-svn (Oct 14 2015 - 15:07:23)
DRAM: 256 MiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x17 0xC2 0x20 0x17
Spi(cs1): Block:64KB Chip:8MB Name:"MX25L6406E"
envcrc 0xb599d235
ENV_SIZE = 0xfffc
In: serial
Out: serial
Err: serial
Press Ctrl+C to stop autoboot
CFG_BOOT_ADDR:0x58040000
8192 KiB hi_sfc at 0:0 is now current device
boot load complete: 2068024 bytes loaded to 0x82000000
SAVE TO 80008000 !
Booting kernel from Legacy Image at 82000000 ...
Image Name: linux
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2067960 Bytes = 2 MiB
Load Address: 80008000
Entry Point: 80008000
load=0x80008000,_bss_end=80829828,image_end=80200df8,boot_sp=807c7168
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
And don't load.
PRINTENV
U-Boot 2010.06-svn (Oct 14 2015 - 15:07:23)
DRAM: 256 MiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x17 0xC2 0x20 0x17
Spi(cs1): Block:64KB Chip:8MB Name:"MX25L6406E"
envcrc 0xb599d235
ENV_SIZE = 0xfffc
In: serial
Out: serial
Err: serial
Press Ctrl+C to stop autoboot
hisilicon # printenv
bootcmd=setenv setargs setenv bootargs ${bootargs};run setargs;fload;bootm 0x82000000
bootdelay=1
baudrate=115200
bootfile="uImage"
da=mw.b 0x82000000 ff 1000000;tftp 0x82000000 u-boot.bin.img;sf probe 0;flwrite
du=mw.b 0x82000000 ff 1000000;tftp 0x82000000 user-x.cramfs.img;sf probe 0;flwrite
dr=mw.b 0x82000000 ff 1000000;tftp 0x82000000 romfs-x.cramfs.img;sf probe 0;flwrite
dw=mw.b 0x82000000 ff 1000000;tftp 0x82000000 web-x.cramfs.img;sf probe 0;flwrite
dc=mw.b 0x82000000 ff 1000000;tftp 0x82000000 custom-x.cramfs.img;sf probe 0;flwrite
up=mw.b 0x82000000 ff 1000000;tftp 0x82000000 update.img;sf probe 0;flwrite
ua=mw.b 0x82000000 ff 1000000;tftp 0x82000000 upall_verify.img;sf probe 0;flwrite
tk=mw.b 0x82000000 ff 1000000;tftp 0x82000000 uImage; bootm 0x82000000
dd=mw.b 0x82000000 ff 1000000;tftp 0x82000000 mtd-x.jffs2.img;sf probe 0;flwrite
ipaddr=192.168.1.10
serverip=192.168.1.107
netmask=255.255.255.0
bootargs=mem=${osmem} console=ttyAMA0,115200 root=/dev/mtdblock1 rootfstype=cramfs mtdparts=hi_sfc:256K(boot),3520K(romfs),2560K(user),1280K(web),256K(custom),320K(mtd)
ethaddr=00:12:15:4b:be:13
HWID=8043420004048425
NID=0x0100
muxctl0=0x200f00dc
muxval0=1
gpio0=0x95
gpioval0=0
osmem=40M
appSystemLanguage=SimpChinese
appVideoStandard=PAL
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-svn (Oct 14 2015 - 15:07:23)
Environment size: 1359/65532 bytes
Good afternoon
Has anyone tried building a bootloader for the hi3520dv200 processor ?
I have it build correctly, but it doesn't work. On the monitor screen, only spaces run at start. Something can't initialize. If I build the loader using the original toolchain, then everything is fine. Does anyone else have such a problem or can check ? Thanks.
Hi,
I've got an 53H13PE board, with a Hi3518e and an aptina and I'm trying to use your buildroot on it.
However, the driver hieth seems to be a little upset with it, since it give me an interface (eth0) wich emits and receives absolutely no packet.
I can assign it an ip address, but whatever I do, no packet are sended nor received (check by tcpdump on the board, or on my network).
The on-board firmware works well on this aspect.
I've used the linux 3.0 version, since with the 3.4 I don't have any serial console (and no network).
I've tried to modify the RMII_MODE_{U,D} and the PHYID_{U,D} in the linux config, to no avail.
Have you got this problem , and/or do you have an idea where to look at to investigate ?
Do you know any "cheap" board that is compatible with this buildroot (it could be easier to just switch the board :))
Cordially
Ps : on the on-board firmware, I've got theses informations, but I don't know what to do with
From boot :
<6>PHY: himii:01 - Link is Up - 100/Full
<6>Sofia uses obsolete (PF_INET,SOCK_PACKET
from some other conf file
DRIVER=hieth
MODALIAS=platform:hiet
himii:01
from the directory /sys/devices/platform/hieth.0/net/eth0
$cat iflink
2
$cat link_mode
0
$cat type
1
$cat operstate
up
$cat features
0x4000
$cat flags
0x1003
himpp-hi3518v100 1.0.A.0 Downloading
'/home/parallels/Devel/hi35xx-buildroot/package/himpp/himpp-hi3518v100/hi3518v100-mpp2-1.0.A.0.tgz' -> '/home/parallels/Devel/hi35xx-buildroot/output/build/.hi3518v100-mpp2-1.0.A.0.tgz.jFNw7s/output'
WARNING: no hash file for hi3518v100-mpp2-1.0.A.0.tgz
himpp-hi3518v100 1.0.A.0 Extracting
mkdir -p /home/parallels/Devel/hi35xx-buildroot/output/build/himpp-hi3518v100-1.0.A.0
tar -zxf /home/parallels/Devel/hi35xx-buildroot/dl/hi3518v100-mpp2-1.0.A.0.tgz --strip-components=2 -C /home/parallels/Devel/hi35xx-buildroot/output/build/himpp-hi3518v100-1.0.A.0
tar (child): /home/parallels/Devel/hi35xx-buildroot/dl/hi3518v100-mpp2-1.0.A.0.tgz: Cannot open: No such file or directory
./dl/hi3518v100-mpp2-1.0.A.0.tgz actually locates at ./dl/himpp-hi3518v100/hi3518v100-mpp2-1.0.A.0.tgz
I'm new to buildroot, so I just copied it to desired location
在编译hi3518ev200之后,编译qt5base出现错误
`
Prior to reconfiguration, make sure you remove any leftovers from
the previous build.
In file included from /home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/include/QtCore/qglobal.h:1:0,
from /home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/include/QtCore/../../src/corelib/text/qchar.h:43,
from /home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/include/QtCore/qchar.h:1,
from /home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/include/QtCore/../../src/corelib/text/qstring.h:49,
from /home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/include/QtCore/qstring.h:1,
from /home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/include/QtCore/../../src/corelib/io/qdir.h:43,
from /home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/include/QtCore/qdir.h:1,
from /home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/src/corelib/global/qlibraryinfo.cpp:41:
/home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/include/QtCore/../../src/corelib/global/qglobal.h:86:30: error: division by zero in #if
#define QT_CONFIG(feature) (1/QT_FEATURE_##feature == 1)
^
/home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/src/corelib/global/qlibraryinfo.cpp:676:7: note: in expansion of macro 'QT_CONFIG'
#elif QT_CONFIG(relocatable)
^
make[3]: *** [qlibraryinfo_final.o] Error 1
make[2]: *** [/home/test/work/hisi3518ev200/hi35xx-buildroot-master/output/build/qt5base-5.14.2/qmake/qmake] Error 2
make[1]: *** [sub-qmake-qmake-aux-pro-make_first] Error 2
make[1]: *** Waiting for unfinished jobs....
`
Hello, I compiled using hi3518v200_defconfig and am able to boot using the generated rootfs and kernel on a meshare camera I have. Generally everything appears to work except for I cannot get a rtsp stream going.
/proc/umap/vb and /proc/umap/h264e not showing any streams..
Hi,
thank you for your project. I can not setup it on hi3518ep board. Ethernet doesn't work. In U-BOOT ethernet works normally. Please help me.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.