0

回答

怎么看Qt开始收费这件事儿

莱克迷KW 17:32 阅读:10

0

回答

如题,能否将一般的实时操作系统也改成类似于Linux实时态和用户态,然后通过中间的Ioctrl来调用?有熟悉嵌入式操作系统的大神试过没?该怎么实现?结合CPU的异常等级(特权)?如何切换硬件层面的CPU的特权等级?

沃尔夫斯堡的羊 2021-03-05 阅读:26

0

回答

在AM3358平台移植Uboot(ver=U-Boot 2018.07)以太网可以识别但是ping不通: U-Boot 2018.07 (Feb 28 2021 - 18:59:04 -0800) WJP F:arch/arm/mach-omap2/am33xx/sys_info.cL:130 CPU  : AM335X-GP rev 2.1 Model: TI AM335x EVM-SK DRAM:  256 MiB F:common/board_r.cL:423board_init_r start F:common/board_r.cL:423board_init_r end WJP F:board/ti/am335x/board.c L:636 F:board_init start: WJP F:board/ti/am335x/board.c L:718 F:board_init end: F:commooard_r.cL:403NAND:  128 MiB F:commooard_r.cL:423 MMC:   OMAP SD/MMC: 0 OMAP SD/MMC: 1 Loading Environment from FAT... Unable to use mmc 0:1... Failed (-5) No USB device found <ethaddr> not set. Validating first E-fuse MAC Net:   eth0: ethernet@4a100000 Hit any key to stop autoboot:  0 => setenv ipaddr 172.30.131.12 => setenv serverip 172.30.131.200 => printenv arch=arm args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype} baudrate=115200 board=am335x boot_a_script=load ${devtype} ${devnum}{distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}{distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi boot_extlinux=sysboot ${devtype} ${devnum}{distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf boot_fdt=try boot_fit=0 boot_net_usb_start=usb start boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_targets=mmc0 legacy_mmc0 mmc1 legacy_mmc1 nand0 pxe dhcp bootcmd=if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00010:UNDI:003000;setenv bootp_arch 0xa;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci; bootcmd_legacy_mmc0=setenv mmcdev 0; setenv bootpart 0:2 ; run mmcboot bootcmd_legacy_mmc1=setenv mmcdev 1; setenv bootpart 1:2 ; run mmcboot bootcmd_mmc0=setenv devnum 0; run mmc_boot bootcmd_mmc1=setenv devnum 1; run mmc_boot bootcmd_nand=run nandboot bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi bootcount=6 bootdelay=2 bootdir=/boot bootenvfile=uEnv.txt bootfile=zImage bootm_size=0x10000000 bootpart=0:2 bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr} console=ttyO0115200n8 cpu=armv7 dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1 dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1 dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;kernel part 0 8;rootfs part 0 9 dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000 distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done efi_dtb_prefixes=/ /dtb/ /dtb/current/ envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi; eth1addr=90:70:65:db:2a:7e ethact=ethernet@4a100000 ethaddr=90:70:65:db:2a:7c fdt_addr_r=0x88000000 fdtaddr=0x88000000 fdtcontroladdr=8df1e8f0 fdtfile=undefined findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile am335x-boneblack.dtb; fi; if test $board_name = A335PBGL; then setenv fdtfile am335x-pocketbeagle.dtb; fi; if test $board_name = BBBW; then setenv fdtfile am335x-boneblack-wireless.dtb; fi; if test $board_name = BBG1; then setenv fdtfile am335x-bonegreen.dtb; fi; if test $board_name = BBGW; then setenv fdtfile am335x-bonegreen-wireless.dtb; fi; if test $board_name = BBBL; then setenv fdtfile am335x-boneblue.dtb; fi; if test $board_name = A33515BB; then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfile am335x-evmsk.dtb; fi; if test $board_name = A335_ICE; then setenv fdtfile am335x-icev2.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi; finduuid=part uuid mmc ${bootpart} uuid fit_bootfile=fitImage fit_loadaddr=0x87000000 importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize} init_console=if test $board_name = A335_ICE; then setenv console ttyO3115200n8;else setenv console ttyO0115200n8;fi; ipaddr=172.30.131.12 kernel_addr_r=0x82000000 load_efi_dtb=load ${devtype} ${devnum}{distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile} loadaddr=0x82000000 loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile} loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile}; loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile} loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi; mmcdev=0 mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; mmcrootfstype=ext4 rootwait mtdids=nand0=nand.0 mtdparts=mtdparts=nand.0:128k(NAND.SPL)128k(NAND.SPL.backup1)128k(NAND.SPL.backup2)128k(NAND.SPL.backup3)256k(NAND.u-boot-spl-os)1m(NAND.u-boot)128k(NAND.u-boot-env)128k(NAND.u-boot-env.backup1)8m(NAND.kernel)-(NAND.file-system) nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype} nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${fdtaddr} nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system2048 nandrootfstype=ubifs rootwait=1 netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}{rootpath}${nfsopts} rw ip=dhcp netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr} netloadfdt=tftp ${fdtaddr} ${fdtfile} netloadimage=tftp ${loadaddr} ${bootfile} nfsopts=nolock partitions=uuid_disk=${uuid_gpt_disk};name=bootloaderstart=384Ksize=1792Kuuid=${uuid_gpt_bootloader};name=rootfsstart=2688Ksize=-uuid=${uuid_gpt_rootfs} pxefile_addr_r=0x80100000 ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype} ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr} ramdisk_addr_r=0x88080000 ramroot=/dev/ram0 rw ramrootfstype=ext2 rdaddr=0x88080000 rootpath=/export/rootfs scan_dev_for_boot=echo Scanning ${devtype} ${devnum}{distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}{distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}{distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}{distro_bootpart} efi/boot/bootarm.efi; then echo Found EFI removable media binary efi/boot/bootarm.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile scan_dev_for_extlinux=if test -e ${devtype} ${devnum}{distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo script FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo script FAILED: continuing...; fi; done scriptaddr=0x80000000 serial#=90:70:65:db:2a:7c serverip=172.30.131.200 soc=am33xx spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype} spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr} spibusno=0 spiimgsize=0x362000 spiroot=/dev/mtdblock4 rw spirootfstype=jffs2 spisrcaddr=0xe0000 static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:ff stderr=serial@44e09000 stdin=serial@44e09000 stdout=serial@44e09000 update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile} usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi vendor=ti ver=U-Boot 2018.07 (Feb 28 2021 - 18:59:04 -0800) Environment size: 9886/131068 bytes => ping 172.30.131.200 link up on port 0 speed 100 full duplex Using ethernet@4a100000 device ARP Retry count exceeded; starting again ping failed; host 172.30.131.200 is not alive =>

mingming 2021-03-04 阅读:22

1

回答

在不带的MMU的MCU上运行嵌入式实时操作系统,如uCos,,可以直接访问寄存器么?在支持MMU的CPU上运行实时操作系统,可以直接访问CPU寄存器么?如能,这时访问的寄存器,需不需奥考虑虚实转换?LInux内核开发过程中可以直接访问CPU的寄存器么

沃尔夫斯堡的羊 2021-03-04 阅读:27

2

回答

   目前因为内部RAM空间不足,想将在内不定义的结构体定义到外部SDRAM中,用__attribute__((at(0xC0300000))); 发现总是会进入到硬件异常中,请教各位大佬有没有什么其它办法? 如:   typedef struct testData { float a[1000]; float b[1000]; float c[1000]; ... }TestData_t; TestData_t testData_t  __attribute__((at(0xC0300000)));   // 会进入硬件异常

hehexi 2021-03-02 阅读:25

0

回答

qt警告libpng warning: iCCP: known incorrect sRGB profile

莱克迷KW 2021-03-01 阅读:10

0

回答

Qt When executing step "Make"错误,怎么修改

莱克迷KW 2021-03-01 阅读:13

0

回答

qt 串口收多少数据才会触发槽函数

莱克迷KW 2021-03-01 阅读:16

2

回答

各位大牛好,小弟请教下怎么在linux中运行我的程序?写了个最简单的获取进程id的函数。 #include <unistd.h> int main() {   printf("my parent 'pid=%d\n"getppid);   return 0; }复制代码 要怎么才能运行打印出我要的结果?谢谢!

qidai 2021-03-01 阅读:15

0

回答

怎么通过加速度值计算倾脚,比如1g/s2怎么知道角度,静态测量角度

yhj416606438 2021-03-01 阅读:16

6

回答

ARM里的ram和SDRAM之间有何区别

雪狼 2021-02-26 阅读:207

3

回答

问题描述:minifly出现如图无法读取芯片内核,一片空白,解决办法:先断开jlink和minifly的连接,然后给minifly上电,再连接j-link 20210225113313.png (64.36 KB 下载次数: 0) 下载附件 昨天 12:02 上传

zzgege 2021-02-26 阅读:31

2

回答

看到正点原子的手持示波器用的是8位的adMXT2088,这么高大上的示波器采用8位的ad?我一直以为起码是24位的ad的,他是如何实现波形测量的,感觉精度不够呀?

耳根的耳根 2021-02-25 阅读:39

1

回答

原子的vs1053b模块, 采用的是 NVIDIA jetson nano 控制, 仿照例程编写的程序。 目前声音播放正常。 但是录音后5倍速播放,应该是数据丢失了。 抓 SPI 波形发现,SPI 速率跟不上,数据包之间间隔太大甚至毫秒级,提升了 SPI 速率现在达到 1 倍速。 第一次使用 vs1053b 模块,请教大神们,怎么设置寄存器降低 vs1053b 的数据采集量。 现在只考虑能正常录音就可以,不考虑音质音效等。

mingming 2021-02-25 阅读:22

2

回答

问下,ARM板移植了不带触摸屏的QT4.8.6后,鼠标使用正常,就是USB键盘使用起来很卡顿,有时候按键都不出来。这是什么情况,是不是移植的时候没配置好啊/etc/profile里的环境变量如下:QT_DIR=/usr/lib/arm-qtexport QT_QWS_FONTDIR=$QT_DIR/lib/fontsexport QT_QWS_DISPLAY="linuxFB:/dev/fb0"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QT_DIR/lib​QT的./configure的具体配置如下: 黑体加粗的部分的配置和键盘有关的./configure -prefix /home/arm-qt \-opensource \-confirm-license \-release -shared \-embedded arm \-xplatform qws/linux-arm-gnueabi-g++ \-fast \-optimized-qmake \-no-pch \-qt-libjpeg \-qt-zlib \-qt-libpng \-qt-freetype \-little-endian \-host-little-endian \-no-qt3support \-no-libtiff \-no-libmng \-no-opengl \-no-mmx \-no-sse \-no-sse2 \-no-3dnow \-no-openssl \-no-webkit \-no-qvfb \-no-phonon \-no-nis \-no-cups \-no-glib \-qt-kbd-linuxinput \  -qt-kbd-tty  \ -no-kbd-qvfb \-nomake tools \-nomake docs \-qt-sql-sqlite \-plugin-sql-sqlite ​​

宫梓萱 2021-02-25 阅读:20

3

回答

为何连续签到25天结果输入邮寄信息提示说到会员中心???

yinxx 2021-02-25 阅读:29

3

回答

搜索引擎的搜索结果多长时间会变一次

一笔之名也 2021-02-24 阅读:31

5

回答

刚接触FreeRTOS,看到的资料基本上都是基于STM32的。 但是由于价格、产能等,目前接触到大多是其他的芯片, 所以想问一下,FreeRTOS适用哪些芯片,或者说,如何判断这颗芯片能否移植FreeRTOS?

大伟 2021-02-24 阅读:49

2

回答

嵌入式系统,以及一些编程语言中如Java/C++中,网络编程模块 以及其它一些二数据传输协议中,为什么会有“流”这样一个概念?其特征是啥?如果以”水流“类比,那么”一串符号“,数据传输过程中都可以叫”流“?“流”与地址有关么

沃尔夫斯堡的羊 2021-02-24 阅读:30

2

回答

在sys.c里有下面开关中断的指令 //关闭所有中断(但是不包括fault和NMI中断) __asm void INTX_DISABLE(void) {         CPSID   I         BX      LR           } //开启所有中断 __asm void INTX_ENABLE(void) {         CPSIE   I         BX      LR   } 这两个指令与__disable_irq    __enable_irq内核自带的函数有什么区别吗?我记得视频里有介绍,可是忘了是哪一集视频了

雪狼 2021-02-22 阅读:25
  • 帮助人数
  • 0
  • 获得赞数
  • 0
  • 一周积分
  • 0

问题达人换一批

本月问答

排名
用户名
问答积分
11
10
12
10
14
4
15
4
16
2
17
2
18
2
19
2
20
2
< 123 >