Now, here is the function header of the function I'm supposed to implement: /* * float_from_int - Return bit-level equivalent of expression (float) x * Result is returned as unsigned int, but * it is to be interpreted as the bit-level representation of a * single-precision floating point values. * [...] read more
Hello i am receiving the following error when i try to import the requests_ntlm package. I installed the package with easy_install requests-ntlm. I am trying to use this library so that I can log onto an aspx.net webserver with www-authenticate: negotatiate NTLM response header using python. Appreciate any help solving [...] read more
so my issue is either out of my understanding of fpu mechanics, or there is a problem with implementation I am using. Issue: When performing fused multiply-add instruction with source operand values as such, rs1 = 0xBF800000, rs2 = 0x80542353, rs3 = 0x80800000 the result is rd = 0x802BDCAD which [...] read more
Somehow I cannot connect with RDP for the second time to CentOS 8 running xRDP. I tried changing KillDisconnected in sesman.ini to true without success. I Use xrdp with the following settings: /etc/xrdp.ini ; xrdp.ini file version number ini_version=1 ; fork a new process for each incoming connection fork=true ; [...] read more
I'm running into a problem where a Server 2003 SP2 box has started crashing roughly once an hour, BSODing out with the message that fltmgr.sys is probably the cause. I ran dumpchk.exe on the memory.dmp file, indicating the same thing. Any thoughts on typical root causes? The following is the [...] read more
I've built an image for a Freescale iMX6 EVK board (ARM based), using Buildroot. It booted fine off an SD card, and I wanted to experiment with customized boot commands in U-Boot. I want to make the boot sequence as lean and fast as possible, so I streamlined some of [...] read more
Here's the situation. I am executing instruction FMSUB.S on mentioned in the title hardware. I am using operands values as such: 0xB3800000*0x00500000-0x80800000, with rounding to nearest-even. If I am correct GRS after this operation will be 0x5, therefore rounding happens and final result is a normal value of 0x00800000, but [...] read more
I'm building my first yocto release. All packages build well and I can build my dts. In fact I have a lot of dtb in my images folder. This is my build configuration. Build Configuration: BB_VERSION = "1.36.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-18.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "pico-imx6ul-itl" [...] read more
I'm running into an issue where when I power up my device, it hangs at Starting kernel ... Or it loops with Starting kernel ... resetting ... However, if I interrupt the boot process and manually run boot, ie: => run bootcmd or => boot then the kernel loads fine. [...] read more
I have the following example code, which is the standard basis of event-driven APIs in other programming languages, but in Rust the borrow checker blocks it with "cannot borrow p1 as mutable more than once at a time": struct Pen { color_cmyk: u32, ink: usize, } impl Pen { pub [...] read more
So here's my problem.. I am writing out an AES-NI implementation for a library, and I am stuck on the decryption of a 256 bit block. Here's what I know.. The 128 bit block works perfectly. The encryption of a 256 block aligns with a proven Rijndael implementation. The expanded [...] read more
There is a strange error here, trying to cross compile for ARM on Linux Mint. I used: make ARCH=arm CROSS_COMPILE=${CC} distclean make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_config make ARCH=arm CROSS_COMPILE=${CC} make[1]: Leaving directory `/root/bbb/u-boot/arch/arm/cpu/armv7' make[1]: Entering directory `/root/bbb/u-boot/board/ti/am335x' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/root/bbb/u-boot/board/ti/am335x' make -C tools [...] read more
I am attempting to use this code which is taken from the intel whitepaper as shown below. My aim is to perform 256-bit block encryption using AES-NI. I have successfully derived the key schedule using the method, this method was provided in the Intel AES-NI library which is used to [...] read more
I'm using old Linux-2.6.10 with ramdisk for MIPS arch. I was needed to enlarge my initrd for debug purposes. So, I did this. But with big initrd (~2.1MB) my board restarts faultly. MY-BOARD # run bootnet Using Board Eth. device TFTP from server 192.168.1.10; our IP address is 192.168.1.1 Filename [...] read more
I recently need to use in build NVRAM/EEPROM of AT32UC3L0256 to store some configuration data. I finally managed to use the user page NVRAM of the MCU (after days of trial and error and cursing on GCC ignoring noinit directives and fixing and workarounding bugs in ASF as usual) to [...] read more
I am trying to create a simple X11 window, which should display a PNG file with transparent areas. I want the window itself to have no (opaque) background, so that the transparent areas in the PNG shows what there is behind the window. tl;dr I cannot put an image on [...] read more
I have an IMX7 board from TechNexion. This is the board linked from the Android Things website as a supported board. On unboxing the board, I cannot connect to the device via Fastboot. I can access the boot prompt and default/shipped linux installation via a serial connection. It also connects [...] read more
I've been having some issues debugging U-Boot. I believe it is due to a RAM configuration error, but I would like to get some clarity on it. My methodology for testing is below, and is based on these instructions for the BeagleBone Black 1. Load board with no memory/image 2. [...] read more
I like to use the GPIO 6 of my RPi2 as output. This GPIO is mapped to pin 31. With the following commands I can crash my RPi: cd /sys/class/gpio/ echo 31 > export cd gpio31 echo out > direction Sorry I have no crash dump. But a boot log: [...] read more
I try to read the device information from an AT32UC3B1128 (using an jtagicemkii) like this atprogram.exe -v -i JTAG -d AT32UC3B1128 -cl 100khz info Doing this on my workstation, I get the following output (containing an error message at the bottom): StdOut: Firmware check OK Tool jtagicemkii has firmware version: [...] read more
I am porting Mupen64plus to UWP. For good performance, I have to port the dynamic recompiler. So I rewrote the file linker_arm.s using MS grammar and gets the project built. But the pointers out and base_addr are automatically changed to 0xffffffff when the nearby variables are modified in new_dynarec_init, which [...] read more
I have following code: [Reader]: $80820000 // Current position in ITL. (Item Table List) LUI T4, @Reader LW T5, @Reader(T4) ; current pos in ITL. ([Reader] is my define. I use a MIPS assembler) Basically 0x80820000 should contain the current position of the ITL. The ITL starts at 0x80800000 and [...] read more
I am trying to implement the AES-NI on 256 bits blocks . I have modified the codes based on the Intel whitepaper and below is my modification. extern "C" __declspec(dllexport) void AES_CBC_encrypt(const unsigned char *in, unsigned char *out, unsigned char ivec[32], unsigned long length, unsigned char *key1, int number_of_rounds) { [...] read more
Okay I've had this happen to me before where variables randomly change numbers because of memory allocation issues or wrong addressing etc, such as when you go out of bounds with an array. However, I'm not using arrays, or pointers or addresses so I have no idea why after executing [...] read more