New answers tagged

1

Total_vm was badly calculated by me and the OOM report is correct. app has allocated 59739 pages which is 233MB. So, this is the correct reason of OOM.


0

With regards to SDIO to USB adapters like something based off of a VUB300, under Linux, the bridge itself will Hot-plug USB and do the "right" things. The SDIO device, on the other hand...depends on whether the vendor (giving TI a nasty, nasty look right now...grrr...) did something non-standard and their drivers RELY on that off in the weeds behavior. The ...


0

I finally found out what was the issue for this behaviour. I used some busy waiting in my communication loop, which lead to heavy cpu load. I read then, that using SerialPort commands like BytesToRead and Read are not ideal at all: If you must use .NET System.IO.Port.Serialport Therefore I tried using asynchronous functions of ByteStream ReadAsync and ...


1

In case there are several images inside here is a quick bash script to extract them all: #!/bin/bash sourceFile=uImage declare -ia sizes=( $(mkimage -l "$sourceFile" | grep '^ Image [0-9]+' | awk -F ' ' 'BEGIN { ORS = " " } { print $3 }') ) declare -i currOffset="68+4*${#lens[@]}" declare -i size for i in "${!sizes[@]}"; do size=${sizes[$i]} ...


1

If dtc is available on your platform (else, install the device-tree-compiler package), you can use: dtc -I fs /sys/firmware/devicetree/base


1

The device tree is exposed as a hierarchy of directories and files in /proc. You can cat the files, eg: find /proc/device-tree/ -type f -exec head {} + | less Beware, most file content ends with a null char, and some may contain other non-printing characters.


0

Well, We did code reading as it was being suggested in the comments and found the section of the patch where system may go into infinite loop(in irq) and won't come out of it. However when we put printk in that irq function issue was not getting reproduced. (timing issue you know!) So finally my colleague tried old school method of toggling GPIO and it ...



Top 50 recent answers are included