Difference between revisions of "Kernel Download Note"

From ESS-WIKI
Jump to: navigation, search
(Created page with " ROM-5722 imx8LBVD0029 版本为例子 git clone https://github.com/ADVANTECH-Corp/linux-imx.git cd linux-imx git tag | grep D0029 git checkout imx8LBVD0029 -b kernel_imx8...")
(No difference)

Revision as of 01:52, 9 August 2024

 ROM-5722 imx8LBVD0029 版本为例子

git clone https://github.com/ADVANTECH-Corp/linux-imx.git

cd linux-imx git tag | grep D0029 git checkout imx8LBVD0029 -b kernel_imx8LBVD0029 git branch git describe --tags --abbrev=0 rm .git .github -rf cd ../ mv linux-imx ROM-5722_imx8LBVD0029_linux tar czvf ROM-5722_imx8LBVD0029_linux_20240806.tar.gz ROM-5722_imx8LBVD0029_linux

git clone https://github.com/ADVANTECH-Corp/uboot-imx.git cd uboot-imx git tag | grep D0029 //打印为 imx8LBVD0029,以确认tag 的名字 git checkout imx8LBVD0029 -b u-boot_imx8LBVD0029 //把远程仓库tag 为 imx8LBVD0029 的分支 checkout到本地 u-boot_imx8LBVD0029 分支上 git branch //确认当前本地分支为上一步 新建的分支 u-boot_imx8LBVD0029 git describe --tags --abbrev=0 //确认当前本地分支的tag rm .git .github -rf //删除仓库,避免客户思维发散,专注在当前分支代码基础上开发 cd ../ mv uboot-imx ROM-5722_imx8LBVD0029_uboot //文件夹重命名为专用版本 tar czvf ROM-5722_imx8LBVD0029_uboot_20240806.tar.gz ROM-5722_imx8LBVD0029_uboot