Tags
Categories
Meta
Archives
- August 2018 (1)
- November 2017 (1)
- June 2017 (1)
- April 2017 (1)
- February 2017 (1)
- January 2017 (2)
- December 2016 (3)
- November 2016 (2)
- October 2016 (1)
- September 2016 (1)
- August 2016 (1)
- July 2016 (2)
- June 2016 (2)
- April 2016 (1)
- March 2016 (1)
- January 2016 (1)
- December 2015 (2)
- November 2015 (1)
- October 2015 (1)
- September 2015 (2)
- August 2015 (1)
- May 2015 (5)
- March 2015 (2)
- October 2014 (2)
- August 2014 (1)
- July 2014 (1)
- April 2014 (1)
- March 2014 (3)
- January 2014 (2)
- December 2013 (4)
- November 2013 (4)
- October 2013 (3)
- August 2013 (4)
- July 2013 (1)
- June 2013 (2)
- May 2013 (4)
- April 2013 (1)
- March 2013 (4)
- January 2013 (3)
- November 2012 (1)
- October 2012 (4)
- September 2012 (3)
- August 2012 (2)
- July 2012 (3)
- June 2012 (1)
- April 2012 (1)
- March 2012 (1)
- February 2012 (2)
- December 2011 (1)
- October 2011 (3)
- September 2011 (2)
- August 2011 (2)
- July 2011 (8)
Author Archives: yuliang
Opensource gpjtag adapter
I finished gpjtag on Aug 2016, so it is time to opensource. http://github.com/buaabyl/gpjtag_stm32
Enable Let’s Encrypt
I am using StartSSL free certificate before, but Chrome and Firefox begin to drop it. So I change to Let’s Encrypt. It really work!!! Great!!! And force all request to SSL.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
#http://gpjtag.com server { listen 80; server_name gpjtag.com; rewrite ^(.*) https://www.gpjtag.com$1 permanent; } #https://gpjtag.com server { listen 443; server_name gpjtag.com; ssl on; ssl_certificate ......; ssl_certificate_key ......; rewrite ^(.*) https://www.gpjtag.com$1 permanent; } #http://www.gpjtag.com server { listen 80; server_name www.gpjtag.com; rewrite ^(.*) https://www.gpjtag.com$1 permanent; } #https://blog.gpjtag.com server { listen 80; server_name blog.gpjtag.com; rewrite ^(.*) https://blog.gpjtag.com$1 permanent; } |
This work is licensed under a Creative Commons … Continue reading
Found final audit of Truecrypt report
I found the final report on opencryptoaudit.org, and the answer is Truecrypt is safe, great! Or I think is safer than most open source crypto on the fly disk implement without UEFI.
Create an open source vmnetcfg
VMware VMNetcfg is a useful tool, you can change IP, DNS, NAT quickly. But begin from VMware Player 3.x, it have been removed from then standard installer. You must extract from Workstation version, painful… In the older days, you can … Continue reading
Bug with GCC and Qt 5.7.0
When I build a Qt library from source, everything seems ok, but when the Qt example run, it show segmentation fault… Why do I compile from source, because my CPU on server not support SSE2 >_< So I do some … Continue reading
Building microblaze toolchians
Xilinx have a pre-compiled toolchain ship with ISE or Vivado, but I want to build it myself (just for fun). My system with mingw32-w64 and build-essential lsb_release -a # Distributor ID: Ubuntu # Description: Ubuntu 16.04 LTS # Release: 16.04 … Continue reading
Build openssl for windows
First, download source code: https://www.openssl.org/source/openssl-1.0.2h.tar.gz Second, download ActivePerl https://www.activestate.com/activeperl Third, download mingw64 https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/
1 2 3 4 5 6 7 |
set PATH=C:\Perl\bin;%PATH% perl Configure VC-WIN32 no-asm enable-static-engine --prefix=c:\openssl call ms\do_ms nmake -f ms\ntdll.mak nmake -f ms\nt.mak nmake -f ms\ntdll.mak install nmake -f ms\nt.mak install |
And I compile mingw version under xubuntu 16.04 with mingw32 installed.
1 2 3 4 5 6 7 |
tar xvf openssl-1.0.2h.tar.gz cd openssl-1.0.2h/ ./Configure mingw enable-static-engine --cross-compile-prefix=i686-w64-mingw32- \ --prefix=/home/fish/work/openssl-w32 make depend make make install |
Have fun:P This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. … Continue reading
Custom Ubuntu live CD
Ubuntu live cd can startup on u-disk, so just test with this media.
Read Spartan6LX DNA Serial Number
Spartan6 Contain DNA logic — DNA_PORT, We can let this as random seed:) This is 57bits numbers. DNA_PORT DNA_PORT_inst( .DOUT(dna_dout), .CLK(dna_clk), .DIN(1’b0), .READ(dna_read), .SHIFT(dna_shift) ); DNA_PORT is act as SPI Slave, capture at raise edge, … Continue reading
Bug in data2mem…
I using data2mem to replace data in BlockRAM, It confused me when I try to replace BlockRAM data in Spartan6 Devices. There are correct in BRAM16 with 8bits and 16bits, only error BRAM18 with 18bits. Update: bug exist in ISE … Continue reading