需要开发啥?移植?
在IPQ4019上做openwrt,可能要适配wifi驱动
一定程度的开发,后面应该需要长期维护
解决了,其实是因为代码的设备树设置了WAN口挂在GMAC2上,设备树名字是gmac1。
尔我硬件上把GE2相关引脚做了GPIO,干扰了内部GMAC2工作。
]]>再用NuWriter 连接时,会输出 DDR-OK。
但连接上一下后,立刻就断开了,再连接,串口就没有输出了。
请问,此问题的原因可能是什么?
16M RAM 有点艰难,
禁用大部分服务或许可以跑 kernel...
0A
[ 0.523542] printk: console [ttyS0] enabled
[ 0.523542] printk: console [ttyS0] enabled
[ 0.540018] printk: bootconsole [early0] disabled
[ 0.540018] printk: bootconsole [early0] disabled
[ 0.559298] 10000d00.uart1: ttyS1 at MMIO 0x10000d00 (irq = 29, base_baud = 2500000) is a 16550A
[ 0.578312] spi-mt7621 10000b00.spi: sys_freq: 193333333
[ 0.605792] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 0.615337] mtd: spi0.0: partitioning exceeds flash size, truncating
[ 0.627921] mtd: spi0.0: skipping zero sized partition
[ 0.638093] mtd: spi0.0: partitioning exceeds flash size, truncating
[ 0.650672] mtd: spi0.0: skipping zero sized partition
[ 0.660847] 4 cmdlinepart partitions found on MTD device spi0.0
[ 0.672569] Creating 4 MTD partitions on "spi0.0":
[ 0.682081] 0x000000000000-0x000000030000 : "u-boot"
[ 0.692905] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.704401] 0x000000040000-0x000000050000 : "art"
[ 0.714768] 0x000000050000-0x000001000000 : "firmware"
[ 0.727069] libphy: Fixed MDIO Bus: probed
[ 0.748500] rt3050-esw 10110000.esw: link changed 0x00
[ 0.759933] mtk_soc_eth 10100000.ethernet: generated random MAC address 16:6c:2c:86:f4:08
[ 0.776932] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.793539] PPP generic driver version 2.4.2
[ 0.802276] usbcore: registered new interface driver qmi_wwan
[ 0.813768] usbcore: registered new interface driver cdc_wdm
[ 0.825209] usbcore: registered new interface driver usbserial_generic
[ 0.838241] usbserial: USB Serial support registered for generic
[ 0.850229] usbcore: registered new interface driver option
[ 0.861345] usbserial: USB Serial support registered for GSM modem (1-port)
[ 0.903095] NET: Registered protocol family 10
[ 0.915133] Segment Routing with IPv6
[ 0.922609] NET: Registered protocol family 17
[ 0.931475] 8021q: 802.1Q VLAN Support v1.8
[ 0.942915] Too few erase blocks (1)
[ 0.950085] List of all partitions:
[ 0.957007] 1f00 192 mtdblock0
[ 0.957011] (driver?)
[ 0.969961] 1f01 64 mtdblock1
[ 0.969963] (driver?)
[ 0.982909] 1f02 64 mtdblock2
[ 0.982912] (driver?)
[ 0.995862] 1f03 16064 mtdblock3
[ 0.995864] (driver?)
[ 1.008803] No filesystem could mount root, tried:
[ 1.008805] squashfs
[ 1.018461] jffs2
[ 1.022954]
[ 1.029870] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 1.046402] Rebooting in 1 seconds..
不是很懂a
如果是芯片内带CPU,那有SDK就有全套了
如果是芯片只有switch,通过SMII2C/MDCMDIO操作,那有SDK也没什么可搞的LZ总得说下问题在哪;而且自己搞一套比成品交换机能有什么优势
发不了你邮箱,那你直接加我吧。a15850507237
]]>ethernet的模拟也实现了,但是不一定正确,因为没有资料,这个实现是对着uboot的驱动实现的,uboot里面可以使用网络功能了
下一步就是理解一下Linux内核的网络驱动代码,然后给ethernet的模拟加上中断支持
不过在此之前准备实现一下i2c控制器
]]>
工业路由芯片,有木有?
NXP LS系列
]]>