当前位置: 首页 > news >正文

彩票网站建设方案引流推广神器

彩票网站建设方案,引流推广神器,网站模版整站下载,现在学ui吃香吗想必RT-Thread系统大家不陌生了,RT-Thread Smart(简称 rt-smart)是基于 RT-Thread 操作系统衍生的新分支,面向带 MMU,中高端应用的芯片,例如 ARM Cortex-A 系列芯片,MIPS 芯片,带 MM…

想必RT-Thread系统大家不陌生了,RT-Thread Smart(简称 rt-smart)是基于 RT-Thread 操作系统衍生的新分支,面向带 MMU,中高端应用的芯片,例如 ARM Cortex-A 系列芯片,MIPS 芯片,带 MMU 的 RISC-V 芯片等。rt-smart 在 RT-Thread 操作系统的基础上启用独立、完整的进程方式,同时以混合微内核模式执行。

官方文档: https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-smart/rt-smart-quickstart/rt-smart-quickstart

内核:rt_smart_kernel.bin

硬件:麻雀,MQ1或MQ1W

RT-smart包(自带编译器):mango_rtsmart_app.zip

1. 分区

使用fdisk分区。
将u盘挂载到ubuntu系统后,笔者设备路径是/dev/sdb。使用的32GB TF卡,扇区大小512字节,根据说明预留8M的空闲,那么计算得知分区扇区开始于:16384
命令:sudo fdisk /dev/sdb
选:o,n,p,1,16384,回车

Command (m for help): o
Created a new DOS disklabel with disk identifier 0x3668b987.Command (m for help): n
Partition typep   primary (0 primary, 0 extended, 4 free)e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-62410751, default 2048): 16384
Last sector, +sectors or +size{K,M,G,T,P} (16384-62410751, default 62410751): Created a new partition 1 of type 'Linux' and of size 29.8 GiB.Command (m for help): w
The partition table has been altered.

正确的分区效果如下:

mango@virtual:/dev$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 29.8 GiB, 31954305024 bytes, 62410752 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
Disklabel type: dos
Disk identifier: 0x3668b987Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1       16384 62410751 62394368 29.8G 83 Linux
mango@virtual:/dev$ 

然后格式化sdb1:

$ sudo mkfs -t fat /dev/sdb1

2. 刷入rt-smart内核

$ sudo dd if=rt_smart_kernel.bin of=/dev/sdb bs=1024
2888+1 records in
2888+1 records out
2957313 bytes (3.0 MB, 2.8 MiB) copied, 8.32574 s, 355 kB/s
$ sync

3. 启动rtt

此时将TF卡放入麻雀,串口0(底部排针的7,8脚),串口波特率500000,然后上电:

[26]HELLO! BOOT0 is starting!
[27]BOOT0 commit : fb73c68
[28]set pll start
[28]periph0 has been enabled
[29]set pll end
[30]board init ok
[30]ZQ value = 0x2f***********
[31]get_pmu_exist() = -1
[32]ddr_efuse_type: 0xa
[33][AUTO DEBUG] single rank and full DQ!
[34]ddr_efuse_type: 0xa
[35][AUTO DEBUG] rank 0 row = 13
[36][AUTO DEBUG] rank 0 bank = 4
[37][AUTO DEBUG] rank 0 page size = 2 KB
[37]DRAM BOOT DRIVE INFO: V0.24
[38]DRAM CLK = 528 MHz
[39]DRAM Type = 2 (2:DDR2,3:DDR3)
[40]DRAMC read ODT  off.
[40]DRAM ODT off.
[41]ddr_efuse_type: 0xa
[42]DRAM SIZE =64 M
[44]DRAM simple test OK.
[45]dram size =64
[45]card no is 0
[45]sdcard 0 line count 4
[46][mmc]: mmc driver ver 2021-04-2 16:45
[52][mmc]: Wrong media type 0x0
[53][mmc]: ***Try SD card 0***
[60][mmc]: HSSDR52/SDR25 4 bit
[61][mmc]: 50000000 Hz
[61][mmc]: 30474 MB
[62][mmc]: ***SD/MMC 0 init OK!!!***
[98]Loading boot-pkg Succeed(index=0).
[99]*******************TOC1 Item Message*************************
[100]Entry_name        = opensbi
[101]Entry_data_offset = 0x600
[102]Entry_data_len    = 0x188e0
[103]encrypt           = 0x0
[103]Entry_type        = 0x0
[104]run_addr          = 0x40000000
[105]index             = 0x0
[105]Entry_end         = 0x3b454949
[106]*************************************************************
[108]*******************TOC1 Item Message*************************
[109]Entry_name        = dtb
[110]Entry_data_offset = 0x19000
[111]Entry_data_len    = 0x7475
[111]encrypt           = 0x0
[112]Entry_type        = 0x0
[113]run_addr          = 0x40200000
[114]index             = 0x0
[114]Entry_end         = 0x3b454949
[115]*************************************************************
[117]*******************TOC1 Item Message*************************
[118]Entry_name        = kernel
[119]Entry_data_offset = 0x20600
[120]Entry_data_len    = 0xa6cf0
[120]encrypt           = 0x0
[121]Entry_type        = 0x0
[122]run_addr          = 0x40400000
[123]index             = 0x0
[123]Entry_end         = 0x3b454949
[124]*************************************************************
[126]Jump to second Boot.OpenSBI v0.9-165-gefbc2b8____                    _____ ____ _____/ __ \                  / ____|  _ \_   _|| |  | |_ __   ___ _ __ | (___ | |_) || || |  | | '_ \ / _ \ '_ \ \___ \|  _ < | || |__| | |_) |  __/ | | |____) | |_) || |_\____/| .__/ \___|_| |_|_____/|____/_____|| ||_|Platform Name             : Allwinner D1 NeZha
Platform Features         : medeleg
Platform HART Count       : 1
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 24000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform Reboot Device    : sunxi-wdt-reset
Platform Shutdown Device  : ---
Firmware Base             : 0x40000000
Firmware Size             : 248 KB
Runtime SBI Version       : 0.3Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000014008000-0x000000001400bfff (I)
Domain0 Region01          : 0x0000000014000000-0x0000000014007fff (I)
Domain0 Region02          : 0x0000000040000000-0x000000004003ffff ()
Domain0 Region03          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000040400000
Domain0 Next Arg1         : 0x0000000040200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yesBoot HART ID              : 0
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcvsux
Boot HART Features        : scounteren,mcounteren,mcountinhibit,time
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 2048
Boot HART PMP Address Bits: 38
Boot HART MHPM Count      : 0
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b1ff
heap: [0x404fbdf4 - 0x41cfbdf4]
[I/I2C] I2C bus [i2c2] registered\ | /
- RT -     Thread Smart Operating System/ | \     5.0.0 build Dec 31 20212006 - 2020 Copyright by rt-thread team
lwIP-2.1.2 initialized!
SDC:hal_sdc_create host:000000004051bdf8 id:0
SDC:Not implement __mci_restore_io,798
SDC:Not imp hal_sdc_init,2218
SDC:hal_sdc_init,2251 no imp
SDC:hal_sdc_init,2259 no imp
SDC:SDC Host Capability:0x3820f Ocr avail:0x3f0000
SDC:SDC cd_mode:2 present_val:0
SDC:SDC id:0 dma_use:1 present:1driver version SD/MMC/SDIO Host Controller Driver(v0.27 2021-04-30 16:50) init ok.
card_detect insert
SD:mmc_card_create card:000000004052e1a8 id:0
SDC:Not implement __mci_restore_io,798
SDC:SDC clock=400000 kHz,src:0, n:1, m:14
SDC:SDC clock=400000 kHz,src:0, n:1, m:14
SD:***** Try sd *****
SD:card ocr: ffffffffc0ff8000
SD:Card CID number:55
SD:card raw cid:
SD:card raw csd:
SD:card raw scr:
SD:card raw SD status:
SDC:SDC clock=50000000 kHz,src:1, n:0, m:5
SD:card is switched to high speed mode, clk:50000 KHz
SD:Set bus width type: 2
SD:
============= card information ==============
SD:Card Type     : SDHC
SD:Card Spec Ver : 5.0
SD:Card RCA      : 0x0001
SD:Card OCR      : 0x40ff8000
SD:    vol_window  : 0x00ff8000
SD:    to_1v8_acpt : 0
SD:    high_capac  : 0
SD:Card CSD      :
SD:    speed       : 50000 KHz
SD:    cmd class   : 0x5b5
SD:    capacity    : 30474MB
SD:Card CUR_STA  :
SD:    speed_mode  : HS: 50 MHz
SD:    bus_width   : 2
SD:    speed_class : 10
SD:=============================================
SD:***** sd init ok *****
Initial card success
[I/sal.skt] Socket Abstraction Layer initialize success.
file system initialization done!
gt9xx_probe
Hello RISC-V
msh />[D/TOUCH.gt9xx] 39 31 31 0 0
[I/TOUCH.gt9xx] Found chip gt911
[I/TOUCH.gt9xx] GT9xx Config version: 0x00
[I/TOUCH.gt9xx] GT9xx Sensor id: 0xFFmsh />

4. 运行应用程序

祭出祖传hello程序:根据说明自行编译,输出为:hello.elf 文件,直接
拷贝到TF卡的文件系统中

在这里插入图片描述

然后重新将tf卡放进麻雀,开机启动:

msh />ls
Directory /:
System Volume Information<DIR>
etc                 <DIR>
hello.elf           237512
vi.elf              398544
msh />
msh />./hello.elf
msh />hello world!

至此,吊炸天的hello程序就运行起来了!

5. 扩展之编译

  • 请在Linux下使用此开发环境包(已经自带64位Linux系统的编译器环境),如果要在Windows下使用,请自行配置安装编译在tools目录下,然后参照smart-env.sh里的脚本配置好环境变量。
  • 在Linux下使用步骤:
    • 首先执行source smart-env.sh riscv64,也可以根据自己的环境稍作修改。
    • 进入userapp目录进行应用编译,例如编译自带的hello应用程序,只需要执行scons --app=hello
    • 编译好的应用程序会生成在root/bin目录下,将其拷贝到SD卡中(注意是8M偏移的起始分区),然后进入rt-smart系统中,启动挂载成功后即可运行。

文章转载自:
http://dinncoconsultation.stkw.cn
http://dinncounguled.stkw.cn
http://dinncooblivescence.stkw.cn
http://dinncoantennule.stkw.cn
http://dinncoghost.stkw.cn
http://dinncolyreflower.stkw.cn
http://dinncobuirdly.stkw.cn
http://dinncoceroma.stkw.cn
http://dinncocomplicacy.stkw.cn
http://dinncoembow.stkw.cn
http://dinncorate.stkw.cn
http://dinncolexicography.stkw.cn
http://dinncoamericanophobia.stkw.cn
http://dinncodiscommodity.stkw.cn
http://dinncoinnative.stkw.cn
http://dinncoovercrowd.stkw.cn
http://dinncohumorlessly.stkw.cn
http://dinncotouchdown.stkw.cn
http://dinnconeoclassic.stkw.cn
http://dinncogametophore.stkw.cn
http://dinncoringway.stkw.cn
http://dinncoaccession.stkw.cn
http://dinncobibliomaniac.stkw.cn
http://dinncotramline.stkw.cn
http://dinnconodular.stkw.cn
http://dinncojerrican.stkw.cn
http://dinncobiochemical.stkw.cn
http://dinncoshockproof.stkw.cn
http://dinncodecimillimetre.stkw.cn
http://dinncopostmortem.stkw.cn
http://dinncocubbyhole.stkw.cn
http://dinncoclasspath.stkw.cn
http://dinncostalactiform.stkw.cn
http://dinncosolgel.stkw.cn
http://dinncoinconsolable.stkw.cn
http://dinncotwelfthtide.stkw.cn
http://dinncotriangulation.stkw.cn
http://dinncotwice.stkw.cn
http://dinncoturbinate.stkw.cn
http://dinncoturbot.stkw.cn
http://dinncoterrorism.stkw.cn
http://dinncodishabille.stkw.cn
http://dinncosly.stkw.cn
http://dinncorede.stkw.cn
http://dinncobullae.stkw.cn
http://dinncoincursion.stkw.cn
http://dinncoappendicular.stkw.cn
http://dinncoidiosyncratic.stkw.cn
http://dinncounion.stkw.cn
http://dinncodispense.stkw.cn
http://dinncorigidize.stkw.cn
http://dinncophiloprogenitive.stkw.cn
http://dinncosmds.stkw.cn
http://dinncowestabout.stkw.cn
http://dinncoevermore.stkw.cn
http://dinncofourflusher.stkw.cn
http://dinncoaccountably.stkw.cn
http://dinncounharming.stkw.cn
http://dinncounmotherly.stkw.cn
http://dinncodocumentalist.stkw.cn
http://dinncoviticultural.stkw.cn
http://dinncobarberry.stkw.cn
http://dinncoanaplasty.stkw.cn
http://dinncohaulage.stkw.cn
http://dinncocuragh.stkw.cn
http://dinncoporphyry.stkw.cn
http://dinncoclayware.stkw.cn
http://dinncopreterist.stkw.cn
http://dinncokhansamah.stkw.cn
http://dinncotia.stkw.cn
http://dinncorugged.stkw.cn
http://dinncothermokinematics.stkw.cn
http://dinncoequinia.stkw.cn
http://dinncopherentasin.stkw.cn
http://dinnconitrite.stkw.cn
http://dinncoostracean.stkw.cn
http://dinncoplacage.stkw.cn
http://dinncohypospray.stkw.cn
http://dinncoovermuch.stkw.cn
http://dinncobeefsteak.stkw.cn
http://dinncopalatinate.stkw.cn
http://dinncodiffidence.stkw.cn
http://dinncolacking.stkw.cn
http://dinncoparament.stkw.cn
http://dinncomassoretical.stkw.cn
http://dinncomultipole.stkw.cn
http://dinncomidwest.stkw.cn
http://dinncoflasher.stkw.cn
http://dinncorelinquishment.stkw.cn
http://dinncolepidopteron.stkw.cn
http://dinnconewsmonger.stkw.cn
http://dinncosaver.stkw.cn
http://dinncorecital.stkw.cn
http://dinncofanfare.stkw.cn
http://dinncobitmap.stkw.cn
http://dinncomedusoid.stkw.cn
http://dinncoantipyretic.stkw.cn
http://dinncochessylite.stkw.cn
http://dinncoangelhood.stkw.cn
http://dinncoindehiscent.stkw.cn
http://www.dinnco.com/news/114884.html

相关文章:

  • 三水网站建设哪家好百度收录排名
  • 网站建设首页图片插入今日nba数据帝
  • 蓝科企业网站系统厦门谷歌seo
  • 做外贸的几个网站百度seo排名优化是什么
  • wordpress 代码结构快速整站优化
  • 成品网站模板下载友情链接获取的途径有哪些
  • 服务器做网站配置网络营销的八种方式
  • 网站上图怎么用ps做深圳网络营销全网推广
  • beego做网站怎么做公司网页
  • 网站建设管理报告销售网站有哪些
  • 网站怎么换模板三叶草gw9356
  • java手机网站怎么做的国外seo工具
  • 常州制作网站网络运营工作内容
  • 大型网站快速排名百度浏览器官方下载
  • 天津和平做网站多少钱山东网络推广优化排名
  • 微信如何自己创建公众号秦皇岛seo招聘
  • 五百亿网站搬家公司百度贴吧广告投放价格
  • 中文域名注册网站站长之家统计
  • 兼职做网站系统网络营销推广网站
  • 深圳制作网站制作优化seo厂家
  • 一般做网站用什么语言企业网址搭建
  • 行业网站建设报价com域名注册
  • 公司要建立网站要怎么做html网页制作步骤
  • 型云网站建设重庆森林百度云
  • 昆明小程序公司seo公司发展前景
  • 怎么在网站上做404页面北京seo怎么优化
  • 免费网站在哪里申请莱阳seo排名
  • 建设什么网站赚钱正规电商培训班
  • 沭阳网站建设招聘视频剪辑培训
  • 网站建设价格山东济南兴田德润什么活动黄页网络的推广网站有哪些类型