# xlib_backup **Repository Path**: xiuye_engineer/xlib_backup ## Basic Information - **Project Name**: xlib_backup - **Description**: backup xlib - **Primary Language**: Unknown - **License**: Unlicense - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-16 - **Last Updated**: 2025-07-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # xlib #### 介绍 ##### C and C++ library ##### UBoot bootloader ##### Linux 系统移植 ARM-A 开发版 ##### Linux Drivers #### 阶段 ##### 1.C programming language ##### 2.C++ programming language ##### 3.ARM Cortex-A9 ASM ##### 4.ARM Board Exynos4412 ##### 5.UBoot for ARM Board ##### 6.Linux 3.14 Drivers for ARM #### 项目 ##### MQTT 控制设备和接收设备状态 ##### 查看摄像头视频 # Linux OS 移植 ## 1.U-Boot 编译和配置 ### 配置环境cmd:pri ```C++ u-boot FS4412 # pri serverip 192.168.2.55 baudrate=115200 bootargs=root=/dev/ram rw console=ttySAC2,115200 clk_ignore_unused init=/linuxrc ip=192.168.2.88 bootargs1=root=/dev/nfs nfsroot=192.168.2.55:/home/hqyj/Desktop/25021/rootfs0,v3 rw console=ttySAC2,115200 clk_ignore_unused init=/linuxrc ip=192.168.2.88 bootargs2=root=/dev/ram rw console=ttySAC2,115200 clk_ignore_unused init=/linuxr c ip=192.168.2.88 bootasergs=root=/dev/nfs nfsroot=192.168.1.100:/home/hqyj/rootfs rw console=ttyS AC2,115200 init=/linuxrc ip=192.168.1.200 clk_ignore_unused=true bootcmd=movi read kernel 41000000;movi read dtb 42000000;movi read rootfs 430000 00 7000000;bootm 41000000 43000000 42000000 bootcmd1=tftp 41000000 uImage;tftp 42000000 exynos4412-fs4412.dtb;bootm 41000000 - 42000000 bootcmd2=tftp 41000000 uImage;tftp 42000000 exynos4412-fs4412.dtb;tftp 43000000 ramdisk.img;bootm 41000000 43000000 42000000 bootcmdcopy=tftp 41000000 uImage;tftp 42000000 exynos4412-fs4412.dtb;tftp 430000 00 ramdisk.img;bootm 41000000 43000000 42000000 bootcmdcopy2=movi read kernel 41000000;movi read dtb 42000000;movi read rootfs 4 3000000 300000;bootm 41000000 43000000 42000000 bootdelay=3 ethact=dm9000 ethaddr=11:22:33:44:55:66 fileaddr=43000000 filesize=64FEB3A gatewayip=192.168.2.1 ipaddr=192.168.2.88 netmask=255.255.255.0 serverip=192.168.2.55 stderr=serial stdin=serial stdout=serial tftp 41000000 uImage movi write kernel 41000000 tftp 42000000 exynos4412-fs4412.dtb movi write dtb 42000000 tftp 43000000 ramdisk.img movi write rootfs 43000000 7000000 //根据文件大小设置 set bootcmd "movi read kernel 41000000;movi read dtb 42000000;movi read rootfs 43000000 7000000;bootm 41000000 43000000 42000000" u-boot FS # pri baudrate=115200 bootargs=root=/dev/mmcblk1p1 rw rootwait console=ttySAC2,115200 init=/linuxrc clk_ignore_unused bootcmd=mmc read 41000000 865 2800; mmc read 43000000 801 64; bootm 41000000 - 43000000 bootdelay=1 ethact=dm9000 ethaddr=11:22:33:44:55:66 fileaddr=41000000 filesize=8941 gatewayip=192.168.2.1 ipaddr=192.168.2.111 netmask=255.255.255.0 serverip=192.168.2.222 stderr=serial stdin=serial stdout=serial //烧写到EMMC tftp 41000000 uImage movi write kernel 41000000 tftp 42000000 exynos4412-fs4412.dtb movi write dtb 42000000 tftp 43000000 ramdisk.img movi write rootfs 43000000 300000 movi write rootfs 43000000 7000000 //从emmc启动 set bootcmd "movi read kernel 41000000;movi read dtb 42000000;movi read rootfs 43000000 300000;bootm 41000000 43000000 42000000" set bootcmd "movi read kernel 41000000;movi read dtb 42000000;movi read rootfs 43000000 7000000;bootm 41000000 43000000 42000000" 6453fc9 7000000 rtsp://192.168.2.97:8554/live/stream set bootargs $bootargs1 set bootcmd $bootcmd1 set bootargs $bootargs2 set bootcmd $bootcmd3 ``` # git usage ```C++ 列出未跟踪的文件 git ls-files --others --ignored --exclude-standard ```