TDA4 Linux BSP ,SD卡制作

1 进入官网:

Processor SDK Linux Software Developer’s Guide — Processor SDK Linux for J721e Documentation

这个版本需要 Ubuntu 22.04 支持

~/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+5892b80d6b-g5892b80d6b/arch/arm64/configs$

安装完后

Then run the script:

./setup.sh

插上SD卡

1.1.3. Create SD Card — Processor SDK Linux for J721e Documentation

 直接跳到  1.1.3.4. Create SD Card with custom images

sudo <PSDK\_PATH>/bin/create-sdcard.sh

下面为制作SD卡和拷贝BSP的log

################################################################################

This script will create a bootable SD card from custom or pre-built binaries.

The script must be run with root permissions and from the bin directory of
the SDK

Example:
 $ sudo ./create-sdcard.sh

Formatting can be skipped if the SD card is already formatted and
partitioned properly.

################################################################################
Available Drives to write images to: 

#  major   minor    size   name 
1:   8       16   15558144 sdb
 
Enter Device Number or n to exit: 1
 
sdb was selected

/dev/sdb is an sdx device
Unmounting the sdb drives
 unmounted /dev/sdb1
Current size of sdb1 15556608 bytes
SD Card is not correctly partitioned

################################################################################

    Select 2 partitions if only need boot and rootfs (most users).
    Select 3 partitions if need SDK & other content on SD card.  This is
        usually used by device manufacturers with access to partition tarballs.

    ****WARNING**** continuing will erase all data on sdb

################################################################################

Number of partitions needed [2/3] : 2
Now partitioning sdb with 2 partitions...

#############################################################################

        Now making 2 partitions

#############################################################################

1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.730571 s, 1.4 MB/s
DISK SIZE - 15931539456 bytes

Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x766aefdf.

Command (m for help): Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-31116287, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-31116287, default 31116287): 
Created a new partition 1 of type 'Linux' and of size 128 MiB.
Partition #1 contains a ext4 signature.

Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (264192-31116287, default 264192): Last sector, +/-sectors or +/-size{K,M,G,T,P} (264192-31116287, default 31116287): 
Created a new partition 2 of type 'Linux' and of size 14.7 GiB.

Command (m for help): Partition number (1,2, default 2): Hex code or alias (type L to list all): 
Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.

Command (m for help): Partition number (1,2, default 2): 
The bootable flag on partition 1 is enabled now.

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
#############################################################################

        Partitioning Boot

#############################################################################
mkfs.fat 4.2 (2021-01-31)
mkfs.fat: Warning: lowercase labels might not work properly on some systems

#############################################################################

        Partitioning rootfs

#############################################################################
mke2fs 1.46.5 (30-Dec-2021)
Creating filesystem with 3856512 4k blocks and 964768 inodes
Filesystem UUID: a71201a1-edfd-4396-ad6d-44e59d5ef2af
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done   

#############################################################################

   Partitioning is now done
   Continue to install filesystem or select 'n' to safe exit

   **Warning** Continuing will erase files any files in the partitions

#############################################################################
Would you like to continue? [y/n] : y
 
Mount the partitions 
 
Emptying partitions 
 

Syncing....

################################################################################

    Choose file path to install from

    1 ) Install pre-built images from SDK
    2 ) Enter in custom boot and rootfs file paths

################################################################################

Choose now [1/2] : 1

 
Will now install from SDK pre-built images
now installing:  ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06

################################################################################

   Multiple rootfs Tarballs found

################################################################################

     1:tisdk-adas-image-j721e-evm.tar.xz
     2:tisdk-tiny-image-j721e-evm.tar.xz
Enter Number of rootfs Tarball: 2

################################################################################

    Copying files now... will take minutes

################################################################################

Copying boot partition

tispl.bin copied


tiboot3.bin copied


sysfw.itb copied


u-boot.img copied

uEnv.txt copied


Copying rootfs System partition
                                                                                                                          

 
Syncing...
 
Un-mount the partitions 
 
Remove created temp directories 
 
Operation Finished    看到这个,就说明你的BSP拷贝到SD卡搞好了
 
 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/624736.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

如何实现无公网ip固定TCP端口地址远程连接Oracle数据库

文章目录 前言1. 数据库搭建2. 内网穿透2.1 安装cpolar内网穿透2.2 创建隧道映射 3. 公网远程访问4. 配置固定TCP端口地址4.1 保留一个固定的公网TCP端口地址4.2 配置固定公网TCP端口地址4.3 测试使用固定TCP端口地址远程Oracle 前言 Oracle&#xff0c;是甲骨文公司的一款关系…

三种引入CSS的方式

文章目录 CSS基础知识概述CSS的注释CSS的格式 三种引入CSS的方式内嵌式外链式行内式优先级 CSS基础知识 概述 Cascading Style Sheet 层叠样式表 前端三大基础之一(Html结构 CSS样式 JS动作) 最早由网景公司&#xff08;Netscape&#xff09;提出&#xff0c;在1996年受到w…

【HarmonyOS4.0】第十篇-ArkUI布局容器组件(二)

三、层叠布局容器&#xff08;Stack&#xff09; 堆叠容器组件 Stack的布局方式是把子组件按照设置的对齐方式顺序依次堆叠&#xff0c;后一个子组件覆盖在前一个子组件上边。 注意&#xff1a;Stack 组件层叠式布局&#xff0c;尺寸较小的布局会有被遮挡的风险&#xff0c; …

1.15 作业

使用计数型信号量设计 2&#xff0c;相关函数的API 一、队列&#xff1a; 1&#xff0c;创建队列函数 osMessageQueueId_t osMessageQueueNew (uint32_t msg_count, uint32_t msg_size, const osMessageQueueAttr_t *attr); msg_count : 队列中消息的最大数量&#xff0c;即…

并发编程之阻塞队列

目录 什么是队列&#xff1f; Queue接口 阻塞队列 应用场景 ArrayBlockingQueue ArrayBlockingQueue使用 ArrayBlockingQueue的原理 数据结构 入队put方法 出队take方法 LinkedBlockingQueue LinkedBlockingQueue使用 LinkedBlockingQueue原理 数据结构 入队put方…

js--every函数

every() 方法测试一个数组内的所有元素是否都能通过指定函数的测试。它返回一个布尔值。 特点&#xff1a; &#xff08;1&#xff09;若有一个不满足条件&#xff0c;则返回false&#xff0c;后面的元素都不会再执行。 &#xff08;2&#xff09;不会对空数组进行检测&#xf…

API接口:原理、设计与应用

一、引言 随着互联网技术的发展&#xff0c;应用程序之间的交互变得越来越频繁。API&#xff08;应用程序编程接口&#xff09;作为不同应用程序之间的桥梁&#xff0c;发挥着越来越重要的作用。本文将详细介绍API接口的原理、设计与应用&#xff0c;并通过部分代码示例帮助读…

微信小程序开发 - 必备理论知识

文章目录 小程序开发必备理论知识一、自定义组件1. 自定义组件 - 组件的创建与引用1.1 创建组件1.2 引用组件1.3 局部引用组件1.4 全局引用组件1.5 全局引用 VS 局部引用1.6 组件和页面的区别 2. 自定义组件 - 样式2.1 组件样式隔离2.2 组件样式隔离的注意点2.3 修改组件的样式…

1-1.this指针闭包作用域

课程目标 知识要点 补充知识点 面试建议 在自己简历的项目中找到面试可能会深挖的临界点 分别列出来每一个项目的基础部分&#xff0c;临界点&#xff0c;业务范围再往深了做的话能够做成什么样&#xff08;这点比较难&#xff0c;可以在github上&#xff0c;或搜一搜网上有…

react hook问题记录(持续更新)

在使用react hook时候的一些问题记录 实际使用react hook的时候遇到的一些问题记录下来了&#xff0c;温故而知新。 问题1&#xff1a;useState已经重新赋值了&#xff0c;但是拿到的还是之前的值 例子1&#xff1a;界面上有个按钮&#xff0c;点击按钮界面上数值会增加1和2…

REST2SQL是什么?它有什么功能和特性?它值不值得我们去学习?我们该如何去学习呢?

REST2SQL是一种将RESTful API转换为SQL查询的工具或技术。它可以将RESTful API中的请求转换为对数据库的SQL查询&#xff0c;以便从数据库中检索、更新或删除数据。 REST2SQL的工作原理是通过分析RESTful API的请求参数和路径&#xff0c;将其转换为相应的SQL查询语句。这样可…

vtk qt切割stl模型

一直想实现对stl模型的某个方向进行平面切割 通过滑动slider然后对模型进行某一个方向的面切割。同时可以用鼠标对模型进行移动缩放&#xff0c;旋转等操作。然后可以加一些颜色点云显示等操作。 stl加载&#xff1a; QString selectFilePath QFileDialog::getOpenFileName…

JS遍历对象的方法及特点

1、定义一个对象 let obj {name: Tom,age: 20,sex: 男,};obj.weight 70kg;// obj的原型上定义属性Object.prototype.height 180cm;Object.prototype.major function() {console.log(专业&#xff1a;计算机应用技术);};console.log(obj, obj); 控制台输出的obj中&#xff…

UDP服务器和客户端的创建步骤

UDP服务器的实现流程&#xff1a;一、创建用户数据报套接字&#xff08;socket函数&#xff09;&#xff1a;通信域选择IPV4网络协议、套接字类型选择数据报式&#xff1b; int sockfd socket(AF_INET,SOCK_DGRAM,0); 二、填充服务器的网络信息结构体&#xff1a;1.定义网络信…

拼多多根据ID取商品详情原数据 API 实现实时数据获取的完整指南

在电商行业中&#xff0c;商品详情页是用户了解商品信息、进行购买决策的重要页面。为了提高用户体验和促进销售&#xff0c;电商平台通常会提供商品详情的API接口&#xff0c;以便第三方应用能够实时获取商品数据。本文将介绍如何使用拼多多获得的根据ID取商品详情原数据的API…

Java_线程安全

一、多线程常用方法 下面我们演示一下getName()、setName(String name)、currentThread()、sleep(long time)这些方法的使用效果。 public class MyThread extends Thread{public MyThread(String name){super(name); //1.执行父类Thread(String name)构造器&#xff0c;为当前…

通过DTS实现PG14迁移到人大金仓V8R6

迁移需求 xxx项目适配人大金仓&#xff0c;测试环境195pgsql数据库需要进行迁移至192.168.3.29 人大金仓数据库&#xff1b; 数据库信息 ip os登录账号密码 数据库类型 数据库端口 数据库 数据库用户密码 源库 192.168.3.15 root/123456 PG14.2 5432 ahtjtestnew …

Docker安装并配置Mongodb 5.0单机复制集

#初始化复制配置#创建数据目录 sudo mkdir -p /app/mongodb5-0/db sudo mkdir -p /app/mongodb5-0/configdb sudo chmod -R 777 /app/mongodb5-0 #生成keyfile sudo openssl rand -base64 128 > /app/mongodb5-0/configdb/keyFile sudo chmod 600 /app/mongodb5-0/configd…

【数据结构】排序之归并排序与计数排序

个人主页 &#xff1a; zxctsclrjjjcph 文章封面来自&#xff1a;艺术家–贤海林 如有转载请先通知 目录 1. 前言2. 归并排序2.1 递归实现2.1.1 分析2.1.2 代码实现 2.2 非递归实现2.2.1 分析2.2.2 代码实现 3. 计数排序3.1 分析3.2 代码实现 4. 附代码4.1 Sort.h4.2 Sort.c4.3…

centos7系统 gdb调试jdk11源码

centos7 gdb调试jdk11源码 ##首先你得编译一个debug版本的jdk11。教程centos7下openjdk11源码下载编译安装_openjdk11下载-CSDN博客 ##gdb 启动java进程 设置运行参数、设置断点 运行、调试进入main断点 gdb /home/yym/code/jdk11u-master/build/linux-x86_64-normal-serve…