1028适配openil

一、下载源码

1、下载

  forlinx@ubuntu20:~/openil_WHT$ git clone https://github.com/nxp-archive/openil.git
  正克隆到 'openil'...
  remote: Enumerating objects: 350536, done.
  remote: Counting objects: 100% (338/338), done.
  remote: Compressing objects: 100% (157/157), done.
  remote: Total 350536 (delta 227), reused 253 (delta 179), pack-reused 350198
  接收对象中: 100% (350536/350536), 75.86 MiB | 6.59 MiB/s, 完成.
  处理 delta 中: 100% (242131/242131), 完成.
  正在更新文件: 100% (11870/11870), 完成.
  ​

2、切换分支

  
  forlinx@ubuntu20:~/openil_WHT/openil$ git checkout OpenIL-v1.9-202009

3.检查并安装依赖

  
  forlinx@ubuntu20:~/openil_WHT/openil$ ./env_setup.sh 
  forlinx@ubuntu20:~/openil_WHT/openil$ sudo apt-get install debootstrap

4.配置1028参数_第一次编译测试

  
  forlinx@ubuntu20:~/openil_WHT/openil$ git checkout OpenIL-v1.9-202009 #alternatively you can choose a newer release
  forlinx@ubuntu20:~/openil_WHT/openil$ make nxp_ls1028ardb-64b_defconfig
  forlinx@ubuntu20:~/openil_WHT/openil$ make

四、问题排查

1.修改env_setup.sh 脚本

  
  #!/bin/sh
  #
  host_packages_list="vim git make net-tools build-essential cpio autotools-dev automake dh-autoreconf binfmt-support qemu-system-common qemu-user-static u-boot-tools binutils bash patch gzip bzip2 tar wget libncurses5-dev unzip python3-pyelftools python-pyelftools python3-pycryptodome python-pycryptodome pkg-config libtool rsync file bc openssl sed libssl-dev autogen bison flex inetutils-ping"
  ​
  main()
  {
          echo "Checking the packages required on host!"
          echo "These packages will be installed if they are not exist!"
  ​
          if ! dpkg-query -l debootstrap | grep ii 1>/dev/null; then
                  echo "Installing debootstrap-1.0.95ubuntu0.12"
                  wget http://ports.ubuntu.com/pool/main/d/debootstrap/debootstrap_1.0.95ubuntu0.12_all.deb
                  sudo dpkg -i debootstrap_1.0.95ubuntu0.12_all.deb
                  rm debootstrap_1.0.95ubuntu0.12_all.deb
          else
      
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值