Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago. Improve this question Disclaimer: This is my first time delving into the embedded Linux world (Ubuntu and Debian), despite being a Linux user
Tag: embedded-linux
spidev Linux driver on Intel Atom board
I am working on bringing up SPI on Kontron’s Atom-based SMARC-sXBTi board under Linux. Kontron provided Yocto BSP but it does not include SPI driver. I rebuilt Linux with SPI support. I can see the SPI controller in lspci and in sysfs the SPI PCI device is bound to pca2xx_spi_pci driver. As I understand this is a platform driver which
Is it possible to set timer with local time in Linux?
I’m on my IOT project with raspberry pi, And I want to raise event in certain time like 06:00:00 and 12:00:00 But I can’t do this with jiffies because jiffies only counts the time since the os started. I have an Idea : I may raise interrupt every second and check local time, compare it with certain time. But I
Are sysfs binary attributes allowed to return more than one page of data?
I’m writing a linux device driver that, among other things, exposes a readonly binary attribute in sysfs, the interface for which is When I try to cat or hexdump the file, after the first 4096 bytes, my driver will be given a zero-sized read (It is passed 0 for size). Why is this happening, and how should my driver respond
U-Boot version extraction for comparision
I am trying to extract U-Boot version from its binary for comparison, consider that exact string what I want to search is as follow, so I wrote command with regex as follows, However I don’t see any output for that above command, I could make below command work which extracts version only by comparing versions and not looking for date
How to build Qt applications for imx6 processors?
The same question was asked in a similar way, but the answer is unsatisfying. That’s why I wanted to ask the following one more time: Starting just with an Ubuntu 14.04 OS, what are the steps that I should follow to cross-compile & deploy my Qt GUI application on an embedded board with imx6 processor? Are there any tools &
How to disable serial console(non-kernel) in u-boot
I am building a Yocto image for Intel Edison. One of the image’s components is u-boot with an Edison-specific patch. By default, Edison’s UART port is used for u-boot console. I want to disable this feature, but only on the serial interface(u-boot also listens on USB and that needs to stay). My main concern is the “Press any key to
How are netlink sockets in the Linux kernel different from polling from userland?
I have doubt about the functioning of netlink socket in kernel-application interaction context. As I have read that netlink socket is used for event based notification from kernel to application. The benefit of this is Application is not required to poll. But as in case of netlink socket also, it will also be polling finally to check whether some data
Linux driver for embedded Linux
I’m looking to attach some USB devices to my embedded Linux board. It is an TI-ARM processor running embedded Linux, but I guess it could be any embedded Linux board. If I purchase an USB device which has Linux support/driver, can this driver (generally) be re-compiled to work with the ARM architecture? (Instead of Windows ect.). Answer Yes, USB drivers
How long does an UBIFS take to sync a file to flash
Does anyone know how long a UBIFS takes to flush/sync a file to flash? The write happens through a normal fwrite operation and I would like to know how long before that write is committed to flash when no other writes to file occur. If not, any way of finding out? Thanks. Answer An interesting read: UBIFS write-back knobs in