楼主请问一下你这个问题解决了吗?
qinlinbin 发布的帖子
-
回复: rs485的设备树怎么修改
@awwwwa 你好。这两种设备树的485定义,我在5.4内核和5.10内核中都没有找到响应的定义,请问这是在哪个驱动代码里面实现的呢?我在a40-i的5.10内核,甚至没有找到sunxi-uart.c这个文件,这个正常吗?
-
回复: t113-s3开启多个串口dma问题
@codedogejack123 没有,只是把DMA_SERIAL_BUFFER_SIZE改成了2k,凑合着使用。假如你有解决方法,麻烦分享一下。
-
回复: T113-s3 CAN linux 下已调通
大佬,想问一下,你有测试过80k以下波特率的吗?我试了一下,会报这个错误。
ip link set can0 type can bitrate 50000
sunxi_can 2504000.can can0: bitrate error 8589934.5% too high。你有遇到过吗? -
回复: 通过USB共享使D1s上的tina联网(RNDIS Gadget)
@maihuanyi udc dma(sunxi_udc.c)相关的有bug,问问供应商或者论坛大佬要要补丁。
-
回复: R328-S2使用W25N02问题
@whycanservice 我对比了正常的flash芯片(支持列表里面的),这里也是会打印这个log,到了打印“SPI nand ID: 22aaef 0”之后,log才不一样。我看晕哥在其它帖子上说d1s/d1h支持了W25N02,那这个配置参数能发一下吗?
-
R328-S2使用W25N02问题
我在R328-S2上使用W25N02KVZEIR,在uboot-id.c文件添加这个器件的支持,但是烧录的时候失败了。
日志:
[904]fes begin [906]set pll start [909]set pll end [910]board init ok [912]beign to init dram [915]the chip id is 0x1 [917]the chip id is 0x1 [919]the chip id is 0x1 [922]the chip id is 0x1 [924]the chip id is 0x1 [927]chip id check OK [929][AUTO DEBUG] Bstart detect DDR3... [934][AUTO DEBUG] Bstart detect DDR2... [938][AUTO DEBUG] two rank and full DQ! [942][AUTO DEBUG] DDR2 try success [946][AUTO DEBUG] single rank and full DQ! [951][AUTO DEBUG] rank 0 row = 13 [954][AUTO DEBUG] rank 0 bank = 4 [957][AUTO DEBUG] rank 0 page size = 2 KB [962]DRAM BOOT DRIVE INFO: V0.18 [965]DRAM CLK = 528 MHz [967]DRAM Type = 2 (2:DDR2,3:DDR3) [971]DRAMC read ODT off. [973]DRAM ODT off. [976]DRAM SIZE =64 M [982]DRAM simple test OK. [984]init dram ok U-Boot 2018.05 (Jul 24 2023 - 15:36:42 +0800) Allwinner Technology [03.673]CPU: Allwinner Family [03.675]Model: sun8iw18 I2C: Error, wrong i2c adapter 1 max 1 possible ready [03.682]DRAM: 64 MiB [03.685]Relocation Offset is: 00f0e000 [03.711]secure enable bit: 0 [03.714]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=264Mhz Error, wrong i2c adapter 1 max 1 possible [03.724]gic: normal mode [03.727]flash init start [03.729]workmode = 16,storage type = 0 [03.733]NAND_UbootProbe start [03.735]NB1 : enter phy init [03.738]nand_physic_init [03.745]nand not support! channel 0 chip 0: 03 03 03 03 03 03 03 03 [03.750]nand not support! channel 0 chip 1: 03 03 03 03 03 03 03 03 [03.756]nand not support! channel 0 chip 2: 03 03 03 03 03 03 03 03 [03.762]nand not support! channel 0 chip 3: 03 03 03 03 03 03 03 03 Change PC_Power Mode Select to 1.8V [03.772]nand not support! channel 0 chip 0: 03 03 03 03 03 03 03 03 [03.778]nand not support! channel 0 chip 1: 03 03 03 03 03 03 03 03 [03.784]nand not support! channel 0 chip 2: 03 03 03 03 03 03 03 03 [03.790]nand not support! channel 0 chip 3: 03 03 03 03 03 03 03 03 Change PC_Power Mode Select to 3.3V [03.799] no nand found ! [03.801]nand_physic_init nand_build_nsi error [03.805]nand_physic_init error -1 [03.808]SpiNandHwInit: Start Nand Hardware initializing ..... [03.814]uboot: nand version: 3 6066 20190725 18212019 [03.822]request spi gpio ok! [03.824]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43fa22c8 [03.832]request general tx dma channel ok! [03.836]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43fa22e4 [03.843]request general rx dma channel ok! sclk0_reg_adr: 0x8300030e, src clock: 0xb8003100 sclk0_reg_adr: 0x8300020e, src clock: 0xb8003100 [03.855]SPI nand ID: 22aaef 0 [03.858]SPI nand ID: 22aaef00 0 [03.861]_SearchNandArchi fail [03.864][ERR]SpiNandHwInit: SCN_AnalyzeNandSystem() failed! [03.869]SpiNandHwInit: End Nand Hardware initializing ..... FAIL! [03.875]NB1 : nand phy init fail [03.878]NAND_UbootProbe end: 0xffffffff try nand fail [03.883]unrecognized JEDEC id bytes: ff, ef, aa data abort pc : [<43f28ba2>] lr : [<43f28b85>] reloc pc : [<4301aba2>] lr : [<4301ab85>] sp : 42adac40 ip : 00000007 fp : 43010fd9 r10: 43010fb9 r9 : 42aeda78 r8 : 00000000 r7 : 42b278d0 r6 : 43f6d670 r5 : ffffffed r4 : 42b27908 r3 : 00003000 r2 : 00000001 r1 : 0000000a r0 : c0000000 Flags: Nzcv IRQs on FIQs off Mode SVC_32 Resetting CPU ... resetting ...
id.c
{ .Model = "W25N02KVZEIR", .NandID = {0xef, 0xaa, 0x22, 0xff, 0xff, 0xff, 0xff, 0xff}, .DieCntPerChip = 2, .SectCntPerPage = 4, .PageCntPerBlk = 64, .BlkCntPerDie = 1024, .OobSizePerPage = 64, .OperationOpt = SPINAND_QUAD_READ | SPINAND_QUAD_PROGRAM | SPINAND_DUAL_READ, .MaxEraseTimes = 65000, .EccType = BIT2_LIMIT1_ERR2, .EccProtectedType = SIZE16_OFF4_LEN4_OFF8, .BadBlockFlag = BAD_BLK_FLAG_FRIST_1_PAGE, },
请教一下各位大佬,这是什么问题呢?id.c上的配置信息这样填写正确吗?
-
回复: D1s分别在Tina Linx, Melis修改调试串口实录
大佬,我想问问,kernel阶段串口有输出,但是boot0和uboot阶段没输出,这是哪里没配置好呢
-
t113-s3开启多个串口dma问题
t113-s3开启一个串口的dma,使用正常。但是开启了2个或以上的串口dma的时候,就会报以下错误
[ 30.010846] sun6i-dma 3002000.dma-controller: Failed to alloc lli memory [ 30.016372] uart uart2: get rx dma descriptor failed! [ 30.046740] sun6i-dma 3002000.dma-controller: Failed to alloc lli memory [ 30.049448] uart uart2: get rx dma descriptor failed! [ 52.331275] sun6i-dma 3002000.dma-controller: Failed to alloc lli memory [ 52.334034] uart uart4: get rx dma descriptor failed! [ 52.339180] sun6i-dma 3002000.dma-controller: Failed to alloc lli memory [ 52.341878] uart uart4: get rx dma descriptor failed!
还有就是不开dma的时候,串口在460800及以上波特率就容易丢包,有oe产生。
请问一下,有谁遇到过这些问题吗?可以怎么解决呢? -
回复: 求助,Tina使能一个包后,文件系统没有包含该包的程序
@zhangwei 这个似乎还要make menuconfig-kernel feature,把相应的内核模块选中(选*)。
-
t113-s3,usb开启虚拟网卡问题请教
请教一下各位,t113-s3,开启rndis的时候,可以正常ssh,但是通过scp发送文件的时候,就会出现kernel panic,然后卡死。日志如下。请问有谁遇到过吗?大概是什么问题?可以怎么解决?
root@rtkdev:~# root@rtkdev:~# root@rtkdev:~# root@rtkdev:~# [ 223.031518] page:c6f757c0 refcount:0 mapcount:0 mapping:00000400 index:0x0 compound_mapcount: 0 [ 223.041201] flags: 0x0() [ 223.044021] raw: 00000000 c6f75701 c6f757c4 00000400 00000000 00000000 ffffffff 00000000 [ 223.053010] page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) [ 223.060660] ------------[ cut here ]------------ [ 223.065788] kernel BUG at ./include/linux/mm.h:626! [ 223.071206] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM [ 223.077683] Modules linked in: [ 223.081079] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.61 #4030 [ 223.087945] Hardware name: Generic DT based system [ 223.093277] PC is at put_page_testzero.part.11+0xc/0x14 [ 223.099083] LR is at put_page_testzero.part.11+0xc/0x14 [ 223.104887] pc : [<c01c3cc8>] lr : [<c01c3cc8>] psr: 600b0193 [ 223.111849] sp : c0c01d50 ip : 00000000 fp : c881b004 [ 223.117653] r10: 0000007a r9 : 0000007a r8 : c0c45a2c [ 223.123457] r7 : c571ed88 r6 : 00000000 r5 : c0c45a14 r4 : c571ed80 [ 223.130708] r3 : f3794df9 r2 : f3794df9 r1 : 00010002 r0 : 0000003e [ 223.137963] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 223.145987] Control: 10c5387d Table: 458dc06a DAC: 00000051 [ 223.152374] Process swapper/0 (pid: 0, stack limit = 0x9b7f8f61) [ 223.159046] Stack: (0xc0c01d50 to 0xc0c02000) [ 223.163888] 1d40: c571ed80 c01c59c0 c571ed80 c04f8bf8 [ 223.172980] 1d60: c0c45a14 c571ed80 c571ed80 c0c8fa88 00000001 00000001 c0c45a14 c04f8de4 [ 223.182073] 1d80: c423e342 00000001 00000200 c0c45a14 00000200 c0c45958 c571ed80 600b0113 [ 223.191164] 1da0: 00000001 00000000 c0a1ca7c c04f95d8 c0c45958 c0c45a14 c571ed80 c0c45a14 [ 223.200258] 1dc0: c571ed80 c0c8fa88 00000400 0000027a 00000600 c04f97e0 c69ecd40 c69ecda8 [ 223.209351] 1de0: c0c04e64 c0c00000 c0b2e14b c0c8fa88 c571ed80 c0c45a14 00000001 00000001 [ 223.218442] 1e00: 00000000 00000001 c09eb1dd c04f9b3c c0c45958 c0c8fa88 a00b0193 00000001 [ 223.227532] 1e20: 00000000 c084b510 00000001 c04fa638 00000000 00000033 00000002 00000000 [ 223.236625] 1e40: 00000000 c0c04e08 00000000 c01719e4 c0c75d80 29aaaaab 652ce100 000aba95 [ 223.245716] 1e60: 200b0193 f3794df9 c09c3047 c59102c0 00000000 0000003b c69ecda8 c69ecd40 [ 223.254807] 1e80: c0c01ec0 c0c6363e c099dc71 c015898c c69ecd40 c0c01ec0 00010001 c0c04e08 [ 223.263897] 1ea0: c69ecda8 c69ecd40 c69ecda8 c0c04e64 c0c00000 c0b2e14b c0b2e05c c0158a74 [ 223.272990] 1ec0: 00000000 f3794df9 c69ecd40 c69ecda8 c69ecd54 c0158b00 c69ecd40 c0c05180 [ 223.282082] 1ee0: c69ecd54 c015cf44 00000000 00000000 c6806400 00000001 c0c04e64 c0157cdc [ 223.291174] 1f00: 00000000 c01582c0 c8802000 c0c05180 c0c01f38 c8803000 c0c04e64 c038ed98 [ 223.300264] 1f20: c0107fd8 600b0013 ffffffff c0c01f6c c0c04e64 c01021cc 0000a844 c6eb7774 [ 223.309356] 1f40: 00000000 c0114b80 00000001 c0c04e28 ffffe000 c0c63622 c0c04e64 c0b2f0c0 [ 223.318449] 1f60: c0b2e14b c0b2e05c 0000001f c0c01f88 c0107fe8 c0107fd8 600b0013 ffffffff [ 223.327540] 1f80: 00000051 00000000 00000001 c013dedc 000000cf c0c6c000 c0c04e08 c0c04e00 [ 223.336630] 1fa0: 00000000 c013e1c8 c0b2f0c0 c0b00d04 ffffffff ffffffff 00000000 c0b005dc [ 223.345723] 1fc0: 00000000 c0b2f0c0 f37c49c4 00000000 00000000 c0b00330 00000051 10c0387d [ 223.354815] 1fe0: 00000000 41800000 410fc075 10c5387d 00000000 00000000 00000000 00000000 [ 223.363917] [<c01c3cc8>] (put_page_testzero.part.11) from [<c01c59c0>] (__free_pages+0x14/0x34) [ 223.373593] [<c01c59c0>] (__free_pages) from [<c04f8bf8>] (sunxi_udc_done+0x12c/0x188) [ 223.382403] [<c04f8bf8>] (sunxi_udc_done) from [<c04f8de4>] (pio_read_fifo+0x190/0x1c4) [ 223.391304] [<c04f8de4>] (pio_read_fifo) from [<c04f95d8>] (sunxi_udc_dma_completion+0x1f0/0x2ac) [ 223.401172] [<c04f95d8>] (sunxi_udc_dma_completion) from [<c04f97e0>] (sunxi_udc_read_fifo+0x14c/0x360) [ 223.411617] [<c04f97e0>] (sunxi_udc_read_fifo) from [<c04f9b3c>] (sunxi_udc_handle_ep+0x148/0x160) [ 223.421583] [<c04f9b3c>] (sunxi_udc_handle_ep) from [<c04fa638>] (sunxi_udc_irq+0x5a4/0xd70) [ 223.430970] [<c04fa638>] (sunxi_udc_irq) from [<c015898c>] (__handle_irq_event_percpu+0x44/0x108) [ 223.440840] [<c015898c>] (__handle_irq_event_percpu) from [<c0158a74>] (handle_irq_event_percpu+0x24/0x78) [ 223.451576] [<c0158a74>] (handle_irq_event_percpu) from [<c0158b00>] (handle_irq_event+0x38/0x5c) [ 223.461444] [<c0158b00>] (handle_irq_event) from [<c015cf44>] (handle_fasteoi_irq+0xa0/0x118) [ 223.470925] [<c015cf44>] (handle_fasteoi_irq) from [<c0157cdc>] (generic_handle_irq+0x18/0x28) [ 223.480500] [<c0157cdc>] (generic_handle_irq) from [<c01582c0>] (__handle_domain_irq+0x90/0xa0) [ 223.490178] [<c01582c0>] (__handle_domain_irq) from [<c038ed98>] (gic_handle_irq+0x4c/0x78) [ 223.499467] [<c038ed98>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 223.507782] Exception stack(0xc0c01f38 to 0xc0c01f80) [ 223.513393] 1f20: 0000a844 c6eb7774 [ 223.522486] 1f40: 00000000 c0114b80 00000001 c0c04e28 ffffe000 c0c63622 c0c04e64 c0b2f0c0 [ 223.531578] 1f60: c0b2e14b c0b2e05c 0000001f c0c01f88 c0107fe8 c0107fd8 600b0013 ffffffff [ 223.540674] [<c01021cc>] (__irq_svc) from [<c0107fd8>] (arch_cpu_idle+0x1c/0x38) [ 223.548899] [<c0107fd8>] (arch_cpu_idle) from [<c013dedc>] (do_idle+0xdc/0x12c) [ 223.557028] [<c013dedc>] (do_idle) from [<c013e1c8>] (cpu_startup_entry+0x18/0x20) [ 223.565447] [<c013e1c8>] (cpu_startup_entry) from [<c0b00d04>] (start_kernel+0x3f4/0x490) [ 223.574541] Code: c09a4495 e92d4010 e59f1004 ebffb26e (e7f001f2) [ 223.581311] ---[ end trace 52549e9bcbe5da7d ]--- [ 223.586441] Kernel panic - not syncing: Fatal exception in interrupt [ 223.593514] CPU1: stopping [ 223.596528] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 5.4.61 #4030 [ 223.604938] Hardware name: Generic DT based system [ 223.610270] [<c010e2e4>] (unwind_backtrace) from [<c010a8f0>] (show_stack+0x10/0x14) [ 223.618884] [<c010a8f0>] (show_stack) from [<c07933fc>] (dump_stack+0x7c/0x98) [ 223.626918] [<c07933fc>] (dump_stack) from [<c010c6f8>] (handle_IPI+0xcc/0x168) [ 223.635046] [<c010c6f8>] (handle_IPI) from [<c038edbc>] (gic_handle_irq+0x70/0x78) [ 223.643462] [<c038edbc>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 223.651778] Exception stack(0xc6841f80 to 0xc6841fc8) [ 223.657394] 1f80: 000059f0 c6ec6774 00000000 c0114b80 00000002 c0c04e28 ffffe000 c0c63622 [ 223.666486] 1fa0: c0c04e64 410fc075 00000000 00000000 00000000 c6841fd0 c0107fe8 c0107fd8 [ 223.675572] 1fc0: 60030013 ffffffff [ 223.679452] [<c01021cc>] (__irq_svc) from [<c0107fd8>] (arch_cpu_idle+0x1c/0x38) [ 223.687677] [<c0107fd8>] (arch_cpu_idle) from [<c013dedc>] (do_idle+0xdc/0x12c) [ 223.695803] [<c013dedc>] (do_idle) from [<c013e1c8>] (cpu_startup_entry+0x18/0x20) [ 223.704217] [<c013e1c8>] (cpu_startup_entry) from [<40102c2c>] (0x40102c2c) [ 223.711961] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
-
回复: T113-S3 RTS时序问题
@steelen 楼主,你好。我最近调rtl8821cs的蓝牙。发现开了流控,下载固件的时候就会通讯失败。关了流控就好了。想请教一下,你这个问题解决了吗
-
回复: T113-S3 rgb屏幕调试问题
@whycanservice 时序参数问了屏幕厂家,也没有。相位调了一下没变化。之前是用stm32的fsmc驱动的。发现有rgb,所以看看用t113看能不能驱动。资料太少,还是放弃了。已买其它屏幕。谢谢了。
-
T113-S3 rgb屏幕调试问题
请教各位大佬,你们调试屏幕的时候有出现过图片这个情况吗?这是colorbar显示的效果,其它图片的话就是花屏。这大概是哪里的问题?
另外用逻辑分析仪录得de dclk hsync vsync 的波形,
这是不是这几个时钟完全不对? -
回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)
@whycan 晕哥,你推荐的这个5寸屏幕,lcd的设备树参数可以参考哪里的呢
-
回复: Tina Linux 存储介质切换:eMMC,SPI NAND,SPI NOR,SD Card,SD NAND
想问一下,你第一次发的和第二次发的有什么区别呢?我看了一下,配置好像不一样?
-
回复: t113 spi原厂驱动有问题
@yy_fly 仅供参考!!!spi-sunxi.c文件。
/* reset fifo */ static void spi_reset_fifo(void __iomem *base_addr) { u32 reg_val = readl(base_addr + SPI_FIFO_CTL_REG); u32 poll_time = 0x7ffffff; reg_val |= (SPI_FIFO_CTL_RX_RST|SPI_FIFO_CTL_TX_RST); /* Set the trigger level of RxFIFO/TxFIFO. */ reg_val &= ~(SPI_FIFO_CTL_RX_LEVEL|SPI_FIFO_CTL_TX_LEVEL); reg_val |= (0x20<<16) | 0x20; writel(reg_val, base_addr + SPI_FIFO_CTL_REG); /*添加的内容*/ reg_val = 0; reg_val = readl(base_addr + SPI_FIFO_CTL_REG); while((reg_val & SPI_FIFO_CTL_RX_RST || reg_val & SPI_FIFO_CTL_TX_RST) && --poll_time) reg_val = readl(base_addr + SPI_FIFO_CTL_REG); } static int sunxi_spi_cpu_readl(struct spi_device *spi, struct spi_transfer *t) { struct sunxi_spi *sspi = spi_master_get_devdata(spi->master); void __iomem *base_addr = sspi->base_addr; unsigned rx_len = t->len; /* number of bytes sent */ unsigned char *rx_buf = (unsigned char *)t->rx_buf; unsigned int poll_time = 0x7ffffff; unsigned int i, j; u8 buf[64], cnt = 0; while (rx_len && (--poll_time > 0)) { /* rxFIFO counter */ if (spi_query_rxfifo(base_addr)) { *rx_buf++ = readb(base_addr + SPI_RXDATA_REG); --rx_len; } } /*余下的没改*/ }
-
回复: t113 spi原厂驱动有问题
spi我也遇到过卡死的问题,不是这个大佬的代码,是代理给的代码。resetfifo后,没等reset结束,直接读数据,就会卡死。我把它改成resetfifo后,判断一下reset完成再进行下一步就不会卡死了。
-
回复: 求助:t113 网页文件上传报oom错误
@yuzukitsuru 谢谢大佬。还有个报错,知道是什么问题吗?
[ 1113.186039] kworker/u4:1: page allocation failure: order:0, mode:0xa20(GFP_ATOMIC), nodemask=(null) [ 1113.196258] CPU: 0 PID: 4001 Comm: kworker/u4:1 Tainted: G O 5.4.61 #3572 [ 1113.205250] Hardware name: Generic DT based system [ 1113.210699] Workqueue: brcmf_wq/mmc1:0001:1 brcmf_sdio_dataworker [brcmfmac] [ 1113.218558] [<c010e2e4>] (unwind_backtrace) from [<c010a8f0>] (show_stack+0x10/0x14) [ 1113.227172] [<c010a8f0>] (show_stack) from [<c0788c9c>] (dump_stack+0x7c/0x98) [ 1113.235208] [<c0788c9c>] (dump_stack) from [<c01c3d28>] (warn_alloc+0xa0/0x154) [ 1113.243340] [<c01c3d28>] (warn_alloc) from [<c01c41d4>] (__alloc_pages_nodemask+0x3bc/0x8c4) [ 1113.252727] [<c01c41d4>] (__alloc_pages_nodemask) from [<c01c4748>] (page_frag_alloc+0x4c/0x14c) [ 1113.262505] [<c01c4748>] (page_frag_alloc) from [<c05dbc5c>] (__netdev_alloc_skb+0x100/0x164) [ 1113.272011] [<c05dbc5c>] (__netdev_alloc_skb) from [<bf0005c8>] (brcmu_pkt_buf_get_skb+0x18/0x38 [brcmutil]) [ 1113.283064] [<bf0005c8>] (brcmu_pkt_buf_get_skb [brcmutil]) from [<bf01df04>] (brcmf_sdio_dataworker+0x5a8/0x1b60 [brcmfmac]) [ 1113.295733] [<bf01df04>] (brcmf_sdio_dataworker [brcmfmac]) from [<c012f4f4>] (process_one_work+0x16c/0x20c) [ 1113.306669] [<c012f4f4>] (process_one_work) from [<c012fb00>] (worker_thread+0x230/0x2d4) [ 1113.315768] [<c012fb00>] (worker_thread) from [<c013428c>] (kthread+0x114/0x11c) [ 1113.323995] [<c013428c>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 1113.332022] Exception stack(0xc58a1fb0 to 0xc58a1ff8) [ 1113.337636] 1fa0: 00000000 00000000 00000000 00000000 [ 1113.346729] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1113.355820] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 1113.363330] Mem-Info: [ 1113.365906] active_anon:4309 inactive_anon:131 isolated_anon:0 [ 1113.365906] active_file:6063 inactive_file:6124 isolated_file:0 [ 1113.365906] unevictable:0 dirty:1168 writeback:0 unstable:0 [ 1113.365906] slab_reclaimable:0 slab_unreclaimable:4622 [ 1113.365906] mapped:4266 shmem:178 pagetables:289 bounce:0 [ 1113.365906] free:3452 free_pcp:21 free_cma:1177 [ 1113.402503] Node 0 active_anon:17236kB inactive_anon:524kB active_file:24252kB inactive_file:24496kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:17064kB dirty:4672kB writeback:0kB shmem:712kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no [ 1113.428279] Normal free:13808kB min:1320kB low:1648kB high:1976kB active_anon:17236kB inactive_anon:524kB active_file:24252kB inactive_file:24536kB unevictable:0kB writepending:4672kB present:131072kB managed:110396kB mlocked:0kB kernel_stack:1096kB pagetables:1156kB bounce:0kB free_pcp:84kB local_pcp:24kB free_cma:4708kB [ 1113.460072] lowmem_reserve[]: 0 0 [ 1113.463798] Normal: 367*4kB (UMC) 249*8kB (UMC) 148*16kB (UMC) 86*32kB (UMC) 11*64kB (MC) 8*128kB (UMC) 2*256kB (C) 0*512kB 1*1024kB (C) 1*2048kB (C) 0*4096kB = 13892kB [ 1113.480629] Free pages count per migrate typeat order: 0 1 2 3 4 5 6 7 8 9 10 [ 1113.493836] zone Normal, type Unmovable 1 3 1 4 0 1 0 0 0 0 0 [ 1113.506181] zone Normal, type Movable 363 245 140 73 10 2 0 0 0 0 0 [ 1113.518655] zone Normal, type Reclaimable 0 0 0 0 0 0 0 0 0 0 0 [ 1113.531018] zone Normal, type CMA 3 1 7 9 1 5 2 0 1 1 0 [ 1113.543378] zone Normal, type HighAtomic 0 0 0 0 0 0 0 0 0 0 0 [ 1113.555722] zone Normal, type Isolate 0 0 0 0 0 0 0 0 0 0 0 [ 1113.568071] 12377 total pagecache pages [ 1113.572385] 0 pages in swap cache [ 1113.576187] Swap cache stats: add 0, delete 0, find 0/0 [ 1113.582053] Free swap = 0kB [ 1113.585280] Total swap = 0kB [ 1113.588512] 32768 pages RAM [ 1113.591633] 0 pages HighMem/MovableOnly [ 1113.595932] 5169 pages reserved [ 1113.599445] 4096 pages cma reserved [ 1113.604562] brcmfmac: brcmf_sdio_rxglom: bcm_pkt_buf_get_skb failed, num 6 len 1532 [ 1113.613613] brcmfmac: brcmf_sdio_hdparse: HW header length too long [ 1113.621467] brcmfmac: brcmf_sdio_rxfail: terminate frame
-
求助:t113 网页文件上传报oom错误
网页上传文件的时候,当文件比较大的时候,会报oom错误。
[ 254.140450] interface invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=0 [ 254.140546] CPU: 1 PID: 1600 Comm: interface Tainted: G O 5.4.61 #3198 [ 254.140553] Hardware name: Generic DT based system [ 254.140585] [<c010e2e4>] (unwind_backtrace) from [<c010a8f0>] (show_stack+0x10/0x14) [ 254.140603] [<c010a8f0>] (show_stack) from [<c0788c9c>] (dump_stack+0x7c/0x98) [ 254.140621] [<c0788c9c>] (dump_stack) from [<c01955c0>] (dump_header+0x68/0x240) [ 254.140637] [<c01955c0>] (dump_header) from [<c01959fc>] (oom_kill_process+0x84/0x2b8) [ 254.140653] [<c01959fc>] (oom_kill_process) from [<c01963c4>] (out_of_memory+0x328/0x380) [ 254.140670] [<c01963c4>] (out_of_memory) from [<c01c4580>] (__alloc_pages_nodemask+0x768/0x8c4) [ 254.140690] [<c01c4580>] (__alloc_pages_nodemask) from [<c01ceee8>] (slob_new_pages.constprop.5+0x14/0x68) [ 254.140706] [<c01ceee8>] (slob_new_pages.constprop.5) from [<c01cf7a0>] (kmem_cache_alloc+0x9c/0xac) [ 254.140723] [<c01cf7a0>] (kmem_cache_alloc) from [<c01e2660>] (getname_flags+0x20/0x12c) [ 254.140740] [<c01e2660>] (getname_flags) from [<c01d3e34>] (do_sys_open+0x40/0x164) [ 254.140755] [<c01d3e34>] (do_sys_open) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 254.140765] Exception stack(0xc4377fa8 to 0xc4377ff0) [ 254.140778] 7fa0: 00f7e788 00000000 ffffff9c 00f7e788 00000241 000001b6 [ 254.140791] 7fc0: 00f7e788 00000000 00000004 00000142 00000001 00000001 00000094 00118a0c [ 254.140801] 7fe0: 00000142 beb5c520 b69cfda3 b695eb96 [ 254.140809] Mem-Info: [ 254.140829] active_anon:13342 inactive_anon:4054 isolated_anon:0 [ 254.140829] active_file:403 inactive_file:254 isolated_file:32 [ 254.140829] unevictable:0 dirty:0 writeback:0 unstable:0 [ 254.140829] slab_reclaimable:0 slab_unreclaimable:3402 [ 254.140829] mapped:603 shmem:13933 pagetables:354 bounce:0 [ 254.140829] free:3106 free_pcp:0 free_cma:2067 [ 254.140849] Node 0 active_anon:53368kB inactive_anon:16216kB active_file:1612kB inactive_file:1016kB unevictable:0kB isolated(anon):0kB isolated(file):128kB mapped:2412kB dirty:0kB writeback:0kB shmem:55732kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no [ 254.140871] Normal free:12424kB min:7168kB low:7936kB high:8704kB active_anon:53368kB inactive_anon:16216kB active_file:1352kB inactive_file:1200kB unevictable:0kB writepending:0kB present:131072kB managed:110396kB mlocked:0kB kernel_stack:1160kB pagetables:1416kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:8268kB [ 254.140879] lowmem_reserve[]: 0 0 [ 254.140889] Normal: 298*4kB (UMC) 138*8kB (UMC) 71*16kB (UMC) 33*32kB (UMC) 17*64kB (UMC) 12*128kB (MC) 6*256kB (C) 4*512kB (C) 0*1024kB 1*2048kB (C) 0*4096kB = 12744kB [ 254.140933] Free pages count per migrate typeat order: 0 1 2 3 4 5 6 7 8 9 10 [ 254.140958] zone Normal, type Unmovable 167 92 37 16 5 0 0 0 0 0 0 [ 254.141027] zone Normal, type Movable 130 36 17 6 4 1 0 0 0 0 0 [ 254.141072] zone Normal, type Reclaimable 0 0 0 0 0 0 0 0 0 0 0 [ 254.141096] zone Normal, type CMA 1 10 17 11 8 11 6 4 0 1 0 [ 254.141129] zone Normal, type HighAtomic 0 0 0 0 0 0 0 0 0 0 0 [ 254.141294] zone Normal, type Isolate 0 0 0 0 0 0 0 0 0 0 0 [ 254.141371] 14607 total pagecache pages [ 254.141388] 0 pages in swap cache [ 254.141396] Swap cache stats: add 0, delete 0, find 0/0 [ 254.141408] Free swap = 0kB [ 254.141423] Total swap = 0kB [ 254.141435] 32768 pages RAM [ 254.141440] 0 pages HighMem/MovableOnly [ 254.141447] 5169 pages reserved [ 254.141458] 4096 pages cma reserved [ 254.141472] Tasks state (memory values in pages): [ 254.141482] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name [ 254.141510] [ 1068] 0 1068 2373 92 10240 0 -1000 udevd [ 254.141524] [ 1453] 998 1453 609 45 10240 0 0 dbus-daemon [ 254.141536] [ 1457] 997 1457 451 40 10240 0 0 rpcbind [ 254.141548] [ 1461] 0 1461 672 22 10240 0 0 syslogd [ 254.141560] [ 1464] 0 1464 672 33 8192 0 0 klogd [ 254.141625] [ 1493] 0 1493 672 23 10240 0 0 udhcpd [ 254.141638] [ 1495] 0 1495 967 74 10240 0 -1000 sshd [ 254.141650] [ 1500] 0 1500 7774 578 26624 0 0 httpd [ 254.141662] [ 1501] 0 1501 527 21 10240 0 0 rotatelogs [ 254.141675] [ 1502] 0 1502 440 18 10240 0 0 vsftpd [ 254.141687] [ 1504] 0 1504 7807 572 24576 0 0 httpd [ 254.141699] [ 1507] 0 1507 7807 572 24576 0 0 httpd [ 254.141711] [ 1509] 0 1509 7807 572 24576 0 0 httpd [ 254.141725] [ 1513] 0 1513 359 20 8192 0 0 hciattach [ 254.141739] [ 1550] 0 1550 919 71 10240 0 0 bluetoothd [ 254.141752] [ 1586] 0 1586 863 145 8192 0 0 nmbd [ 254.141765] [ 1592] 0 1592 1305 177 12288 0 0 smbd [ 254.141778] [ 1594] 0 1594 1305 177 12288 0 0 smbd [ 254.141790] [ 1595] 0 1595 5723 69 16384 0 0 btServer [ 254.141803] [ 1596] 0 1596 788 30 10240 0 0 interface_monit [ 254.141814] [ 1600] 0 1600 8374 324 32768 0 0 interface [ 254.141826] [ 1610] 0 1610 672 15 10240 0 0 getty [ 254.141839] [ 1642] 0 1642 768 22 10240 0 0 monitor [ 254.141851] [ 1653] 0 1653 3692 439 12288 0 0 oem_unicore [ 254.141863] [ 1688] 0 1688 1150 76 12288 0 0 hostapd [ 254.141875] [ 1692] 0 1692 5217 16 16384 0 0 gprs [ 254.141888] [ 1693] 0 1693 2877 43 10240 0 0 cmd [ 254.141900] [ 1729] 0 1729 5581 157 16384 0 0 imu2 [ 254.141912] [ 1736] 0 1736 917 68 10240 0 0 uhf-combine [ 254.141924] [ 1751] 0 1751 7240 55 18432 0 0 rtcm_decode [ 254.141936] [ 1752] 0 1752 813 44 10240 0 0 serial2 [ 254.141948] [ 1763] 0 1763 789 50 10240 0 0 hub [ 254.141960] [ 1764] 0 1764 823 44 10240 0 0 cmd [ 254.141972] [ 1766] 0 1766 813 69 10240 0 0 serial2 [ 254.141984] [ 1775] 0 1775 2862 47 10240 0 0 server [ 254.141996] [ 1776] 0 1776 826 45 10240 0 0 cmd [ 254.142008] [ 1785] 0 1785 8932 28 18432 0 0 btNep [ 254.142020] [ 1811] 0 1811 7823 665 24576 0 0 httpd [ 254.142032] [ 1814] 0 1814 7807 573 24576 0 0 httpd [ 254.142044] [ 1886] 0 1886 967 86 10240 0 0 sshd [ 254.142056] [ 1893] 0 1893 672 28 10240 0 0 sh [ 254.142069] [ 1952] 0 1952 7807 570 24576 0 0 httpd [ 254.142082] [ 2221] 0 2221 7774 543 24576 0 0 httpd [ 254.142094] [ 2287] 0 2287 7774 543 24576 0 0 httpd [ 254.142107] [ 2293] 0 2293 7774 543 24576 0 0 httpd [ 254.142119] [ 2294] 0 2294 7774 543 24576 0 0 httpd [ 254.142131] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=httpd,pid=1811,uid=0 [ 254.142171] Out of memory: Killed process 1811 (httpd) total-vm:31292kB, anon-rss:2560kB, file-rss:0kB, shmem-rss:100kB, UID:0 pgtables:24kB oom_score_adj:0 root@rtkdev:~#
有哪位大佬遇到过吗?有什么解决的办法吗?
-
回复: 请教一下各位大佬,t113运行的报错问题
@yuzukitsuru 谢谢大佬。再请教一下,出现这个报错的情况,是将一个分区的文件,解压到另一个分区的时候出现的,两个分区都是fat格式的。储存用的是mmc,这个brcmfxxx是WiFi的驱动。大佬有解决思路或者调试方向可以指引一下吗
-
回复: 请教各位同学,Tina-SDK 如何在uboot下单独更新kernel 设备树文件?
你好,我想问一下。使用新的dtb,那sys_package.cfg要把dtb项去掉吗?
-
请教一下各位大佬,t113运行的报错问题
t113运行某些程序的时候,会出现如下报错,想请教一下各位大佬,这个是什么原因引起的报错
root@rtkdev:~# [ 145.071695] kworker/u4:0: page allocation failure: order:0, mode:0xa20(GFP_ATOMIC), nodemask=(null) [ 145.081872] CPU: 1 PID: 7 Comm: kworker/u4:0 Tainted: G O 5.4.61 #3198 [ 145.090596] Hardware name: Generic DT based system [ 145.096064] Workqueue: brcmf_wq/mmc1:0001:1 brcmf_sdio_dataworker [brcmfmac] [ 145.103943] [<c010e2e4>] (unwind_backtrace) from [<c010a8f0>] (show_stack+0x10/0x14) [ 145.112567] [<c010a8f0>] (show_stack) from [<c0788c9c>] (dump_stack+0x7c/0x98) [ 145.120626] [<c0788c9c>] (dump_stack) from [<c01c3d28>] (warn_alloc+0xa0/0x154) [ 145.128776] [<c01c3d28>] (warn_alloc) from [<c01c41d4>] (__alloc_pages_nodemask+0x3bc/0x8c4) [ 145.138179] [<c01c41d4>] (__alloc_pages_nodemask) from [<c01c4748>] (page_frag_alloc+0x4c/0x14c) [ 145.147965] [<c01c4748>] (page_frag_alloc) from [<c05dbc5c>] (__netdev_alloc_skb+0x100/0x164) [ 145.157485] [<c05dbc5c>] (__netdev_alloc_skb) from [<bf0005c8>] (brcmu_pkt_buf_get_skb+0x18/0x38 [brcmutil]) [ 145.168527] [<bf0005c8>] (brcmu_pkt_buf_get_skb [brcmutil]) from [<bf0210cc>] (brcmf_sdiod_recv_buf+0x18/0x84 [brcmfmac]) [ 145.180847] [<bf0210cc>] (brcmf_sdiod_recv_buf [brcmfmac]) from [<bf01e280>] (brcmf_sdio_dataworker+0x924/0x1b60 [brcmfmac]) [ 145.193420] [<bf01e280>] (brcmf_sdio_dataworker [brcmfmac]) from [<c012f4f4>] (process_one_work+0x16c/0x20c) [ 145.204355] [<c012f4f4>] (process_one_work) from [<c012fb00>] (worker_thread+0x230/0x2d4) [ 145.213470] [<c012fb00>] (worker_thread) from [<c013428c>] (kthread+0x114/0x11c) [ 145.221702] [<c013428c>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 145.229730] Exception stack(0xc682dfb0 to 0xc682dff8) [ 145.235345] dfa0: 00000000 00000000 00000000 00000000 [ 145.244439] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 145.253531] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 145.260966] Mem-Info: [ 145.263524] active_anon:5045 inactive_anon:589 isolated_anon:0 [ 145.263524] active_file:5846 inactive_file:5746 isolated_file:0 [ 145.263524] unevictable:0 dirty:0 writeback:0 unstable:0 [ 145.263524] slab_reclaimable:0 slab_unreclaimable:4351 [ 145.263524] mapped:4875 shmem:1143 pagetables:337 bounce:0 [ 145.263524] free:3101 free_pcp:28 free_cma:1110 [ 145.299810] Node 0 active_anon:20180kB inactive_anon:2356kB active_file:23384kB inactive_file:22984kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:19500kB dirty:0kB writeback:0kB shmem:4572kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no [ 145.325481] Normal free:12464kB min:1320kB low:1648kB high:1976kB active_anon:20180kB inactive_anon:2356kB active_file:23384kB inactive_file:22996kB unevictable:0kB writepending:0kB present:131072kB managed:110396kB mlocked:0kB kernel_stack:1128kB pagetables:1348kB bounce:0kB free_pcp:112kB local_pcp:44kB free_cma:4440kB [ 145.357126] lowmem_reserve[]: 0 0 [ 145.360846] Normal: 220*4kB (UM) 139*8kB (UMC) 107*16kB (UMC) 50*32kB (UM) 16*64kB (MC) 2*128kB (UM) 1*256kB (C) 1*512kB (M) 1*1024kB (M) 0*2048kB 1*4096kB (C) = 12472kB [ 145.377746] Free pages count per migrate typeat order: 0 1 2 3 4 5 6 7 8 9 10 [ 145.390936] zone Normal, type Unmovable 16 7 2 3 0 1 0 0 0 0 0 [ 145.403275] zone Normal, type Movable 201 131 104 47 15 1 0 1 1 0 0 [ 145.415674] zone Normal, type Reclaimable 0 0 0 0 0 0 0 0 0 0 0 [ 145.428012] zone Normal, type CMA 1 0 1 0 1 0 1 0 0 0 1 [ 145.440344] zone Normal, type HighAtomic 0 0 0 0 0 0 0 0 0 0 0 [ 145.452708] zone Normal, type Isolate 0 0 0 0 0 0 0 0 0 0 0 [ 145.465064] 12751 total pagecache pages [ 145.469362] 0 pages in swap cache [ 145.473069] Swap cache stats: add 0, delete 0, find 0/0 [ 145.478912] Free swap = 0kB [ 145.482155] Total swap = 0kB [ 145.485393] 32768 pages RAM [ 145.488505] 0 pages HighMem/MovableOnly [ 145.492807] 5169 pages reserved [ 145.496327] 4096 pages cma reserved [ 145.500771] brcmfmac: brcmf_sdiod_recv_buf: brcmu_pkt_buf_get_skb failed: len 64 [ 145.509196] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -5 [ 145.516081] brcmfmac: brcmf_sdio_rxfail: abort command, terminate frame, send NAK [ 145.528961] brcmfmac: brcmf_sdio_rxglom: descriptor len 3 bad: 0 [ 145.535841] brcmfmac: brcmf_sdio_hdparse: HW header length too long [ 145.543138] brcmfmac: brcmf_sdio_rxfail: terminate frame [ 145.553984] brcmfmac: brcmf_sdio_rxglom: descriptor len 4 bad: 0 [ 145.560965] brcmfmac: brcmf_sdio_hdparse: HW header length too long [ 145.568132] brcmfmac: brcmf_sdio_rxfail: terminate frame [ 145.577710] brcmfmac: brcmf_sdio_rxglom: descriptor len 3 bad: 0 [ 188.156435] EXT4-fs (mmcblk0p8): mounted filesystem with journalled data mode. Opts: data=journal [ 248.364424] reboot_callback(): empty arg [ 248.545523] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 248.625779] [ohci1-controller]: ohci shutdown start [ 248.631469] [ohci1-controller]: ohci shutdown end [ 248.679824] [ehci1-controller]: ehci shutdown start [ 248.685505] [ehci1-controller]: ehci shutdown end [ 249.245330] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown [ 249.276112] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown [ 249.754421] reboot: Restarting system
-
回复: 全志芯片如何提高GPIO触发中断精度?
这个问题之前也遇到过。就普通的按键,有时候会失灵。修改采样时钟为24m就没问题了。配置的上升沿和下降沿触发,难道需要捕获到上升沿和下降沿才会触发中断吗?
-
回复: T113 Tina reboot 无法重启
longon的sdk,也遇到过经常reboot卡死,主要是在充电发热的时候,后面把psci.c里面psci_sys_reset函数的else里面的屏蔽掉,然后就会执行看门狗重启,就不会卡死。也不知道什么问题。