• asfand33353
  • Python
  • 6.6MB
  • zip
  • 0
  • 10 积分
  • 0
  • 2021-03-19 20:43
Introduction ============ The following tutorial will describe how to install ArchLinux (or any other Linux distribution) on the ZYBO development board. Here an overview of the files and topics that will be touched: * bootfs * boot.bin * fsbl.elf * system.bit * u-boot.elf * uImage * uramdisk.image.gz * ramdisk.image.gz * devicetree.dtb * rootfs Setup ===== The setup assumes you have installed the *Vivado Design Suite 2013.4* and are running a Linux system. Run this set of commands to set up the development environment: bash source /opt/Xilinx/Vivado/2013.4/ export CROSS_COMPILE=arm-xilinx-linux-gnueabi- export ARCH=arm Building U-Boot =============== git clone u-boot-digilent-dev cd u-boot-digilent-dev make zynq_zybo_config make cp u-boot ../u-boot.elf cd .. Building the Linux Kernel ========================= git clone linux-digilent-dev cd linux-digilent-dev git checkout 7ad8e6023d969336961312ef751228cbb8874752 make mrproper make xilinx_zynq_defconfig make menuconfig #for archlinux enable: `open by fhandle syscalls' and `Control Group Support' make UIMAGE_LOADADDR=0x8000 uImage modules cp arch/arm/boot/uImage ../ cd .. Building Bitstream ================== curl -O unzip vivado zybo_base_system/source/vivado/hw/zybo_bsd/zybo_bsd.xpr Export Bitstream. cp zybo_base_system/source/vivado/SDK/bootgen/system_wrapper.bit . Building First Stage Bootloader =============================== <!-- xsdk -wait -script my_SDKproj.xml -workspace `pwd` xsdk -wait -eclipseargs -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -build all -data `pwd` -vmargs -Dorg.eclipse.cdt.core.console=org.eclipse.cdt.core.systemConsole --> Create .dts file ================ <!-- Navigate to the SDK_Export folder git clone git:// bsp/device-tree cd bsp/device-tree git checkout xilinx-v2013.4 cd ../../ cp project1_fsbl_bsp/system.mss . Edit the OS section so that it looks like this: BEGIN OS PARAMETER OS_NAME = device-tree PARAMETER PROC_INSTANCE = ps7_cortexa9_0 END libgen -hw hw_platform_0/system.xml -lp device-tree -pe ps7_cortexa9_0 -log libgen.log system.mss --> Create .dtb file ================ <!-- linux-digilent-dev/scripts/dtc/dtc -I dts -O dtb -o devicetree.dtb ps7_cortexa9_0/libsrc/device-tree/xilinx.dts --> Create boot.bif =============== Create a file named `boot.bif` with the flollowing contents: image : { [bootloader]fsbl.elf system_wrapper.bit u-boot.elf } Create boot.bin =============== bootgen -w -image boot.bif -o i boot.bin Partition ========= fdisk /dev/mmcblk0 mkfs.vfat -n "BOOTFS" -F 32 /dev/mmcblk0p1 mkfs.ext4 -L "ROOTFS" /dev/mmcblk0p2 tar -xf ArchLinuxARM-zedboard-latest.tar.gz -C /media/ROOTFS cp boot.bin uImage devicetree.dtb uramdisk.image.gz /media/BOOTFS Reset QSPI flash ================ Reset old u-boot configs: connect to device via serial port, press any key during startup to drop into the u-boot shell, run: env default -a saveenv
    • aes128.rar
      Very lightweight and simple implementation of AES128 crypto
    • aes128base64.rar
      基于单片机 C 语言通用AES128加密算法
    • OC AES 128位解密
      + (NSData *)AES128operation:(CCOperation)operation data:(NSData *)data key:(NSString *)key iv:(NSString *)iv { char keyPtr[kCCKeySizeAES128 + 1]; //kCCKeySizeAES128是加密位数 可以替换成256位的 ...
    • Java AES128加密解密
      Java AES128加密解密 示例源码(AES-ECB-PKCS7Padding)
      高级加密标准(英语:Advanced Encryption Standard,缩写:AES),在密码学中又称Rijndael加密法,是美国联邦政府采用的一种区块加密标准。这个标准用来替代原先的DES,已经被多方分析且广为全世界所使用。经过五年...
    • 微信小程序AES128_ECB加密
      运行结果: 输入: 17,34,51,68,85,102,119,136,153,136,119,102,85,68,51,34 加密: 154,93,155,110,7,...与c及java的AES 128 ECB Nopadding加密结果相同(由本人通过c文件aes.c转为aes.js,无资源分的可以自己转换下)
    • php aes 128 ecb 加密
      php代码实现的aes128加密和之前传的ios aes 128正好实现了服务端加密客户端加密。
    • mini aes 128bit
      This implementation is with a 128 bit key expansion module only. Implementations with different key sizes (192 & 256 bits) and performance parameters (such as a fully pipelined ultra-high -speed ...