I have purchased a geekforce board from asiarf and have been sent this file
mt7623.mk and a dts file mt7623-asiaRF-MT7623-N01.dts
My question is how do i incorporate/where do I put them in my build system such that I can build openwrt for this board?
Edit: I have found the location of mt7623.mk file at $Build/target/linux/mediatek/image/mt7623.mk
So I think I should replace the file in this location.
Where do I put the mt7623-asiaRF-MT7623-N01.dts file?
Edit: Dumb questions aside I have built an image for this board, it involved a minor modification to the dts file to prevent duplicate entries provided by the mt7623.dtsi file.
The firmware boot loops, this is the serial console output;
*** U-Boot Boot Menu ***
1. System Load Linux to SDRAM via TFTP.
2. System Load Linux Kernel then write to Flash via TFTP.
3. Boot system code via Flash.
4. System Load Boot Loader then write to Flash via TFTP.
5. System Load Linux Kernel then write to Flash via Serial.
6. System Load Boot Loader then write to Flash via Serial.
U-Boot console
Press UP/DOWN to move, ENTER to select
mmc0 is current device
mmc0 operation
dev_num = 0
MMC read: dev # 0, block # 2560, count 1 ... 1 blocks read: OK
mmc0 operation
dev_num = 0
MMC read: dev # 0, block # 2560, count 6086 ... 6086 blocks read: OK
bootm flag=0, states=70f
## Booting kernel from Legacy Image at 84000000 ...
Image Name: ARM OpenWrt Linux-5.4.109
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3115509 Bytes = 3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.109 (svradmin@mini-server) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16464-e887049fbb)) #0 SMP PREEMPT Fri Apr 9 15:04:57 2021
[ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: AsiaRF MT7623-N01
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 15 pages/cpu s30284 r8192 d22964 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
[ 0.000000] Kernel command line: earlyprintk console=ttyS0,115200 block2mtd.block2mtd=/dev/mmcblk0,65536,eMMC,5 mtdparts=eMMC:256k(mbr)ro,512k(uboot),256k(Config),256k(Factory),16M(firmware),2048M(usrdata),-(bmtpool) rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1027480K/1048576K available (7168K kernel code, 219K rwdata, 1664K rodata, 1024K init, 234K bss, 21096K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x4a4 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000005] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.000017] Switching to timer-based delay loop, resolution 76ns
[ 0.000182] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[ 0.000198] sched_clock: 32 bits at 13MHz, resolution 76ns, wraps every 165191050201ns
[ 0.000494] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.000510] pid_max: default: 32768 minimum: 301
[ 0.000680] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.000697] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001501] CPU: Testing write buffer coherency: ok
[ 0.002435] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.002564] rcu: Hierarchical SRCU implementation.
[ 0.002968] smp: Bringing up secondary CPUs ...
[ 0.004821] smp: Brought up 1 node, 4 CPUs
[ 0.004837] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[ 0.004845] CPU: All CPU(s) started in SVC mode.
[ 0.012281] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[ 0.012655] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.012679] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.012865] pinctrl core: initialized pinctrl subsystem
[ 0.013697] NET: Registered protocol family 16
[ 0.013986] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.014918] No ATAGs?
[ 0.095536] usbcore: registered new interface driver usbfs
[ 0.095594] usbcore: registered new interface driver hub
[ 0.095651] usbcore: registered new device driver usb
[ 0.096264] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.097236] clocksource: Switched to clocksource arch_sys_counter
[ 0.098052] thermal_sys: Registered thermal governor 'step_wise'
[ 0.098475] NET: Registered protocol family 2
[ 0.099205] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.099241] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.099313] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.099426] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.099542] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.099593] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.099841] NET: Registered protocol family 1
[ 0.099878] PCI: CLS 0 bytes, default 64
[ 0.101241] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.106663] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.106678] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.142877] bounce: pool size: 64 pages
[ 0.159285] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.160307] printk: console [ttyS0] disabled
[ 0.180539] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 198, base_baud = 1625000) is a ST16650V2
[ 0.632990] printk: console [ttyS0] enabled
[ 0.637888] mtk_rng 1020f000.rng: registered RNG driver
[ 0.638033] random: fast init done
[ 0.646713] random: crng init done
[ 0.647680] loop: module loaded
[ 0.654183] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[ 0.669758] libphy: Fixed MDIO Bus: probed
[ 0.697206] mtk_soc_eth 1b100000.ethernet: incorrect phy-mode
[ 0.703131] mtk_soc_eth: probe of 1b100000.ethernet failed with error -22
[ 0.711112] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[ 0.716372] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[ 0.726798] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[ 0.735937] xhci-mtk 1a1c0000.usb: irq 202, io mem 0x1a1c0000
[ 0.742503] hub 1-0:1.0: USB hub found
[ 0.746301] hub 1-0:1.0: 1 port detected
[ 0.750636] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[ 0.755871] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[ 0.763298] xhci-mtk 1a1c0000.usb: Host supports USB 3.0 SuperSpeed
[ 0.769650] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.778265] hub 2-0:1.0: USB hub found
[ 0.782046] hub 2-0:1.0: 1 port detected
[ 0.786613] i2c /dev entries driver
[ 0.790696] mtk-thermal 1100b000.thermal: Device not calibrated, using default calibration values
[ 0.800416] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 0.808653] cpu cpu0: dummy supplies not allowed for exclusive requests
[ 0.816823] sdhci: Secure Digital Host Controller Interface driver
[ 0.823041] sdhci: Copyright(c) Pierre Ossman
[ 0.829032] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 111 (MSDC0_DAT7) as part of deactivating group MSDC0_DAT7 - it is already used for some other setting
[ 0.844361] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 112 (MSDC0_DAT6) as part of deactivating group MSDC0_DAT6 - it is already used for some other setting
[ 0.859828] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 113 (MSDC0_DAT5) as part of deactivating group MSDC0_DAT5 - it is already used for some other setting
[ 0.875137] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 114 (MSDC0_DAT4) as part of deactivating group MSDC0_DAT4 - it is already used for some other setting
[ 0.890549] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 118 (MSDC0_DAT3) as part of deactivating group MSDC0_DAT3 - it is already used for some other setting
[ 0.905851] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 119 (MSDC0_DAT2) as part of deactivating group MSDC0_DAT2 - it is already used for some other setting
[ 0.921165] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 120 (MSDC0_DAT1) as part of deactivating group MSDC0_DAT1 - it is already used for some other setting
[ 0.936462] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 121 (MSDC0_DAT0) as part of deactivating group MSDC0_DAT0 - it is already used for some other setting
[ 0.951759] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 116 (MSDC0_CMD) as part of deactivating group MSDC0_CMD - it is already used for some other setting
[ 0.966880] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 117 (MSDC0_CLK) as part of deactivating group MSDC0_CLK - it is already used for some other setting
[ 0.982002] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 115 (MSDC0_RSTB) as part of deactivating group MSDC0_RSTB - it is already used for some other setting
[ 1.022858] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.031358] NET: Registered protocol family 10
[ 1.036651] Segment Routing with IPv6
[ 1.040464] NET: Registered protocol family 17
[ 1.045226] 8021q: 802.1Q VLAN Support v1.8
[ 1.049668] ThumbEE CPU extension supported.
[ 1.054079] Registering SWP/SWPB emulation handler
[ 1.084876] mtk-pcie 1a140000.pcie: host bridge /pcie@1a140000 ranges:
[ 1.091541] mtk-pcie 1a140000.pcie: IO 0x1a160000..0x1a16ffff -> 0x1a160000
[ 1.098837] mtk-pcie 1a140000.pcie: MEM 0x60000000..0x6fffffff -> 0x60000000
[ 1.145881] mmc0: new high speed MMC card at address 0001
[ 1.152366] mmcblk0: mmc0:0001 008G70 7.28 GiB
[ 1.157543] mmcblk0boot0: mmc0:0001 008G70 partition 1 4.00 MiB
[ 1.164052] mmcblk0boot1: mmc0:0001 008G70 partition 2 4.00 MiB
[ 1.170318] mmcblk0rpmb: mmc0:0001 008G70 partition 3 4.00 MiB, chardev (250:0)
[ 1.179742] mmcblk0: p2 p3
[ 1.209126] mtk-pcie 1a140000.pcie: Port0 link down
[ 1.317076] mtk-pcie 1a140000.pcie: Port1 link down
[ 1.425010] mtk-pcie 1a140000.pcie: Port2 link down
[ 1.430065] mtk-pcie 1a140000.pcie: PCI host bridge to bus 0000:00
[ 1.436244] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.441746] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x1a160000-0x1a16ffff])
[ 1.451228] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.459807] PCI: bus0: Fast back to back transfers enabled
[ 1.465807] block2mtd: too many arguments
[ 1.470107] hctosys: unable to open rtc device (rtc0)
[ 1.476216] /dev/root: Can't open blockdev
[ 1.480578] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 1.488137] Please append a correct "root=" boot option; here are the available partitions:
[ 1.496491] b300 7634944 mmcblk0
[ 1.496494] driver: mmcblk
[ 1.503327] b302 1048576 mmcblk0p2 00000000-02
[ 1.503329]
[ 1.510133] b303 2097152 mmcblk0p3 00000000-03
[ 1.510135]
[ 1.516921] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.525179] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 5.4.109 #0
[ 1.531173] Hardware name: Mediatek Cortex-A7 (Device Tree)
[ 1.536754] [<c010ea9c>] (unwind_backtrace) from [<c010b124>] (show_stack+0x10/0x14)
[ 1.544492] [<c010b124>] (show_stack) from [<c07280a8>] (dump_stack+0x84/0x98)
[ 1.551710] [<c07280a8>] (dump_stack) from [<c011c288>] (panic+0x118/0x344)
[ 1.558668] [<c011c288>] (panic) from [<c0a0146c>] (mount_block_root+0x1c8/0x274)
[ 1.566143] [<c0a0146c>] (mount_block_root) from [<c0a01758>] (prepare_namespace+0x158/0x190)
[ 1.574661] [<c0a01758>] (prepare_namespace) from [<c073de30>] (kernel_init+0x8/0x114)
[ 1.582571] [<c073de30>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.590129] Exception stack(0xef071fb0 to 0xef071ff8)
[ 1.595173] 1fa0: 00000000 00000000 00000000 00000000
[ 1.603341] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.611508] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.618122] CPU1: stopping
[ 1.620824] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.109 #0
[ 1.626819] Hardware name: Mediatek Cortex-A7 (Device Tree)
[ 1.632387] [<c010ea9c>] (unwind_backtrace) from [<c010b124>] (show_stack+0x10/0x14)
[ 1.640122] [<c010b124>] (show_stack) from [<c07280a8>] (dump_stack+0x84/0x98)
[ 1.647336] [<c07280a8>] (dump_stack) from [<c010da7c>] (handle_IPI+0x190/0x1bc)
[ 1.654726] [<c010da7c>] (handle_IPI) from [<c045958c>] (gic_handle_irq+0x8c/0x90)
[ 1.662290] [<c045958c>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0xa8)
[ 1.669760] Exception stack(0xef097f78 to 0xef097fc0)
[ 1.674802] 7f60: 00000000 000001cc
[ 1.682972] 7f80: ef6bb2f4 c0114100 ffffe000 c0b04e68 c0b04ea8 00000002 c0b0d008 c08af650
[ 1.691140] 7fa0: 00000000 00000000 00000000 ef097fc8 c0108578 c010857c 60000013 ffffffff
[ 1.699311] [<c0101a8c>] (__irq_svc) from [<c010857c>] (arch_cpu_idle+0x38/0x3c)
[ 1.706700] [<c010857c>] (arch_cpu_idle) from [<c0146d90>] (do_idle+0x10c/0x150)
[ 1.714088] [<c0146d90>] (do_idle) from [<c0147094>] (cpu_startup_entry+0x18/0x1c)
[ 1.721650] [<c0147094>] (cpu_startup_entry) from [<8010252c>] (0x8010252c)
[ 1.728603] CPU2: stopping
[ 1.731305] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.4.109 #0
[ 1.737299] Hardware name: Mediatek Cortex-A7 (Device Tree)
[ 1.742867] [<c010ea9c>] (unwind_backtrace) from [<c010b124>] (show_stack+0x10/0x14)
[ 1.750603] [<c010b124>] (show_stack) from [<c07280a8>] (dump_stack+0x84/0x98)
[ 1.757816] [<c07280a8>] (dump_stack) from [<c010da7c>] (handle_IPI+0x190/0x1bc)
[ 1.765204] [<c010da7c>] (handle_IPI) from [<c045958c>] (gic_handle_irq+0x8c/0x90)
[ 1.772765] [<c045958c>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0xa8)
[ 1.780236] Exception stack(0xef099f78 to 0xef099fc0)
[ 1.785279] 9f60: 00000000 00000274
[ 1.793448] 9f80: ef6ca2f4 c0114100 ffffe000 c0b04e68 c0b04ea8 00000004 c0b0d008 c08af650
[ 1.801616] 9fa0: 00000000 00000000 00000000 ef099fc8 c0108578 c010857c 60000013 ffffffff
[ 1.809785] [<c0101a8c>] (__irq_svc) from [<c010857c>] (arch_cpu_idle+0x38/0x3c)
[ 1.817173] [<c010857c>] (arch_cpu_idle) from [<c0146d90>] (do_idle+0x10c/0x150)
[ 1.824560] [<c0146d90>] (do_idle) from [<c0147094>] (cpu_startup_entry+0x18/0x1c)
[ 1.832120] [<c0147094>] (cpu_startup_entry) from [<8010252c>] (0x8010252c)
[ 1.839071] CPU0: stopping
[ 1.841773] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.109 #0
[ 1.847767] Hardware name: Mediatek Cortex-A7 (Device Tree)
[ 1.853336] [<c010ea9c>] (unwind_backtrace) from [<c010b124>] (show_stack+0x10/0x14)
[ 1.861071] [<c010b124>] (show_stack) from [<c07280a8>] (dump_stack+0x84/0x98)
[ 1.868285] [<c07280a8>] (dump_stack) from [<c010da7c>] (handle_IPI+0x190/0x1bc)
[ 1.875672] [<c010da7c>] (handle_IPI) from [<c045958c>] (gic_handle_irq+0x8c/0x90)
[ 1.883233] [<c045958c>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0xa8)
[ 1.890703] Exception stack(0xc0b01f40 to 0xc0b01f88)
[ 1.895749] 1f40: 00000000 000114b8 ef6ac2f4 c0114100 ffffe000 c0b04e68 c0b04ea8 00000001
[ 1.903918] 1f60: c0b0d008 c08af650 10c5387d 00000000 00000003 c0b01f90 c0108578 c010857c
[ 1.912082] 1f80: 60000013 ffffffff
[ 1.915567] [<c0101a8c>] (__irq_svc) from [<c010857c>] (arch_cpu_idle+0x38/0x3c)
[ 1.922956] [<c010857c>] (arch_cpu_idle) from [<c0146d90>] (do_idle+0x10c/0x150)
[ 1.930343] [<c0146d90>] (do_idle) from [<c0147094>] (cpu_startup_entry+0x18/0x1c)
[ 1.937904] [<c0147094>] (cpu_startup_entry) from [<c0a00e00>] (start_kernel+0x494/0x4a4)
[ 1.946072] [<c0a00e00>] (start_kernel) from [<00000000>] (0x0)
[ 1.951988] Rebooting in 1 seconds..
[USBD] USB PRB0 LineState: 0
[USBD] USB cable/ No Cable inserted!
[PLFM] Keep stay in USB Mode
Platform initialization is ok
wait for frequency meter finish, CLK26CALI = 0x81
mt_pll_post_init: mt_get_cpu_freq = 1040000Khz
wait for frequency meter finish, CLK26CALI = 0x90
mt_pll_post_init: mt_get_bus_freq = 273000Khz
wait for frequency meter finish, CLK26CALI = 0x81
mt_pll_post_init: mt_get_mem_freq = 133250Khz
[PWRAP] pwrap_init_preloader
[PWRAP] pwrap_init
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=0,rdata=2D52
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=1,rdata=800
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=2 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=3 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=4 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=5 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=6 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=7 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] pass,index=8 rdata=5AA5
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=9,rdata=1001
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=10,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=11,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=12,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=13,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=14,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=15,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=16,rdata=B54B
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=17,rdata=2003
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=18,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=19,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=20,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=21,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=22,rdata=6A97
[PWRAP] _pwrap_init_sistrobe [Read Test] fail,index=23,rdata=6A97
[PWRAP] _pwrap_init_reg_clock
[PMIC_WRAP]wrap_init pass,the return value=0.
[pmic6323_init] Preloader Start..................
[pmic6323_init] PMIC CHIP Code = 0x2023
INT_MISC_CON: 1 TOP_RST_MISC: 1
pl pmic powerkey Press
[pmic6323_init] powerKey = 1
[pmic6323_init] is USB in = 0xB004
[pmic6323_init] Reg[0x11A]=0x9B
[pmic6323_init] Done...................
mt7623 disable long press reset ->>>>>
mt7623 disable long press reset <<<<<-
mt7623 VPA supplied by 1.0V to MT7530 ->
mt7623 VPA supplied by 1.0V to MT7530 <-
mt7623 enables RG_VGP1_EN for LCM ->
mt7623 enables RG_VGP1_EN for LCM <-
MT7623 E2 setting =>
MT7623 E2 setting <=
[PLFM] Init I2C: OK(0)
[PLFM] Init PWRAP: OK(0)
[PLFM] Init PMIC: OK(0)
[PLFM] chip[CA00]
[BLDR] Build Time: 20151226-103933
==== Dump RGU Reg ========
RGU MODE: 10
RGU LENGTH: FFE0
RGU STA: 40000000
RGU INTERVAL: FFF
RGU SWSYSRST: 0
==== Dump RGU Reg End ====
RGU: g_rgu_satus:2
mtk_wdt_mode_config mode value=10, tmp:22000010
PL RGU RST: ??
SW reset with bypass power key flag
Find bypass powerkey flag
RGU mtk_wdt_init:MTK_WDT_DEBUG_CTL(590200F3)
kpd read addr: 0x0040: data:0x4004
Enter mtk_kpd_gpio_set!
kpd debug column : 0, 0, 0, 0, 0, 0, 0, 0
kpd debug row : 0, 0, 0, 0, 0, 0, 0, 0
after set KP enable: KP_SEL = 0x0 !
MTK_PMIC_RST_KEY is used for this project!
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=3967
[RTC] get_frequency_meter: input=0x0, ouput=5
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] get_frequency_meter: input=0x0, ouput=0
[RTC] bbpu = 0xD, con = 0x426
[RTC] powerkey1 = 0xA357, powerkey2 = 0x67D2
Writeif_unlock
[RTC] RTC_SPAR0=0x40
rtc_2sec_reboot_check cali=1536
[RTC] irqsta = 0x0, pdn1 = 0x0, pdn2 = 0x201, spar0 = 0x40, spar1 = 0x800
[RTC] new_spare0 = 0x0, new_spare1 = 0x1, new_spare2 = 0x1, new_spare3 = 0x1
[RTC] bbpu = 0xD, con = 0x426, cali = 0x600
SW reset with bypass power key flag
SW reset with bypass power key flag
[PLFM] WDT reboot bypass power key!
[RTC] rtc_bbpu_power_on done
[EMI] mcp_dram_num:0,discrete_dram_num:1,enable_combo_dis:0
[EMI] PCDDR3
[Check]mt_get_mdl_number 0x0
[EMI] eMMC/NAND ID = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[EMI] MDL number = 0
[EMI] emi_set eMMC/NAND ID = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[EMI][Vcore]0x21E=0x48,0x220=0x48
[EMI][Vmem]0x554=0x0
wait for frequency meter finish, CLK26CALI = 0x81
[EMI] PCDDR3 DRAM Clock = 1600012 KHz, MEMPLL MODE = 2
[EMI] PCDDR3 RXTDN Calibration:
Start REXTDN SW calibration...
drvp=0xB,drvn=0x9
[EMI] pinmux = 4
===============================================================================
dramc_write_leveling_swcal
===============================================================================
delay byte0 byte1 byte2 byte3
-----------------------------
0 0 0 0 0
1 0 0 0 0
2 0 0 0 0
3 0 0 0 0
4 0 0 0 0
5 0 0 0 0
6 0 0 0 0
7 0 0 0 0
8 0 0 0 0
9 0 0 0 0
10 0 0 0 0
11 0 0 0 0
12 0 0 0 0
13 0 0 0 0
14 0 0 0 0
15 0 0 0 0
pass bytecount = 0
byte_i status best delay
0 1 0
1 1 0
2 1 0
3 1 0
========================================
[write leveling]DQS: 0x0, DQM: 0x0
[write leveling after remap]DQ byte0 reg: 0x200 val: 0x0
[write leveling after remap]DQ byte1 reg: 0x204 val: 0x0
[write leveling after remap]DQ byte2 reg: 0x208 val: 0x0
[write leveling after remap]DQ byte3 reg: 0x20C val: 0x0
=============================================
X-axis: DQS Gating Window Delay (Fine Scale)
Y-axis: DQS Gating Window Delay (Coarse Scale)
=============================================
0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120
--------------------------------------------------------------------------------
0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0010:| 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1
0011:| 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
0012:| 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0
0013:| 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
0014:| 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Rank 0 coarse tune value selection : 18, 18
18
64
rank 0 coarse = 18
rank 0 fine = 64
00:| 0 0 0 0 0 0 0 0 1 1 1 0
opt_dle value:13
==================================================================
RX DQS perbit delay software calibration
==================================================================
1.0-31 bit dq delay value
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 0 0 0 0 0 0 0 0 0 0
10 | 0 0 0 0 0 0 0 0 0 0
20 | 0 0 0 0 0 0 0 0 0 0
30 | 0 0
--------------------------------------
==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =42 DQS1 = 31 DQS2 =43 DQS3 = 33
==================================================================
bit DQS0 bit DQS1 bit DQS2 bit DQS3
0 (15~57)36 8 (7~49)28 16 (20~57)38 24 (3~49)26
1 (17~61)39 9 (3~49)26 17 (21~62)41 25 (3~52)27
2 (18~66)42 10 (5~50)27 18 (18~58)38 26 (7~54)30
3 (14~58)36 11 (5~44)24 19 (13~57)35 27 (7~53)30
4 (17~60)38 12 (10~50)30 20 (19~63)41 28 (11~56)33
5 (15~54)34 13 (9~46)27 21 (17~57)37 29 (8~47)27
6 (15~58)36 14 (5~51)28 22 (23~63)43 30 (7~53)30
7 (17~55)36 15 (10~52)31 23 (20~62)41 31 (9~53)31
==================================================================
3.dq delay value last
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 6 3 0 6 4 8 6 6 3 5
10 | 4 7 1 4 3 0 5 2 5 8
20 | 2 6 0 2 7 6 3 3 0 6
30 | 3 2
==================================================================
*DQIDLY1 = 0x6000306
*DQIDLY2 = 0x6060804
*DQIDLY3 = 0x7040503
*DQIDLY4 = 0x30401
*DQIDLY5 = 0x8050205
*DQIDLY6 = 0x2000602
*DQIDLY7 = 0x3030607
*DQIDLY8 = 0x2030600
*DRAMC_R0DELDLY = 0x212B1F2A
[MEM]CONA:3122,conf1:F07486A3
DM4BitMux = 1
DQSO 0 in TX per-bit = 0 <= DQSO 0 in WL = 0
DQSO 1 in TX per-bit = 0 <= DQSO 1 in WL = 0
[Warning] DQSO 2 in TX per-bit = 3 > DQSO 2 in WL = 0
DQSO 3 in TX per-bit = 0 <= DQSO 3 in WL = 0
Tx DQM dly = 0x1274
Tx DQM dly bit4 = 0x0
DRAMC_DQODLY1=66569696h
DRAMC_DQODLY2=57774246h
DRAMC_DQODLY3=20331112h
DRAMC_DQODLY4=21213213h
Tx DQ dly bit4 = 0x0
Tx DQS dly = 0x300
Tx DQS dly bit4 = 0x0
TX Byte0: DQ - 18, DQS - 8. win_sum= 25
TX Byte1: DQ - 23, DQS - 8. win_sum= 30
TX Byte2: DQ - 12, DQS - 13. win_sum= 24
TX Byte3: DQ - 17, DQS - 14. win_sum= 30
DRAMC calibration takes 647357574 CPU cycles
[EMI] DRAMC calibration passed
[MEM] complex R/W mem test pass
0:dram_rank_size:40000000
[Dram_Buffer] dram size:1073741824
[Dram_Buffer] structure size: 1725560
[Dram_Buffer] MAX_TEE_DRAM_SIZE: 0
[PLFM] Init Boot Device: OK(0)
[PART] blksz: 512B
[PART] [0x0000000000000000-0x000000000003FFFF] "PRELOADER" (512 blocks)
[PART] [0x0000000000000000-0x000000000003FFFF] "MBR" (512 blocks)
[PART] [0x0000000000040000-0x00000000000BFFFF] "UBOOT" (1024 blocks)
[PART] [0x00000000000C0000-0x00000000000FFFFF] "CONFIG" (512 blocks)
[PART] [0x0000000000100000-0x000000000013FFFF] "FACTORY" (512 blocks)
[PART] [0x0000000000140000-0x000000000213FFFF] "BOOTIMG" (65536 blocks)
[PART] [0x0000000002140000-0x000000000413FFFF] "RECOVERY" (65536 blocks)
[PART] [0x0000000004140000-0x000000004413FFFF] "ROOTFS" (2097152 blocks)
[PART] [0x0000000044140000-0x000001FFC413FFFF] "USER" (-4194304 blocks)
[platform_vusb_on] PASS
[TOOL] PMIC not dectect usb cable!
[TOOL] <UART> listen ended, receive size:0!
[TOOL] <UART> wait sync time 150ms->5ms
[TOOL] <UART> receieved data: ()
Device APC domain init setup:
bootloader load uboot ,the address of uboot is 81E00000
[PART]partition name UBOOT
[PART]partition start block 0x200
[PART]partition size 0x80000
[PART]partition blks 0x400
[PART]partition flags 0x0
[PART]partition name 0x8
[bean] part->startblk(0x200) bdev->blksz(0x200) part->part_id(8) hdr(0xBFB50000)
[BlkDev.c 101 ]partition block size 0x200 ,blks:0xE90000
[BlkDev.c 101 ]partition block erase size 0x200
[PART] Image with part header
[PART] name : LK
[PART] addr : FFFFFFFFh
[PART] size : 192552
[PART] magic: 58881688h
[BlkDev.c 101 ]partition block size 0x200 ,blks:0xE90000
[BlkDev.c 101 ]partition block erase size 0x200
[PART] load "UBOOT" from 0x0000000000040200 (dev) to 0x81E00000 (mem) [SUCCESS]
[PART] load speed: 8546KB/s, 192552 bytes, 22ms
[BT_SD_PG] device info 0x8590 0x8A00 0xCB01 0x102
0:dram_rank_size:40000000
[PLFM] md_type[0] = 0
[PLFM] md_type[1] = 0
[PLFM] boot reason: 4
[PLFM] boot mode: 0
[PLFM] META COM0: 0
[PLFM] <0xBFB7CC10>: 0x0
[PLFM] boot time: 1490ms
[PLFM] DDR reserve mode: enable = 0, success = 0
[BLDR] jump to 0x81E00000
[BLDR] <0x81E00000>=0xEA00000F
[BLDR] <0x81E00004>=0xE59FF014
U-Boot 2014.04-rc1 (Dec 26 2015 - 11:52:13)
DRAM: 1 GiB
WARNING: Caches not enabled
dev_num = 0
***size=4096, offset=1536, blk_start=3, blk_cnt=8
In: serial
Out: serial
Err: serial
dev_num = 0
***size=4096, offset=1536, blk_start=3, blk_cnt=8
bootargs = console=tty0 console=ttyMT2,115200n1 root=/dev/ram lcm=1-hx8392a_vdo_cmd fps=4433 vram=13631488 androidboot.selinux=disabled bootprof.pl_t=1149 bootprof.lk_t=9849 printk.disable_uart=0 boot_reason=0 androidboot.serialno=0123456789ABCDEF androidboot.bootreason=power_key
Net: Eth0
Can anybody advise as to what I have done wrong?