Skip to content
Advertisement

Tag: hardware

Disable Cache/Buffer on Specific File (Linux)

I am currently working in a Yocto Linux build and am trying to interface with a hardware block on an FPGA. This block is imitating an SD card with a FAT16 file system on it; containing a single file (cam.raw). This file represents the shared memory space between the FPGA and the linux system. As such, I want to be

How do I get the interrupt vector number on Linux?

When I run “cat /proc/interrupts”, I can get the following: How can I get the interrupt number of “NMI” “LOC” “SPU” “PMI”, etc. Answer On x86 NMIs are always on interrupt vector 2. The number is hard-coded just as common exceptions (division by 0, page fault, etc). You can find this in the CPU documentation from Intel/AMD. If the APIC

How to connect from USB port to RJ45 console device?

In my Linux laptop, the USB port is connected to an external router with console port (RJ45, Juniper SRX210). This is the cable i am using: I used cuteCom And i used minicom To connect using 9600 but it does not recognize /dev/ttyS0. Also tested with USBViewer (http://www.kroah.com/linux-usb/) which gives error “can not open the file /proc/bus/usb/devices” How can i

Advertisement