Enable uevents in FPGA and correct the big/little endian issues