steven2016 发表于 2021-5-3 01:11:13

OK1012A-C 怎么升级到LSDK2012上?

因为项目需要内核版本为5.3以上版本,OK1012A-C开发板中内核版本仍然为4.14,故有两个方式:
1.将OK1012A-C的LSDK升级到2012版本,对于的系统内核版本自然升级到5.4了,那么如果使用LSDK2012去做基础版本编译,板上特定的硬件驱动该如何修改已支持?
2.在现有LSDK1806的基础上仅升级内核版本到最新的5.4,该如何升级?相关依赖是否有变更?
应该选择哪种方式?可否提供对应的修改和编译指导文档,谢谢!

djh 发表于 2021-5-6 11:04:27

抱歉没有相关的文档,
参考建议:需要重新移植板级文件,需要在内核中添加驱动

steven2016 发表于 2021-5-6 11:13:13

djh 发表于 2021-5-6 11:04
抱歉没有相关的文档,
参考建议:需要重新移植板级文件,需要在内核中添加驱动

现有的Forlinx LSDK1806的SDK中哪些部分是板级文件?是否把这些文件对应改到LS2012上就可以了?

djh 发表于 2021-5-6 13:44:41

steven2016 发表于 2021-5-6 11:13
现有的Forlinx LSDK1806的SDK中哪些部分是板级文件?是否把这些文件对应改到LS2012上就可以了?

设备树路径:OK10xx-linux-fs/flexbuild/packages/linux/linux/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
RCW路径:
OK10xx-linux-fs/flexbuild/packages/firmware/rcw/ls1012ardb/R_SPNH_3508/rcw_1000_default.rcw
不能直接用,需要参考我们的设备树对设备的定义来修改;

steven2016 发表于 2021-6-15 02:10:13

按照您提供的方式,更新了LSDK2012中的dts和rcw文件,如附件所示,使用flex-builder -i mkfw -m ls1012ardb -b qspi -c linux来生成uboot使用flex-builder -i mkrfs生成ubuntu使用flex-bulider -i mkbootpartition -a arm64生成引导文件之后使用flex-installer 将文件安装盘中,启动道bmu_init后卡住,日志如下

U-Boot 2018.03 (Feb 25 2019 - 03:16:08 +0000)
SoC:LS1012A Rev2.0 (0x87040120)Clock Configuration:       CPU0(A53):1000 MHz       Bus:      250MHzDDR:      1000 MT/sReset Configuration Word (RCW):       00000000: 0800000a 00000000 00000000 00000000       00000010: 35080000 c000000c 40000000 00001800       00000020: 00000000 00000000 00000000 00014572       00000030: 00000000 1082a120 00000096 00000000I2C:   readyDRAM:446 MiBds2460 write secret okUsing SERDES1 Protocol: 13576 (0x3508)PPA Firmware: Version LSDK-18.06-ForlinxSEC Firmware: 'loadables' present in configloadables: 'trustedOS@1'WARNING: Calling __hwconfig without a buffer and before environment is readyMMC:   FSL_SDHC: 0, FSL_SDHC: 1Loading Environment from SPI Flash... SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiBOKIn:    serialOut:   serialErr:   serialModel: OK1012-CBoard: OK1012-CSATA link 0 timeout.AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA modeflags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst Found 0 device(s).SCSI:Net:   PFE class pe firmwarePFE tmu pe firmwarepfe_configure_serdes 0eth0: pfe_eth0, eth1: pfe_eth1Hit any key to stop autoboot:0 Stopping PFE...starting USB...USB0:   Register 200017f NbrPorts 2Starting the controllerUSB XHCI 1.00scanning bus 0 for devices... 2 USB Device(s) found       scanning usb for storage devices... 1 Storage Device(s) found
Device 0: Vendor: PNY      Rev: PMAP Prod: USB 3.0 FD                  Type: Removable Hard Disk            Capacity: 15112.0 MB = 14.7 GB (30949376 x 512)... is now current deviceScanning usb 0:1...Scanning usb 0:2...Found U-Boot script /ls1012ardb_boot.scr962 bytes read in 638 ms (1000 Bytes/s)## Executing script at 80000000** Invalid partition 4 **36950528 bytes read in 885 ms (39.8 MiB/s)14798 bytes read in 131 ms (109.4 KiB/s)## Flattened Device Tree blob at 90000000   Booting using the fdt blob at 0x90000000   Using Device Tree in place at 0000000090000000, end 00000000900069cdWARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUNDPCIe0: pcie@3400000 Root Complex: no link
Starting kernel ...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [    0.000000] Linux version 5.4.47-dirty (root@steven-virtual-machine) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #1 SMP PREEMPT Tue Jun 15 00:19:07 CST 2021[    0.000000] Machine model: LS1012A RDB Board[    0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')[    0.000000] printk: bootconsole enabled[    0.000000] efi: Getting EFI parameters from FDT:[    0.000000] efi: UEFI not found.[    0.000000] cma: Failed to reserve 320 MiB[    0.000000] NUMA: No NUMA configuration found[    0.000000] NUMA: Faking a node at [    0.000000] NUMA: NODE_DATA [    0.000000] Zone ranges:[    0.000000]   DMA32    [    0.000000]   Normal   empty[    0.000000] Movable zone start for each node[    0.000000] Early memory node ranges[    0.000000]   node   0: [    0.000000] Initmem setup node 0 [    0.000000] psci: probing for conduit method from DT.[    0.000000] psci: PSCIv0.2 detected in firmware.[    0.000000] psci: Using standard PSCI v0.2 function IDs[    0.000000] psci: Trusted OS migration not required[    0.000000] percpu: Embedded 24 pages/cpu s59928 r8192 d30184 u98304[    0.000000] Detected VIPT I-cache on CPU0[    0.000000] CPU features: detected: ARM erratum 845719[    0.000000] Built 1 zonelists, mobility grouping on.Total pages: 112392[    0.000000] Policy zone: DMA32[    0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 root=PARTUUID= rw rootwait[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off[    0.000000] Memory: 389832K/456704K available (18748K kernel code, 2484K rwdata, 8920K rodata, 5888K init, 1001K bss, 66872K reserved, 0K cma-reserved)[    0.000000] rcu: Preemptible hierarchical RCU implementation.[    0.000000] rcu:   RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.[    0.000000]Tasks RCU enabled.[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0[    0.000000] GIC: Using split EOI/Deactivate mode[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x458 with crng_init=0[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns[    0.000004] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns[    0.008662] Console: colour dummy device 80x25[    0.013222] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)[    0.023676] pid_max: default: 32768 minimum: 301[    0.028430] LSM: Security Framework initializing[    0.033154] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)[    0.040538] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)[    0.072464] ASID allocator initialised with 32768 entries[    0.085944] rcu: Hierarchical SRCU implementation.[    0.099788] EFI services will not be available.[    0.112390] smp: Bringing up secondary CPUs ...[    0.116972] smp: Brought up 1 node, 1 CPU[    0.121017] SMP: Total of 1 processors activated.[    0.125768] CPU features: detected: 32-bit EL0 Support[    0.130957] CPU features: detected: CRC32 instructions[    0.146690] CPU: All CPU(s) started at EL2[    0.150842] alternatives: patching kernel code[    0.156561] devtmpfs: initialized[    0.164535] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns[    0.174415] futex hash table entries: 256 (order: 2, 16384 bytes, linear)[    0.181508] xor: measuring software checksum speed[    0.226390]    8regs   :1919.000 MB/sec[    0.270649]    32regs    :2359.000 MB/sec[    0.314906]    arm64_neon:2067.000 MB/sec[    0.319125] xor: using function: 32regs (2359.000 MB/sec)[    0.324581] pinctrl core: initialized pinctrl subsystem[    0.330883] DMI not present or invalid.[    0.335205] NET: Registered protocol family 16[    0.340208] DMA: preallocated 256 KiB pool for atomic allocations[    0.346382] audit: initializing netlink subsys (disabled)[    0.353207] audit: type=2000 audit(0.300:1): state=initialized audit_enabled=0 res=1[    0.365095] cpuidle: using governor menu[    0.369513] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.[    0.377555] Serial: AMBA PL011 UART driver[    0.381822] imx mu driver is registered.[    0.385805] imx rpmsg driver is registered.[    0.392901] Machine: LS1012A RDB Board[    0.396726] SoC family: QorIQ LS1012A[    0.400414] SoC ID: svr:0x87040120, Revision: 2.0[    0.429634] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages[    0.436448] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages[    0.443214] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages[    0.449980] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages[    0.460812] cryptd: max_cpu_qlen set to 1000[    0.545375] raid6: neonx8   gen()1441 MB/s[    0.617792] raid6: neonx8   xor()1316 MB/s[    0.690207] raid6: neonx4   gen()1327 MB/s[    0.762600] raid6: neonx4   xor()1246 MB/s[    0.835024] raid6: neonx2   gen()1031 MB/s[    0.907426] raid6: neonx2   xor()1042 MB/s[    0.979926] raid6: neonx1   gen()   630 MB/s[    1.052338] raid6: neonx1   xor()   733 MB/s[    1.124736] raid6: int64x8gen()   838 MB/s[    1.197133] raid6: int64x8xor()   634 MB/s[    1.269572] raid6: int64x4gen()   911 MB/s[    1.341975] raid6: int64x4xor()   651 MB/s[    1.414369] raid6: int64x2gen()   601 MB/s[    1.486776] raid6: int64x2xor()   516 MB/s[    1.559216] raid6: int64x1gen()   403 MB/s[    1.631652] raid6: int64x1xor()   412 MB/s[    1.635961] raid6: using algorithm neonx8 gen() 1441 MB/s[    1.641408] raid6: .... xor() 1316 MB/s, rmw enabled[    1.646416] raid6: using neon recovery algorithm[    1.651656] ACPI: Interpreter disabled.[    1.659592] iommu: Default domain type: Passthrough [    1.664838] vgaarb: loaded[    1.667910] SCSI subsystem initialized[    1.676027] usbcore: registered new inte**ce driver usbfs[    1.681628] usbcore: registered new inte**ce driver hub[    1.687041] usbcore: registered new device driver usb[    1.693117] i2c i2c-0: IMX I2C adapter registered[    1.698394] mc: Linux media inte**ce: v0.10[    1.702745] videodev: Linux video capture inte**ce: v2.00[    1.708378] pps_core: LinuxPPS API ver. 1 registered[    1.713389] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>[    1.722620] PTP clock support registered[    1.726675] EDAC MC: Ver: 3.0.0[    1.731394] No BMan portals available![    1.735604] QMan: Allocated lookup table at (____ptrval____), entry count 65537[    1.743103] No QMan portals available![    1.747061] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree[    1.757321] FPGA manager framework[    1.760859] Advanced Linux Sound Architecture Driver Initialized.[    1.768227] clocksource: Switched to clocksource arch_sys_counter[    1.774653] VFS: Disk quotas dquot_6.6.0[    1.778680] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)[    1.785818] pnp: PnP ACPI: disabled[    1.795481] thermal_sys: Registered thermal governor 'step_wise'[    1.795485] thermal_sys: Registered thermal governor 'power_allocator'[    1.802000] NET: Registered protocol family 2[    1.813628] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)[    1.822154] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)[    1.830059] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)[    1.837341] TCP: Hash tables configured (established 4096 bind 4096)[    1.843861] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)[    1.850468] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)[    1.857651] NET: Registered protocol family 1[    1.874573] RPC: Registered named UNIX socket transport module.[    1.880595] RPC: Registered udp transport module.[    1.885343] RPC: Registered tcp transport module.[    1.890091] RPC: Registered tcp NFSv4.1 backchannel transport module.[    1.896601] PCI: CLS 0 bytes, default 64[    1.901289] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available[    1.909358] kvm : IPA Size Limit: 40bits[    1.914592] kvm : vgic interrupt IRQ1[    1.918640] kvm : Hyp mode initialized successfully[    1.925560] Initialise system trusted keyrings[    1.930345] workingset: timestamp_bits=44 max_order=17 bucket_order=0[    1.937552] squashfs: version 4.0 (2009/01/31) Phillip Lougher[    1.947857] NFS: Registering the id_resolver key type[    1.953040] Key type id_resolver registered[    1.957276] Key type id_legacy registered[    1.961333] nfs4filelayout_init: NFSv4 File Layout Driver Registering...[    1.968117] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.[    1.974568] fuse: init (API version 7.31)[    1.978770] 9p: Installing v9fs 9p2000 file system support[    1.999769] Key type asymmetric registered[    2.003937] Asymmetric key parser 'x509' registered[    2.008938] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)[    2.020548] io scheduler mq-deadline registered[    2.025156] io scheduler kyber registered[    2.036416] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:[    2.043874] layerscape-pcie 3400000.pcie:    IO 0x4000010000..0x400001ffff -> 0x00000000[    2.052063] layerscape-pcie 3400000.pcie:   MEM 0x4040000000..0x407fffffff -> 0x40000000[    2.060411] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00[    2.067187] pci_bus 0000:00: root bus resource [    2.072728] pci_bus 0000:00: root bus resource [    2.078972] pci_bus 0000:00: root bus resource (bus address )[    2.089621] pci 0000:00:00.0: type 01 class 0x060400[    2.095711] pci 0000:00:00.0: reg 0x38: [    2.102873] pci 0000:00:00.0: supports D1 D2[    2.107186] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot[    2.115254] pci 0000:00:00.0: BAR 6: assigned [    2.122907] pci 0000:00:00.0: PCI bridge to [    2.128485] pcieport 0000:00:00.0: PME: Signaling with IRQ 25[    2.134613] pcieport 0000:00:00.0: AER: enabled with IRQ 24[    2.145559] EINJ: ACPI disabled.[    2.153334] Bus freq driver module loaded[    2.163102] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled[    2.172027] printk: console disabled[    2.176480] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 14, base_baud = 7812500) is a 16550A[    2.185314] printk: console enabled[    2.185314] printk: console enabled[    2.193734] printk: bootconsole disabled[    2.193734] printk: bootconsole disabled[    2.204189] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 14, base_baud = 7812500) is a 16550A[    2.213521] SuperH (H)SCI(F) driver initialized[    2.218617] msm_serial: driver initialized[    2.227152] cacheinfo: Unable to detect cache hierarchy for CPU 0[    2.241171] brd: module loaded[    2.251683] loop: module loaded[    2.269385] imx ahci driver is registered.[    2.273932] ahci-qoriq 3200000.sata: 3200000.sata supply ahci not found, using dummy regulator[    2.282673] ahci-qoriq 3200000.sata: 3200000.sata supply phy not found, using dummy regulator[    2.291278] ahci-qoriq 3200000.sata: 3200000.sata supply target not found, using dummy regulator[    2.300235] ahci-qoriq 3200000.sata: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl platform mode[    2.309224] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst [    2.323613] scsi host0: ahci-qoriq[    2.327354] ata1: SATA max UDMA/133 mmio port 0x100 irq 21[    2.337818] spi-nor spi0.0: found w25q128, expected m25p80[    2.343368] spi-nor spi0.0: w25q128 (16384 Kbytes)[    2.355106] libphy: Fixed MDIO Bus: probed[    2.360141] tun: Universal TUN/TAP device driver, 1.6[    2.366131] thunder_xcv, ver 1.0[    2.369476] thunder_bgx, ver 1.0[    2.372776] nicpf, ver 1.0[    2.375872] Freescale FM module, FMD API version 21.1.0[    2.381294] Freescale FM Ports module[    2.384978] fsl_mac: fsl_mac: FSL FMan MAC API based driver[    2.390671] fsl_dpa: FSL DPAA Ethernet driver[    2.395128] fsl_advanced: FSL DPAA Advanced drivers:[    2.400109] fsl_proxy: FSL DPAA Proxy initialization driver[    2.405778] fsl_oh: FSL FMan Offline Parsing port driver[    2.411822] hclge is initializing[    2.415170] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version[    2.422412] hns3: Copyright (c) 2017 Huawei Corporation.[    2.427806] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI[    2.434875] e1000: Copyright (c) 1999-2006 Intel Corporation.[    2.440675] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k[    2.446523] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.[    2.452509] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k[    2.459488] igb: Copyright (c) 2007-2014 Intel Corporation.[    2.465112] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k[    2.472962] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.[    2.479240] sky2: driver version 1.30[    2.483461] usbcore: registered new inte**ce driver r8152[    2.489010] usbcore: registered new inte**ce driver asix[    2.494474] usbcore: registered new inte**ce driver ax88179_178a[    2.501220] VFIO - User Level meta-driver version: 0.3[    2.511039] dwc3 2f00000.usb3: Failed to get clk 'ref': -2[    2.518625] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver[    2.525219] ehci-pci: EHCI PCI platform driver[    2.529736] ehci-platform: EHCI generic platform driver[    2.535105] ehci-orion: EHCI orion driver[    2.539236] ehci-exynos: EHCI EXYNOS driver[    2.543522] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver[    2.549787] ohci-pci: OHCI PCI platform driver[    2.554306] ohci-platform: OHCI generic platform driver[    2.559702] ohci-exynos: OHCI EXYNOS driver[    2.564411] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller[    2.569974] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1[    2.577783] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010[    2.587260] xhci-hcd xhci-hcd.0.auto: irq 20, io mem 0x02f00000[    2.593976] hub 1-0:1.0: USB hub found[    2.597803] hub 1-0:1.0: 1 port detected[    2.602063] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller[    2.607602] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2[    2.615304] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed[    2.621906] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.[    2.630530] hub 2-0:1.0: USB hub found[    2.634340] hub 2-0:1.0: 1 port detected[    2.638952] usbcore: registered new inte**ce driver usb-storage[    2.648794] ftm-alarm 29d0000.timer: registered as rtc1[    2.654098] ata1: SATA link down (SStatus 0 SControl 300)[    2.660676] i2c /dev entries driver[    2.670021] imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)[    2.677760] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver[    2.685020] sdhci: Secure Digital Host Controller Inte**ce driver[    2.691281] sdhci: Copyright(c) Pierre Ossman[    2.696163] Synopsys Designware ** Card Inte**ce Driver[    2.703075] sdhci-pltfm: SDHCI platform and OF driver helper[    2.739701] mmc0: SDHCI controller on 1560000.esdhc using ADMA 64-bit[    2.778237] mmc1: SDHCI controller on 1580000.esdhc using ADMA 64-bit[    2.788092] ledtrig-cpu: registered to indicate activity on CPUs[    2.796129] usbcore: registered new inte**ce driver usbhid[    2.801771] usbhid: USB HID core driver[    2.808072] No fsl,qman node[    2.811102] Freescale USDPAA process driver[    2.815413] fsl-usdpaa: no region found[    2.819351] Freescale USDPAA process IRQ driver[    2.824689] cbus_baseaddr: ffff800013000000, ddr_baseaddr: ffff000003400000, ddr_phys_baseaddr: 83400000, ddr_size: c00000[    2.835815] pfe_hw_init[    2.838296] CLASS version: 20[    2.841379] TMU version: 1011231[    2.844643] BMU1 version: 21[    2.847572] BMU2 version: 21[    2.850574] EGPI1 version: 50[    2.853698] EGPI2 version: 50[    2.856761] HGPI version: 50[    2.859640] HIF version: 10[    2.862472] HIF NOPCY version: 10[    2.865810] bmu_init(1) done[    2.868714] bmu_init(2) done附件
使用飞凌LSDK 1806的固件正常的日志、修改后的dts和rcw文件如附件所示。请问是其他地方还需要修改吗?还是说需要更新Uboot才可以支持LSDK2012版本的固件?

djh 发表于 2021-6-15 09:50:35

steven2016 发表于 2021-6-15 02:10
按照您提供的方式,更新了LSDK2012中的dts和rcw文件,如附件所示,使用flex-builder -i mkfw -m ls1012ardb ...

关于支持LSDK2012版本的固件的问题,抱歉我们没办法给您提供技术支持了,需要您自己来找解决方案。

steven2016 发表于 2021-6-15 10:28:48

djh 发表于 2021-6-15 09:50
关于支持LSDK2012版本的固件的问题,抱歉我们没办法给您提供技术支持了,需要您自己来找解决方案。

提供一个思路,或是步骤?
是当前uboot的限制,需要刷新的uboot,还是说目前修改的地方不够,还需要修改哪些地方?LSDK的User Guide看了几遍了,按理按照ls1012ardb的步骤去做就能出来的呀。

djh 发表于 2021-6-15 13:40:09

steven2016 发表于 2021-6-15 10:28
提供一个思路,或是步骤?
是当前uboot的限制,需要刷新的uboot,还是说目前修改的地方不够,还需要修改 ...

uboot也是需要修改的

fuenf 发表于 2021-7-20 00:51:55

lsdk2012直接生成的Image内核文件是可以直接刷的。但我这里想用vpp,旧的lsdk1806似乎没办法编译进去,新版本编译出来的rfs都是tgz的压缩包,用mkext4fs都已经没办法生成img了,不知道uboot怎么修改到新版本的lsdk里。。

djh 发表于 2021-7-20 08:49:05

fuenf 发表于 2021-7-20 00:51
lsdk2012直接生成的Image内核文件是可以直接刷的。但我这里想用vpp,旧的lsdk1806似乎没办法编译进去,新版 ...

目前只能给您提供uboot二进制bin文件的位置:build/firmware/u-boot/ls10xxardb/uboot_ls10xxardb_qspi.bin;抱歉,目前没有移植过lsdk2012,也没有具体的方法,没办法给您提供更多的建议了;

fuenf 发表于 2021-8-1 16:00:12

这两天试了下,用飞凌uboot没有改dtb的情况下,可以正常跑lsdk2012,但2个rgmii不能正常转发,可能是没有改rcw和dtb的问题。不过我是ok-1046-c2,ls1012可能稍微有点区别。
页: [1]
查看完整版本: OK1012A-C 怎么升级到LSDK2012上?