@whycanservice 把rootfs下面的所有分区都注释了就好了
ah669741 发布的帖子
-
回复: t113使用spinandflash作为存储介质往文件系统中复制文件一直提示空间不足
@whycanservice 大佬这种方法行是行,但是太占空间了,我把52.8M文件放入你说的目录中编译打包烧到spinand中,直接占了170.9M,这是怎么计算的,把我52.8M文件删了就65M,有问题
-
回复: t113使用spinandflash作为存储介质往文件系统中复制文件一直提示空间不足
@whycanservice 好的,感谢,我今天看了半天论坛发现squashfs格式文件系统就是只读的,而且是压缩文件,不像ext4格式想改就改
-
回复: t113使用spinandflash作为存储介质往文件系统中复制文件一直提示空间不足
@whycanservice 放到UDISk是可以,但是我想直接放到/lib下,怎么处理?我把rootfs后面的分区全都注释掉,然后给rootfs分配大点空间,用adb导文件提示文件系统是只读的
-
回复: t113使用spinandflash作为存储介质往文件系统中复制文件一直提示空间不足
@whycanservice 没有这个命令fdisk,mount查看不了大小,下面是执行mount后的打印
/dev/root on /rom type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=53024k,nr_inodes=13256,mode=755)
/proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sys on /sys type sysfs (rw,relatime)
/dev/by-name/rootfs_data on /overlay type ubifs (rw,relatime,assert=read-only,ubi=0,vol=7)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/workdir)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/ubi0_8 on /mnt/UDISK type ubifs (rw,relatime,assert=read-only,ubi=0,vol=8)
none on /sys/kernel/debug type debugfs (rw,relatime)
none on /sys/kernel/config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime) -
t113使用spinandflash作为存储介质往文件系统中复制文件一直提示空间不足
我使用的是256Mspinandflash,文件系统设置的是150M
烧录完成后我查看文件系统大小为65.1M
然后使用adb导入一个52.8M文件
adb打印空间不足
65.1M加52.8M不到150M,即使加上其他分区也不回超过150M,为啥一直提示空间不足?
我把rootfs大小设置为200M依旧是这样 -
回复: T113开机LOGO闪烁问题
@lansecd 0001-disp-add-uboot-logo-to-kernel-logo-amooth-ahow-patch包从哪下
-
回复: 芯片为t113,SDK为Tina,问题:我在/sys/devices/platform/soc@3000000/2000c00.pwm/pwm/pwmchip0目录下尝试执行ehco 7 > export,一直提示资源被忙,下面我把out/t113-mq_r/image/.sunxi.dts文件上传,大家帮忙看下是哪里占用了,使用pwm7是PD22引脚
@whycan 找到问题了,lcd背光使用了pwm通道8即pwm7,没有显式得使用PD22,所以一直没找到哪里被占用了,看了其他帖子有人回答说pwm7和lcd绑定了,我一看还真是的,注释掉就好了,总之还是得谢谢晕哥
-
回复: 使用官方烧录工具PhoenixSuit烧录t113镜像到sd卡没成功过,一直是烧录固件失败,打印内容如下
@whycanservice 有个问题SD card 0是sd卡,SD card 1是emmc,SD card 2是spi flash,这个顺序对么
-
使用官方烧录工具PhoenixSuit烧录t113镜像到sd卡没成功过,一直是烧录固件失败,打印内容如下
2222222222[20]HELLO! BOOT0 is starting! [23]BOOT0 commit : adaf1174cc [26]set pll start [32]periph0 has been enabled [35]set pll end [37][pmu]: bus read error [39]board init ok [41]key press : 2 [43]detected_f user input 2 [30622]fes begin commit:adaf1174cc [30625]set pll start [30631]periph0 has been enabled [30634]set pll end [30636][pmu]: bus read error [30638]board init ok [30640]beign to init dram [30643]ZQ value = 0x2e [30645]get_pmu_exist() = -1 [30648]ddr_efuse_type: 0xa [30650]trefi:7.8ms [30653][AUTO DEBUG] single rank and full DQ! [30657]ddr_efuse_type: 0xa [30659]trefi:7.8ms [30662][AUTO DEBUG] rank 0 row = 13 [30665][AUTO DEBUG] rank 0 bank = 8 [30668][AUTO DEBUG] rank 0 page size = 2 KB [30673]DRAM BOOT DRIVE INFO: V0.33 [30676]DRAM CLK = 936 MHz [30678]DRAM Type = 3 (2:DDR2,3:DDR3) [30681]DRAMC read ODT off. [30684]DRAM ODT value: 0x42. [30687]ddr_efuse_type: 0xa [30690]DRAM SIZE =128 M [30692]dram_tpr4:0x0 [30694]PLL_DDR_CTRL_REG:0xf8004d00 [30697]DRAM_CLK_REG:0xc0000000 [30700][TIMING DEBUG] MR2= 0x20 [30704]DRAM simple test OK. [30707]rtc standby flag is 0x0, super standby flag is 0x0 [30712]init dram ok U-Boot 2018.05-g2a1965a (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology [32.287]CPU: Allwinner Family [32.290]Model: sun8iw20 [32.292]DRAM: 128 MiB [32.295]Relocation Offset is: 04ebc000 [32.321]secure enable bit: 0 [32.324]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [32.330]gic: normal mode [32.332]flash init start [32.335]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [32.342][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [32.349][mmc]: Is not Boot mode! [32.352][mmc]: SUNXI SDMMC Controller Version:0x50310 [32.363][mmc]: ************Try SD card 2************ [32.368][mmc]: mmc 2 cmd timeout 100 status 100 [32.373][mmc]: smc 2 err, cmd 8, RTO [32.376][mmc]: mmc 2 close bus gating and reset [32.381][mmc]: mmc 2 cmd timeout 100 status 100 [32.385][mmc]: smc 2 err, cmd 55, RTO [32.389][mmc]: mmc 2 close bus gating and reset [32.393][mmc]: ************Try MMC card 2************ [32.402][mmc]: mmc 2 cmd timeout 100 status 100 [32.406][mmc]: smc 2 err, cmd 1, RTO [32.409][mmc]: mmc 2 close bus gating and reset [32.413][mmc]: Card did not respond to voltage select! [32.418][mmc]: ************SD/MMC 2 init error!************ [32.424][mmc]: mmc init product failed MMC init failed try emmc fail [32.430]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106 [32.436]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217 [32.444]sunxi-spinand-phy: request spi0 gpio ok [32.448]sunxi-spinand-phy: request general tx dma channel ok! [32.453]sunxi-spinand-phy: request general rx dma channel ok! [32.459]sunxi-spinand-phy: set spic0 clk to 20 Mhz [32.463]sunxi-spinand-phy: init spic0 clk ok [33.467]sunxi-spinand-phy: read id failed : -110 try nand fail [33.474]unrecognized JEDEC id bytes: ff, ff, ff data abort pc : [<47efd66c>] lr : [<47efd64f>] reloc pc : [<4304166c>] lr : [<4304164f>] sp : 43e59c28 ip : 0000000d fp : 43000508 r10: 43012be9 r9 : 43e9be70 r8 : 00000102 r7 : 47f72648 r6 : ffffffed r5 : 47f41cec r4 : 43edc680 r3 : 00003000 r2 : 00000001 r1 : c0000000 r0 : 00000030 Flags: Nzcv IRQs on FIQs off Mode SVC_32