buildroot | Package buildroot for xen-api and related packages
kandi X-RAY | buildroot Summary
kandi X-RAY | buildroot Summary
Buildroot for xen-api and related packages, producing RPM and (experimentally) Debian packages.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of buildroot
buildroot Key Features
buildroot Examples and Code Snippets
Community Discussions
Trending Discussions on buildroot
QUESTION
I have encountered some problems with dockerizing my rebar3 app. As I'm trying to run the app (after building) I receive an error /prod/bin/prod: line 272: /prod/erts-11.2.2.1/bin/erl: not found
This is my rebar.config:
...ANSWER
Answered 2021-May-30 at 10:09Erlang does not compile into binary files, you still need the erlang runtime to be able to run the application, yet your final docker image is a fresh alpine install that doesn't have erlang installed
QUESTION
On my local PC I am running Ubuntu 20.10 with Vim:
...ANSWER
Answered 2021-May-26 at 08:03What you have on that host is neither Vim nor the original vi. It is "BusyBox vi", a partial reimplementation of vi that is part of the BusyBox project.
If you want Vim, you will have to install it yourself in your $HOME
or ask the administrator of that machine to do it for you.
As a side note, the ubiquity of Vim (and vi) is a sadly common misconception.
POSIX-certified systems must have a vi
command that follows the specs but how that command is actually implemented is left to the vendor. On some systems it might be the original vi, on other systems it might be a minimal Vim, or a maximal Vim, or nvi, etc. Then you have Linux vendors, who generally try to follow the spec but are not bound to it. Then you have VM/container-oriented distributions that tend to strive for minimalism and may not even have a vi
command to begin with. And then you have Vim itself, which can be built with or without this or that feature and has never stopped evolving anyway so two Vims are rarely the same.
Outside of the world of containers, it is relatively safe to assume the presence of a vi
command on a Unix-like system, but where the behaviour of that command lies on a spectrum from the vi spec to a complete GUI build of the latest Vim is pretty much a game of roulette.
In the world of containers, it is best to not assume anything.
QUESTION
I'm pretty new to iOS, I'm trying to modifying an open-source project UI's, which most of them are included as framework (or bundle files). I've asked the developer to provide the source files, now I have to replace the framework with the original files. how can I do it? I tried to delete a framework manually and replace it by drag drop and "create group", then I changed the includes like this:
...ANSWER
Answered 2021-May-08 at 09:57there is no way to replace framework with its source code otherwise it wouldn't work properly. instead, you can change framework build locations to match the framework file inside your project. so when you build framework it will be changed automatically.
QUESTION
I am working for a lighting automation company and we will design and develop a product which will implement Yocto/ Buildroot embedded linux operating system. We will use a Linux SoM inside the product and the specs of the SoM is ~:
- 1.2/1.5GHz MPU
- 128/256MB RAM
- 4/8/16GB eMMC/SD
- various peripherals UART, SPI...
At this point, Linux side must implement a Web-Based App, which monitors luminaires and control them etc. In general, project intends to control the lighting of a building/home using the web-app running on the device. Front-end shall show each luminary on the page and relevant buttons and icons help client control and monitor the luminaries. The front-end may have a couple of different pages. Overall there can be max of 250 luminaries and 10-bytes of data for each luminary.
I will have an MCU running beside which does real-time stuff and connected to Linux SoM using UART. The real-time MCU communicates to the luminaries and sends their data to Linux through UART or vice versa. The web-app should start a web-server I guess so that client can connect to the app from his/her PC/Smartphone browser. I also think I will need a database, because device should retain the data once restarted or in case of a power failure.
At this point I am not sure what kind of design should I do. I do not want to create a complex application. I do not want to do over-engineering. We are currently 2 embedded guys and 2 software guys will join us soon. I am an embedded C/C++ guy and although I know how stuff works in a very general sense for Vui.js, React.js etc. I am not really sure how well they will do on embedded linux with restricted sources such as RAM.
I have 3 different designs in my head:
1st ->
- Receive data through UART directly using a high-level language inside web-app backend (Node.js, Flask or ??? if possible)
- Web-app backend (Node.js, Flask etc. or ???) either writes received data to a database (SQLite ??) or executes it directly in a proper way
- Front-end communicates to backend through REST APIs (Vue.js, React or ???)
2nd ->
- Receive data through UART with a plain C executable file (circular buffer etc.)
- Web-app backend (Node.js, Flask or ???) receives data through a local socket from the C file and does database operations etc.
- Front-end communicates to backend through REST APIs (Vue.js, React or ???)
3rd -> If flask, vue.js etc. complicates the Linux applications
- Receive data through UART with a plain C executable file (circular buffer etc.)
- Use lighttpd or similar to start a web-server and use fast-cgi ?
As far as I learnt from the web, with the specs of the SoM I will use, technologies such as Node.js Vue.js can be handled easily and there should be no problem at all. If so, even though it is a quite general question, how to do it in a simple & modern way?
...ANSWER
Answered 2021-Apr-20 at 11:25I think the best way is the first. In this way you build all the system with module so in the future will be easyer to change something. All the framework you will use is maintained by big company so will live for longer
QUESTION
I am using the buildroot framework. I did a patch for the makedevs tool that provides a new 'x' option that allows setting permissions for directories recursively without modifiying permissions for regular files. The patch is named 'makedevs-0001-custom-opts-exclude-regular-files.patch' (see below), and is located inside package/makedevs/ directory. When I try to re-build the framework, I get this error:
...ANSWER
Answered 2021-Apr-20 at 06:58Asked this question in buildroot mailing list and get a valid anwer:
http://lists.busybox.net/pipermail/buildroot/2021-April/308390.html
Hope this helps somebody else in the future!
QUESTION
Just trying to customize permissions for a set of files deployed after installing a buildroot package. Found the FOO_PERMISSIONS feature, that seems to be the proper way to go:
...ANSWER
Answered 2021-Apr-19 at 10:16The proper way to avoid this issue is making all symlinks relative. So, instead of using /usr/share/foo/foo.json, point to ../foo.json. Just for reference in case any of you needs this in the future.
QUESTION
I have build Linux image using buildroot for raspberryp pi 3, using the instruction (Link).
When I run the image in Qemu I am facing the problem:
Please, advice how i can fix this issue.
...ANSWER
Answered 2021-Apr-08 at 09:21Your command line is using qemu-system-x86_64 -M pc, which is telling QEMU to emulate an x86 PC. That is not a Raspberry Pi and it cannot run the Arm code that a Pi needs.
You've also given a URL to a google search, not a set of build instructions, so it's difficult to see what you were trying to follow.
Looking at the instructions in your updated link, they give several possible configs: "Raspberry Pi Zero W", "Raspberry Pi Zero" and "Virtual machine". None of those is a Pi 3, so what config are you actually building ? Unless you've built the "Virtual machine" config (which is an x86-64 one) the QEMU command line you're using won't work. The command line you're using also does not match the one in the blog post, which uses output/images/bzImage
for its kernel, not a zImage
file.
QUESTION
I have a MIPS system (VSC7427) with u-boot and I am trying to boot a more recent kernel than the kernel provided by the vendor in their GPL release (which boots just fine).
The kernel FIT image appears to be sane, and judging by the output I think it should be bootable:
...ANSWER
Answered 2021-Apr-06 at 21:03The final problem you run in to:
ERROR: new format image overwritten - must RESET the board to recover
is because you've loaded the image in to memory in the same location as the entry point but you need to load it in to memory somewhere else so that U-Boot can unpack the image and put the contents where their load address is set to. Since you have 128MB of memory you should be able to put it at +32 or +64MB from start and then things should work.
QUESTION
I'm trying to solve this problem for a few days now but still nothing...
Let's say for example this is my upgrade.sh:
ANSWER
Answered 2021-Apr-06 at 06:53The warning means that rpm
is trying to remove the files from the old package, but they are not on the file system anymore. So you should ask yourself why that is so, and what to do about this:
- Are you removing them manually? Don't, and let
rpm
remove them for you. - Are they not guaranteed to be on the system? In that case you could make them
%ghost
files. These files will be removed when present, but you won't get no warning if they don't exist. (more on %ghost files here)
QUESTION
I made my own linux distribution with buildroot. In "make menuconfig" and "make linux-menuconfig" I checked all options related to "ppp" and "pppd". Unfortunately, after building my distribution I can't use the commands "pon", "poff", "plog" and probably others. The system cannot see them. I looked and they are not in "/ usr / bin" or "/ usr / sbin". What could be causing this? I found out somewhere that these are debian-only commands, but how can I enable the pppd daemon?
...ANSWER
Answered 2021-Mar-01 at 03:40ppd
, pppd
, pon
, and etc are userland applications you need to install them using buildroot. So far you have enabled support in the kernel for ppp
but you have not installed the actual application that manages the ppp
connections which is pppd
If build root doesn't already have a package for ppp
/pppd
, you can make a recipe to do that. The official website is: https://ppp.samba.org/
pon
, poff
, and plog
can be found in the scripts directory of the sources code.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install buildroot
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page