[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.47-2.2.0+g5ec03d06f54e (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT Tue Nov 17 07:39:15 UTC 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (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: Freescale i.MX6 UltraLite 14x14 EVK Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: incorrect alignment of CMA region
[ 0.000000] OF: reserved mem: node linux,cma compatible matching fail
[ 0.000000] cma: Reserved 32 MiB at 0x8e000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 56768
[ 0.000000] Kernel command line: console=ttymxc0,115200 ubi.mtd=nandrootfs root=ubi0:rootfs rootfstype=ubifs mtdparts=gpmi-nand:64m(nandboot),16m(nandkernel),16m(nanddtb),16m(nandtee),-(nandrootfs)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 174664K/229376K available (12288K kernel code, 576K rwdata, 4272K rodata, 1024K init, 433K bss, 21944K reserved, 32768K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2c8/0x488 with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000055] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002933] Console: colour dummy device 80x30
[ 0.003005] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.003040] pid_max: default: 32768 minimum: 301
[ 0.003427] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003462] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.005191] CPU: Testing write buffer coherency: ok
[ 0.005929] CPU0: update cpu_capacity 1024
[ 0.005963] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.060598] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.080573] rcu: Hierarchical SRCU implementation.
[ 0.120753] smp: Bringing up secondary CPUs ...
[ 0.120787] smp: Brought up 1 node, 1 CPU
[ 0.120809] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.120828] CPU: All CPU(s) started in SVC mode.
[ 0.121719] devtmpfs: initialized
[ 0.141311] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.142301] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.142352] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.145277] pinctrl core: initialized pinctrl subsystem
[ 0.147783] NET: Registered protocol family 16
[ 0.168243] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.171037] cpuidle: using governor menu
[ 0.189604] vdd3p0: supplied by regulator-dummy
[ 0.190989] cpu: supplied by regulator-dummy
[ 0.192464] vddsoc: supplied by regulator-dummy
[ 0.214119] No ATAGs?
[ 0.214259] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.214295] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.218574] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.221421] imx mu driver is registered.
[ 0.222565] imx rpmsg driver is registered.
[ 0.308053] vgaarb: loaded
[ 0.309996] SCSI subsystem initialized
[ 0.313269] usbcore: registered new interface driver usbfs
[ 0.313409] usbcore: registered new interface driver hub
[ 0.313650] usbcore: registered new device driver usb
[ 0.316976] i2c i2c-0: IMX I2C adapter registered
[ 0.318724] i2c i2c-1: IMX I2C adapter registered
[ 0.319577] mc: Linux media interface: v0.10
[ 0.319696] videodev: Linux video capture interface: v2.00
[ 0.319839] pps_core: LinuxPPS API ver. 1 registered
[ 0.319860] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.319938] PTP clock support registered
[ 0.323020] MIPI CSI2 driver module loaded
[ 0.323155] Advanced Linux Sound Architecture Driver Initialized.
[ 0.324981] Bluetooth: Core ver 2.22
[ 0.325115] NET: Registered protocol family 31
[ 0.325136] Bluetooth: HCI device and connection manager initialized
[ 0.325173] Bluetooth: HCI socket layer initialized
[ 0.325200] Bluetooth: L2CAP socket layer initialized
[ 0.325257] Bluetooth: SCO socket layer initialized
[ 0.326494] clocksource: Switched to clocksource mxc_timer1
[ 0.326946] VFS: Disk quotas dquot_6.6.0
[ 0.327154] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.350670] thermal_sys: Registered thermal governor 'step_wise'
[ 0.351325] NET: Registered protocol family 2
[ 0.352753] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.352843] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.352916] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.353006] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.353226] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.353295] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.353712] NET: Registered protocol family 1
[ 0.385259] RPC: Registered named UNIX socket transport module.
[ 0.385292] RPC: Registered udp transport module.
[ 0.385310] RPC: Registered tcp transport module.
[ 0.385326] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.396819] PCI: CLS 0 bytes, default 64
[ 0.398407] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.400840] OPTEE busfreq Supported
[ 0.401286] Bus freq driver module loaded
[ 0.403741] Initialise system trusted keyrings
[ 0.404321] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.432108] NFS: Registering the id_resolver key type
[ 0.432185] Key type id_resolver registered
[ 0.432205] Key type id_legacy registered
[ 0.432311] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.433570] fuse: init (API version 7.31)
[ 0.521631] Key type asymmetric registered
[ 0.521667] Asymmetric key parser 'x509' registered
[ 0.521735] io scheduler mq-deadline registered
[ 0.521754] io scheduler kyber registered
[ 0.542039] pwm-backlight backlight-display: backlight-display supply power not found, using dummy regulator
[ 0.550354] mxsfb 21c8000.lcdif: 21c8000.lcdif supply lcd not found, using dummy regulator
[ 0.550693] cma: cma_alloc: alloc failed, req-size: 8192 pages, ret: -12
[ 0.550730] mxsfb 21c8000.lcdif: Unable to allocate framebuffer memory
[ 0.550758] mxsfb 21c8000.lcdif: Failed to initialize fbinfo: -12
[ 0.551129] mxsfb: probe of 21c8000.lcdif failed with error -12
[ 0.560787] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.560830] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 0.565222] mxs-dma 1804000.dma-apbh: initialized
[ 0.578162] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 22, base_baud = 5000000) is a IMX
[ 1.326193] printk: console [ttymxc0] enabled
[ 1.333010] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 66, base_baud = 5000000) is a IMX
[ 1.345272] imx sema4 driver is registered.
[ 1.388106] brd: module loaded
[ 1.412129] loop: module loaded
[ 1.418298] imx ahci driver is registered.
[ 1.428660] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[ 1.435066] nand: Micron MT29F2G08ABAEAWP
[ 1.439186] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.448042] Bad block table found at page 131008, version 0x01
[ 1.454221] Bad block table found at page 130944, version 0x01
[ 1.460588] 5 cmdlinepart partitions found on MTD device gpmi-nand
[ 1.466865] Creating 5 MTD partitions on "gpmi-nand":
[ 1.471964] 0x000000000000-0x000004000000 : "nandboot"
[ 1.488530] 0x000004000000-0x000005000000 : "nandkernel"
[ 1.508494] 0x000005000000-0x000006000000 : "nanddtb"
[ 1.528485] 0x000006000000-0x000007000000 : "nandtee"
[ 1.548501] 0x000007000000-0x000010000000 : "nandrootfs"
[ 1.568549] gpmi-nand 1806000.gpmi-nand: driver registered.
[ 1.578799] gpio@0 enforce active low on chipselect handle
[ 1.589245] libphy: Fixed MDIO Bus: probed
[ 1.594764] CAN device driver interface
[ 1.603738] pps pps0: new PPS source ptp0
[ 1.608820] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.615595] fec 20b4000.ethernet: Using random MAC address: 52:9f:6c:9f:86:74
[ 1.623686] libphy: fec_enet_mii_bus: probed
[ 1.628333] mdio_bus 20b4000.ethernet-1: MDIO device at address 2 is missing.
[ 1.635715] mdio_bus 20b4000.ethernet-1: MDIO device at address 1 is missing.
[ 1.644496] fec 20b4000.ethernet eth0: registered PHC device 0
[ 1.653481] pps pps1: new PPS source ptp1
[ 1.658661] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 1.665446] fec 2188000.ethernet: Using random MAC address: 06:c4:ad:fa:fc:9d
[ 1.674780] fec 2188000.ethernet eth1: registered PHC device 1
[ 1.681411] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 1.687360] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.694610] usbcore: registered new interface driver r8152
[ 1.700364] usbcore: registered new interface driver lan78xx
[ 1.706174] usbcore: registered new interface driver asix
[ 1.711770] usbcore: registered new interface driver ax88179_178a
[ 1.718039] usbcore: registered new interface driver cdc_ether
[ 1.724042] usbcore: registered new interface driver smsc95xx
[ 1.729974] usbcore: registered new interface driver net1080
[ 1.735748] usbcore: registered new interface driver cdc_subset
[ 1.741839] usbcore: registered new interface driver zaurus
[ 1.747591] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.755158] usbcore: registered new interface driver cdc_ncm
[ 1.760898] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.767610] ehci-pci: EHCI PCI platform driver
[ 1.772234] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.778529] usbcore: registered new interface driver usb-storage
[ 1.789068] imx_usb 2184000.usb: No over current polarity defined
[ 1.795367] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[ 1.831832] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[ 1.844884] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 1.849960] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 1.886592] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 1.892486] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 1.900869] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.908175] usb usb1: Product: EHCI Host Controller
[ 1.913090] usb usb1: Manufacturer: Linux 5.4.47-2.2.0+g5ec03d06f54e ehci_hcd
[ 1.920298] usb usb1: SerialNumber: ci_hdrc.1
[ 1.926179] hub 1-0:1.0: USB hub found
[ 1.930239] hub 1-0:1.0: 1 port detected
[ 1.950180] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 1.966387] input: iMX6UL Touchscreen Controller as /devices/soc0/soc/2000000.aips-bus/2040000.tsc/input/input1
[ 1.979642] read sensor who am i (0xfffffffa)error !
[ 1.984698] fxls8471: probe of 0-001e failed with error -22
[ 1.995726] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 2.002422] i2c /dev entries driver
[ 2.009931] pxp-v4l2 pxp_v4l2: initialized
[ 2.015174] syscon-poweroff 20cc000.snvs:snvs-poweroff: pm_power_off already claimed (ptrval) psci_sys_poweroff
[ 2.025462] syscon-poweroff: probe of 20cc000.snvs:snvs-poweroff failed with error -16
[ 2.035321] mag3110 0-000e: 0-000e supply vdd not found, using dummy regulator
[ 2.043720] mag3110 0-000e: 0-000e supply vddio not found, using dummy regulator
[ 2.051595] mag3110 0-000e: check mag3110 chip ID
[ 2.056807] mag3110 0-000e: read chip ID 0xfffffffa is not equal to 0xc4!
[ 2.063942] mag3110: probe of 0-000e failed with error -22
[ 2.072809] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 2.080562] Bluetooth: HCI UART driver ver 2.3
[ 2.085064] Bluetooth: HCI UART protocol H4 registered
[ 2.090540] Bluetooth: HCI UART protocol BCSP registered
[ 2.095993] Bluetooth: HCI UART protocol LL registered
[ 2.101374] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.107883] Bluetooth: HCI UART protocol Marvell registered
[ 2.113644] usbcore: registered new interface driver btusb
[ 2.121121] sdhci: Secure Digital Host Controller Interface driver
[ 2.127444] sdhci: Copyright(c) Pierre Ossman
[ 2.131827] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.140630] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 2.176504] random: fast init done
[ 2.193468] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 2.204305] caam 2140000.caam: device ID = 0x0a16030000000000 (Era 8)
[ 2.210933] caam 2140000.caam: job rings = 2, qi = 0
[ 2.246929] caam algorithms registered in /proc/crypto
[ 2.256409] caam 2140000.caam: caam pkc algorithms registered in /proc/crypto
[ 2.267052] caam_jr 2142000.jr1: registering rng-caam
[ 2.272594] Device caam-keygen registered
[ 2.287975] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[ 2.298128] usbcore: registered new interface driver usbhid
[ 2.303748] usbhid: USB HID core driver
[ 2.314181] optee: probing for conduit method from DT.
[ 2.319508] optee: revision 3.10 (b3914e54)
[ 2.320347] optee: dynamic shared memory is enabled
[ 2.330818] optee: initialized driver
[ 2.358315] fsl-sai 202c000.sai: failed to get mclk0 clock: -2
[ 2.376343] debugfs: Directory '202c000.sai' with parent 'wm8960-audio' already present!
[ 2.385201] imx-wm8960 sound-wm8960: wm8960-hifi <-> 202c000.sai mapping ok
[ 2.393667] imx-wm8960 sound-wm8960: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
[ 2.401607] imx-wm8960 sound-wm8960: wm8960-hifi <-> 202c000.sai mapping ok
[ 2.545105] NET: Registered protocol family 26
[ 2.551427] NET: Registered protocol family 10
[ 2.568775] Segment Routing with IPv6
[ 2.572687] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.580492] NET: Registered protocol family 17
[ 2.585014] can: controller area network core (rev 20170425 abi 9)
[ 2.591619] NET: Registered protocol family 29
[ 2.596116] can: raw protocol (rev 20170425)
[ 2.600490] can: broadcast manager protocol (rev 20170425 t)
[ 2.606204] can: netlink gateway (rev 20190810) max_hops=1
[ 2.612368] Bluetooth: RFCOMM TTY layer initialized
[ 2.617565] Bluetooth: RFCOMM socket layer initialized
[ 2.622800] Bluetooth: RFCOMM ver 1.11
[ 2.626681] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.632028] Bluetooth: BNEP filters: protocol multicast
[ 2.637355] Bluetooth: BNEP socket layer initialized
[ 2.642353] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.648440] Bluetooth: HIDP socket layer initialized
[ 2.653548] lib80211: common routines for IEEE802.11 drivers
[ 2.659425] Key type dns_resolver registered
[ 2.690405] Registering SWP/SWPB emulation handler
[ 2.695813] Loading compiled-in X.509 certificates
[ 2.742233] regulator-can-3v3 GPIO handle specifies active low - ignored
[ 2.757605] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[ 2.768258] ubi0: default fastmap pool size: 55
[ 2.772829] ubi0: default fastmap WL pool size: 27
[ 2.777803] ubi0: attaching mtd4
[ 3.425226] ubi0: scanning is finished
[ 3.441346] ubi0: attached mtd4 (name "nandrootfs", size 144 MiB)
[ 3.447979] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.455107] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.461975] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.469045] ubi0: good PEBs: 1148, bad PEBs: 4, corrupted PEBs: 0
[ 3.475161] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 3.482442] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1745808277
[ 3.491667] ubi0: available PEBs: 0, total reserved PEBs: 1148, PEBs reserved for bad PEB handling: 36
[ 3.501053] ubi0: background thread "ubi_bgt0d" started, PID 141
[ 3.507696] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:05:56 UTC (356)
[ 3.517510] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.528648] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.535469] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.544584] ALSA device list:
[ 3.547760] #0: wm8960-audio
[ 3.551357] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[ 3.559621] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 3.567787] Please append a correct "root=" boot option; here are the available partitions:
[ 3.576176] 0100 65536 ram0
[ 3.576181] (driver?)
[ 3.582517] 0101 65536 ram1
[ 3.582523] (driver?)
[ 3.588748] 0102 65536 ram2
[ 3.588753] (driver?)
[ 3.594885] 0103 65536 ram3
[ 3.594889] (driver?)
[ 3.601203] 0104 65536 ram4
[ 3.601211] (driver?)
[ 3.607424] 0105 65536 ram5
[ 3.607429] (driver?)
[ 3.613561] 0106 65536 ram6
[ 3.613566] (driver?)
[ 3.619784] 0107 65536 ram7
[ 3.619790] (driver?)
[ 3.625917] 0108 65536 ram8
[ 3.625921] (driver?)
[ 3.632131] 0109 65536 ram9
[ 3.632138] (driver?)
[ 3.638302] 010a 65536 ram10
[ 3.638306] (driver?)
[ 3.644519] 010b 65536 ram11
[ 3.644523] (driver?)
[ 3.650768] 010c 65536 ram12
[ 3.650772] (driver?)
[ 3.657049] 010d 65536 ram13
[ 3.657055] (driver?)
[ 3.663270] 010e 65536 ram14
[ 3.663275] (driver?)
[ 3.669525] 010f 65536 ram15
[ 3.669530] (driver?)
[ 3.675752] 1f00 65536 mtdblock0
[ 3.675758] (driver?)
[ 3.682395] 1f01 16384 mtdblock1
[ 3.682400] (driver?)
[ 3.689036] 1f02 16384 mtdblock2
[ 3.689040] (driver?)
[ 3.695601] 1f03 16384 mtdblock3
[ 3.695607] (driver?)
[ 3.702207] 1f04 147456 mtdblock4
[ 3.702211] (driver?)
[ 3.708840] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.717138] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Solved! Go to Solution.
After testing, it is only necessary to apply this patch.
From a61e048e2d79a68dacd16812db43619d76470e63 Mon Sep 17 00:00:00 2001
From: Han Xu <han.xu@nxp.com>
Date: Wed, 19 Jun 2019 16:30:22 -0500
Subject: [PATCH 2/2] u-boot: nand boot parameter change for uuu
change the partition name and add varible defination for uuu
Signed-off-by: Han Xu <han.xu@nxp.com>
---
include/configs/mx6ullevk.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h
index b4984a4cd2..982714c344 100644
--- a/include/configs/mx6ullevk.h
+++ b/include/configs/mx6ullevk.h
@@ -76,7 +76,7 @@
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
#ifdef CONFIG_NAND_BOOT
-#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(boot),16m(kernel),16m(dtb),16m(tee),-(rootfs) "
+#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandkernel),16m(nanddtb),16m(nandtee),-(nandrootfs) "
#else
#define MFG_NAND_PARTITION ""
#endif
@@ -92,6 +92,8 @@
"emmc_dev=1\0"\
"emmc_ack=1\0"\
"sd_dev=1\0" \
+ "mtdparts=" MFG_NAND_PARTITION \
+ "\0"\
#if defined(CONFIG_NAND_BOOT)
#define CONFIG_EXTRA_ENV_SETTINGS \
@@ -102,7 +104,7 @@
"fdt_high=0xffffffff\0" \
"console=ttymxc0\0" \
"bootargs=console=ttymxc0,115200 ubi.mtd=4 " \
- "root=ubi0:rootfs rootfstype=ubifs " \
+ "root=ubi0:nandrootfs rootfstype=ubifs " \
BOOTARGS_CMA_SIZE \
MFG_NAND_PARTITION \
"\0" \
--
2.17.1
Hi layleon
one can try to burn image with uuu using steps provided on:
https://community.nxp.com/t5/i-MX-Processors/imx6ull-burned-image-to-nand-by-uuu/m-p/1009173
Best regards
igor
After testing, it is only necessary to apply this patch.
From a61e048e2d79a68dacd16812db43619d76470e63 Mon Sep 17 00:00:00 2001
From: Han Xu <han.xu@nxp.com>
Date: Wed, 19 Jun 2019 16:30:22 -0500
Subject: [PATCH 2/2] u-boot: nand boot parameter change for uuu
change the partition name and add varible defination for uuu
Signed-off-by: Han Xu <han.xu@nxp.com>
---
include/configs/mx6ullevk.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h
index b4984a4cd2..982714c344 100644
--- a/include/configs/mx6ullevk.h
+++ b/include/configs/mx6ullevk.h
@@ -76,7 +76,7 @@
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
#ifdef CONFIG_NAND_BOOT
-#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(boot),16m(kernel),16m(dtb),16m(tee),-(rootfs) "
+#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandkernel),16m(nanddtb),16m(nandtee),-(nandrootfs) "
#else
#define MFG_NAND_PARTITION ""
#endif
@@ -92,6 +92,8 @@
"emmc_dev=1\0"\
"emmc_ack=1\0"\
"sd_dev=1\0" \
+ "mtdparts=" MFG_NAND_PARTITION \
+ "\0"\
#if defined(CONFIG_NAND_BOOT)
#define CONFIG_EXTRA_ENV_SETTINGS \
@@ -102,7 +104,7 @@
"fdt_high=0xffffffff\0" \
"console=ttymxc0\0" \
"bootargs=console=ttymxc0,115200 ubi.mtd=4 " \
- "root=ubi0:rootfs rootfstype=ubifs " \
+ "root=ubi0:nandrootfs rootfstype=ubifs " \
BOOTARGS_CMA_SIZE \
MFG_NAND_PARTITION \
"\0" \
--
2.17.1