Skip to content
Advertisement

Tag: embedded

How to initialize pppd connection witsh RS232 modem?

I trying to run the pppd daemon on my embedded board. When I connect the modem to USB and run “pon provider” the initialization is correct (I get the IP address and in “ifconfig” I have ppp0 interface) “provider” file: “mobile-modem.chat” file: However, I would like to run pppd on the serial port over RS232 (ttyO1 or ttyO2). To do

How to deploy files to /boot partition with Yocto

I’m trying to deploy some binary files to /boot in a Yocto image for RPi CM3 but it deploys them to the wrong location. The files are deployed to /boot in the / partition of the final image, but not to the /boot partition. So they are not available at boot time. I already googled and studied the kernel recipes

which utility produces “Poky (Yocto Project Reference Distro) 2.6.1 (none) /dev/console”

I am playing with Yocto Thud 2.6.1. I want to know which utility / program / library is responsible for producing following line: ‘Poky (Yocto Project Reference Distro) 2.6.1 (none) /dev/console’ Thanks Answer The lines before the login are from the /etc/issue and /etc/issue.net files. You can modify them by creating a bbappend file with your own issue and issue.net

Segmentation fault when maping /dev/mem

I’m trying to mmap a memory from my FPGA on a linux running on my Zedboard SoC. I can read the contents correctly using devmem on the command line, but when trying to read it through C I get a segmentation fault. The barebones code shown below throws the segmentation fault when trying to print the contents of the memory.

What does the “D:, H:, V:” means in fbset?

I search many data on web but I can’t find what does the “D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz” means in the below example? mode “1920×1080-60” # D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz geometry 1920 1080 1920 3240 32 timings 6734 148 88 36 4 44 5 accel false rgba 8/16,8/8,8/0,0/0 endmode Does parameter

Buildroot: install and build the toolchain only

I want to install and build just the toolchain for my Buildroot project. make help suggests that the command make <options> toolchain should work; however, running that command simply returns Nothing to be done for ‘toolchain’. and output/host is never created. Answer You first have to configure Buildroot in order to instruct it about what toolchain you want to produce.

How do I set up a embedded MySQL client in Qt

I’m trying to set up my embedded Linux machine as a MySQL client, in order to connect to a external MySQL server (running on a remote machine). sqlite is not an option. I understand, thanks to Basile Starynkevitch that I have to use libmysqlclient (because that is the only library to run such a connection and dealing with the MySQL

mmap does not work as expected (return random 0xdeadbeef)

I am writing c++ on linux7arm and the physical address is referring to a memory block (that can be accessed/changed by other peripherals) when I map a page of physical address space to the local address space and try to read it, it works fine and show the expected data BUT not all the time. if I write a script

make implies new Extracting

I created a Buidroot package with the both following files : .mk Config.in I succedded in compiling the package by using the above .mk file. However, because I wanted to modify the source code into output/build I note the following behavior (After removing only .stamp_built) : I obtain a new Extracting, Patching, Configuring, Building even if no .stamp removed… What’s

Advertisement