最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

BL301工業(yè)控制網(wǎng)關(guān) 支持IgnitionSCADA

2023-02-24 15:36 作者:鋇錸技術(shù)網(wǎng)關(guān)  | 我要投稿

如何在工控機(jī)上安裝和使用Ubuntu

摘要:本文介紹了如何在工控機(jī)上安裝和使用Ubuntu操作系統(tǒng),以支持MySQL數(shù)據(jù)庫(kù)平臺(tái)。首先,簡(jiǎn)要介紹了內(nèi)核,然后,確定必需的硬件與軟件配置,下載Ubuntu系統(tǒng),上傳并安裝在工控機(jī)。

嵌入式 ARM 控制器 BL301/BL302 系列是工業(yè)級(jí)堅(jiān)固型工業(yè)控制器,采用 NXP 的

高性能處理器 I.MX6ULL,搭配先進(jìn)的 ARM Cortex-A7 構(gòu)架,運(yùn)行速度高達(dá) 800MHz,

具有高度的穩(wěn)定性。本產(chǎn)品最高可提供 4 路 RS485/RS232,1 路 CAN 口,2 路網(wǎng)口,2

路 DI 口,2 路 PWM 口輸出以及 1 路 USB 接口,1 路電源輸入/輸出接口、1 路 HDMI

視頻顯示接口??蛇\(yùn)行 LINUX、Ubuntu、Debian 等 OS,兼容 Node-Red、QT、Python、C++等應(yīng)用程序,支持 MySQL、InfluxDB、SQLite 等數(shù)據(jù)庫(kù)。


將文件 nand-burnsd 拷貝到 Ubuntu 系統(tǒng)的任一目錄,假設(shè)為/home/beilai/work。

用戶資料\Linux\燒錄工具\(yùn)emmc-sdburn.tar.bz2 為 4G/8 GEMMC 文件系統(tǒng)。

1、SD 卡使用前使用格式化工具將其格式化為 FAT32 格式。

2、emmc-sdburn.tar.bz2 解壓后拷貝到 ubuntu 系統(tǒng)下的任一目錄。例如

/home/beilai/work。

3、使用 USB 讀卡器把 SD 卡插入到電腦的 USB 端口(VMware 虛擬機(jī)用戶如

果 U 盤沒有被虛擬機(jī)識(shí)別,可以使用如下箭頭指向圖標(biāo)將優(yōu)盤連接到虛擬機(jī))。

4、待虛擬機(jī)識(shí)別到 SD 卡后彈出目錄再進(jìn)行下邊燒寫操作。進(jìn)入

/home/beilai/work/emmc-burnsd 目錄,執(zhí)行腳本:

執(zhí)行上述命令后,終端會(huì)列出電腦的硬盤或 U 盤,對(duì)應(yīng)選擇自己的 SD

卡,回車。

注意:判定自己的 U 盤是 sda/sdb/sdc 可以根據(jù)容量進(jìn)行判斷,比如自

己的優(yōu)盤容量為 8G,則其 size 為 7761920 KB≈8G,建議用戶執(zhí)行此操作

時(shí)不要同時(shí)插入多個(gè)優(yōu)盤,以免混淆。

這里以我們的操作為例:

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

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 ./6ullsdburn.sh

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

partitioned properly. ###############################################################################

Availible Drives to write images to: # major minor size name 1: 8 16 7761920 sdb

Enter Device Number: 1 //此處選擇 1

sdb was selected

Checking the device is unmounted

unmounted /dev/sdb1

sdb1 sdb2 sdb3

7757824

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

Detected device has 1 partitions already

Re-partitioning will allow the choice of 1 partitions ###############################################################################

Would you like to re-partition the drive anyways [y/n] : y //輸入 y,回車,等待制卡完成

Now partitioning sdb ... ###############################################################################

Now making 1 partitions ###############################################################################

1+0 records in

1+0 records out

1024 bytes (1.0 kB, 1.0 KiB) copied, 0.0428509 s, 23.9 kB/s DISK SIZE - 7948206080 bytes Checking that no-one is using this disk right now ... OK

Disk /dev/sdb: 7.4 GiB, 7948206080 bytes, 15523840 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes >>> Created a new DOS disklabel with disk identifier 0x38224bb5. Created a new partition 1 of type 'W95 FAT32 (LBA)' and of size 500 MiB/dev/sdb2: New situation: Device Boot Start End Sectors Size Id Type

/dev/sdb1 20480 1044479 1024000 500M c W95 FAT32 (LBA)

The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks. ###############################################################################

Partitioning Boot

############################################################################### mkfs.fat 3.0.28 (2015-05-16) mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows Mount the partitions Emptying partitions ###############################################################################

Copying files now... will take minutes ###############################################################################

Copying boot partition

copy sdrun/ target/ to SD

Buring the u-boot.imx to sdcard

129+0 records in

129+0 records out

132096 bytes (132 kB, 129 KiB) copied, 0.161529 s, 818 kB/s 431+0 records in

431+0 records out

441344 bytes (441 kB, 431 KiB) copied, 0.422838 s, 1.0 MB/s Syncing.... Un-mount the partitions Remove created temp directories Operation Finished

5、卡制作完成后可以看到 boot 分區(qū)包含 sdrun 和 target 兩個(gè)目錄

sdrun 文件夾內(nèi)容用于引導(dǎo)系統(tǒng)燒寫,一般無(wú)需修改;

arget 目錄內(nèi)容會(huì)燒寫到 flash 芯片,用戶做了鏡像修改,需要替換鏡像

文件時(shí),只需將 target 目錄中的對(duì)應(yīng)文件替換掉,并保持同樣的命名,之后

再重新進(jìn)行系統(tǒng)燒寫。以下以 NAND 的 SD 燒寫卡的 target 內(nèi)文件做介紹說(shuō)

明:

u-boot-imx6ull14x14evk_nand BootLoader 鏡像.imx

zImage 內(nèi)核鏡像

okmx6ull-s-emmc.dtb 設(shè)備樹鏡像。

logo.bmp 開機(jī) Logo 圖片。

用戶更換開機(jī) logo 圖片,只需重新制作

bmp 格式圖片(制作方法參考:用戶資料\應(yīng)用

筆記),命名為 logo.bmp 替換該文件。

rootfs-console.tar.bz2 文件系統(tǒng),無(wú) qt 界面及 qt 庫(kù)。

用戶制作完新的文件系統(tǒng)后,命名為

rootfs_nogpu.tar.bz2 并替換該文件,可燒寫自己

的文件系統(tǒng)。

modules.tar.bz2 模塊文件(燒錄時(shí)解壓到文件系統(tǒng)中)

6、將上一節(jié)中制作好的 SD 卡插入,同時(shí)將撥碼開關(guān)置于下圖所示。3、

5、8 均為 ON,1、2、4、6、7 均為 OFF,此時(shí)將 SD 卡中 target 的內(nèi)容燒寫

到 emmc 中。燒寫時(shí)間較長(zhǎng),等待系統(tǒng)燒寫完成之后,串口打印信息:

7、同時(shí)底板上的 LED1 閃爍。

8、燒寫完成之后,斷電,將撥碼開關(guān)撥到 3、7 均為 ON,1、2、4、5、

6、8 均為 OFF,重新上電,NAND 啟動(dòng)。



BL301工業(yè)控制網(wǎng)關(guān) 支持IgnitionSCADA的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
罗源县| 汉川市| 土默特左旗| 含山县| 新疆| 濉溪县| 建水县| 巨鹿县| 崇义县| 宁远县| 罗江县| 留坝县| 商南县| 阿拉尔市| 秦皇岛市| 锡林郭勒盟| 永州市| 清水县| 陇南市| 台湾省| 岗巴县| 泸州市| 肇庆市| 竹溪县| 南平市| 五常市| 道真| 宣汉县| 安陆市| 吉首市| 永丰县| 太原市| 玉田县| 林周县| 诏安县| 图木舒克市| 锦屏县| 进贤县| 锡林郭勒盟| 吐鲁番市| 呼玛县|