All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian Hutchinson" <b.hutchman@gmail.com>
To: "b.hutchman" <b.hutchman@gmail.com>,
	 Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: Andrey Zhizhikin <andrey.z@gmail.com>,
	peter@berginkonsult.se,  meta-freescale@lists.yoctoproject.org
Subject: Re: [meta-freescale] Want to use linux-fslc 5.10 with Dunfell
Date: Wed, 3 Mar 2021 10:42:20 -0500	[thread overview]
Message-ID: <CAFZh4h8MBUi1wG54=UPqJHhupo9vUJGLieJdF3yYsS7kYt3Hfg@mail.gmail.com> (raw)
In-Reply-To: <1668DEDA4359AC1E.2939@lists.yoctoproject.org>

[-- Attachment #1: Type: text/plain, Size: 24229 bytes --]

Otavio,  tell me again why I'm still getting this:

[    1.853583] imx-sdma 302c0000.dma-controller: Direct firmware load for
imx/sdma/sdma-imx7d.bin failed with error -2
[    1.861409] imx-sdma 302c0000.dma-controller: Falling back to sysfs
fallback for: imx/sdma/sdma-imx7d.bin

It needs to be a loadable module or something?

Anyway ... for the curious ... here's the boot messages:

Booting from mmc ...
27692 bytes read in 7 ms (3.8 MiB/s)
## Flattened Device Tree blob at 43000000
  Booting using the fdt blob at 0x43000000
  Using Device Tree in place at 0000000043000000, end 0000000043009c2b

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.18+ge96f454f9d4b (oe-user@oe-host)
(aarch64-poky-linux-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP
Tue Feb 23 21:32:29 UTC 2021
[    0.000000] Machine model: FSL i.MX8MM EVK board
[    0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030890000 (options
'115200')
[    0.000000] printk: bootconsole [ec_imx6q0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 64 MiB at 0x00000000ba000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000bdffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bdffffff]
[    0.000000] Initmem setup node 0 [mem
0x0000000040000000-0x00000000bdffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 31 pages/cpu s88016 r8192 d30768 u126976
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages:
508032
[    0.000000] Kernel command line: console=ttymxc1,115200
earlycon=ec_imx6q,0x30890000,115200 root=/dev/mmcblk1p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152
bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576
bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem
0x000000007bfff000-0x000000007ffff000] (64MB)
[    0.000000] Memory: 1857628K/2064384K available (12992K kernel code,
2688K rwdata, 4752K rodata, 2944K init, 11217K bss, 141220K reserved,
65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU lockdep checking is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to
nr_cpu_ids=4.
[    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=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 128 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region
0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] random: get_random_bytes called from
start_kernel+0x3b8/0x5bc with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000004] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every
2199023255500ns
[    0.008595] Console: colour dummy device 80x25
[    0.012528] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc.,
Ingo Molnar
[    0.020311] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.024423] ... MAX_LOCK_DEPTH:          48
[    0.028623] ... MAX_LOCKDEP_KEYS:        8192
[    0.032998] ... CLASSHASH_SIZE:          4096
[    0.037373] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.041836] ... MAX_LOCKDEP_CHAINS:      65536
[    0.046298] ... CHAINHASH_SIZE:          32768
[    0.050761]  memory used by lock dependency info: 6365 kB
[    0.056186]  memory used for stack traces: 4224 kB
[    0.060998]  per task-struct memory footprint: 1920 bytes
[    0.066458] Calibrating delay loop (skipped), value calculated using
timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.076753] pid_max: default: 32768 minimum: 301
[    0.081649] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes,
linear)
[    0.088836] Mountpoint-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[    0.100799] rcu: Hierarchical SRCU implementation.
[    0.103620] EFI services will not be available.
[    0.108064] smp: Bringing up secondary CPUs ...
[    0.113688] Detected VIPT I-cache on CPU1
[    0.113719] GICv3: CPU1: found redistributor 1 region
0:0x00000000388a0000
[    0.113787] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.116193] Detected VIPT I-cache on CPU2
[    0.116222] GICv3: CPU2: found redistributor 2 region
0:0x00000000388c0000
[    0.116269] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.118347] Detected VIPT I-cache on CPU3
[    0.118374] GICv3: CPU3: found redistributor 3 region
0:0x00000000388e0000
[    0.118417] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.118923] smp: Brought up 1 node, 4 CPUs
[    0.172714] SMP: Total of 4 processors activated.
[    0.177440] CPU features: detected: 32-bit EL0 Support
[    0.182604] CPU features: detected: CRC32 instructions
[    0.187977] CPU: All CPU(s) started at EL2
[    0.191983] alternatives: patching kernel code
[    0.198267] devtmpfs: initialized
[    0.223820] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.230838] futex hash table entries: 1024 (order: 5, 131072 bytes,
linear)
[    0.241943] DMI not present or invalid.
[    0.243645] NET: Registered protocol family 16
[    0.253716] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic
allocations
[    0.258057] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic
allocations
[    0.266463] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[    0.275665] thermal_sys: Registered thermal governor 'step_wise'
[    0.276504] cpuidle: using governor menu
[    0.283990] hw-breakpoint: found 6 breakpoint and 4 watchpoint
registers.
[    0.290817] ASID allocator initialised with 65536 entries
[    0.404616] mxs-dma 33000000.dma-controller: probe deferral not
supported
[    0.411921] iommu: Default domain type: Translated
[    0.414682] vgaarb: loaded
[    0.418433] SCSI subsystem initialized
[    0.421709] usbcore: registered new interface driver usbfs
[    0.426158] usbcore: registered new interface driver hub
[    0.431667] usbcore: registered new device driver usb
[    0.438737] mc: Linux media interface: v0.10
[    0.440784] videodev: Linux video capture interface: v2.00
[    0.447877] Advanced Linux Sound Architecture Driver Initialized.
[    0.454468] Bluetooth: Core ver 2.22
[    0.455963] NET: Registered protocol family 31
[    0.460375] Bluetooth: HCI device and connection manager initialized
[    0.466799] Bluetooth: HCI socket layer initialized
[    0.471674] Bluetooth: L2CAP socket layer initialized
[    0.476810] Bluetooth: SCO socket layer initialized
[    0.482998] clocksource: Switched to clocksource arch_sys_counter
[    1.592654] VFS: Disk quotas dquot_6.6.0
[    1.593873] VFS: Dquot-cache hash table entries: 512 (order 0, 4096
bytes)
[    1.627505] NET: Registered protocol family 2
[    1.630537] tcp_listen_portaddr_hash hash table entries: 1024 (order: 4,
81920 bytes, linear)
[    1.638030] TCP established hash table entries: 16384 (order: 5, 131072
bytes, linear)
[    1.646127] TCP bind hash table entries: 16384 (order: 8, 1179648 bytes,
linear)
[    1.654916] TCP: Hash tables configured (established 16384 bind 16384)
[    1.660219] UDP hash table entries: 1024 (order: 5, 163840 bytes,
linear)
[    1.666851] UDP-Lite hash table entries: 1024 (order: 5, 163840 bytes,
linear)
[    1.674412] NET: Registered protocol family 1
[    1.679881] RPC: Registered named UNIX socket transport module.
[    1.684045] RPC: Registered udp transport module.
[    1.688747] RPC: Registered tcp transport module.
[    1.693471] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.701290] PCI: CLS 0 bytes, default 64
[    1.706353] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7
counters available
[    1.715759] Initialise system trusted keyrings
[    1.717922] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[    1.748642] NFS: Registering the id_resolver key type
[    1.750938] Key type id_resolver registered
[    1.755135] Key type id_legacy registered
[    1.759398] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.765990] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    1.773635] fuse: init (API version 7.32)
[    1.814005] Key type asymmetric registered
[    1.815465] Asymmetric key parser 'x509' registered
[    1.820278] io scheduler mq-deadline registered
[    1.824788] io scheduler kyber registered
[    1.853583] imx-sdma 302c0000.dma-controller: Direct firmware load for
imx/sdma/sdma-imx7d.bin failed with error -2
[    1.861409] imx-sdma 302c0000.dma-controller: Falling back to sysfs
fallback for: imx/sdma/sdma-imx7d.bin
[    1.888811] SoC: i.MX8MM revision 1.0
[    1.891863] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 34,
base_baud = 1500000) is a IMX
[    1.898749] printk: console [ttymxc1] enabled
[    1.898749] printk: console [ttymxc1] enabled
[    1.907214] printk: bootconsole [ec_imx6q0] disabled
[    1.907214] printk: bootconsole [ec_imx6q0] disabled
[    1.953009] brd: module loaded
[    1.992254] loop: module loaded
[    2.002315] libphy: Fixed MDIO Bus: probed
[    2.008011] CAN device driver interface
[    2.012935] usbcore: registered new interface driver r8152
[    2.018570] usbcore: registered new interface driver lan78xx
[    2.024411] usbcore: registered new interface driver asix
[    2.029973] usbcore: registered new interface driver ax88179_178a
[    2.036213] usbcore: registered new interface driver cdc_ether
[    2.042224] usbcore: registered new interface driver smsc95xx
[    2.048115] usbcore: registered new interface driver net1080
[    2.053919] usbcore: registered new interface driver cdc_subset
[    2.059978] usbcore: registered new interface driver zaurus
[    2.065689] usbcore: registered new interface driver MOSCHIP
usb-ethernet driver
[    2.073272] usbcore: registered new interface driver cdc_ncm
[    2.079012] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.085591] ehci-pci: EHCI PCI platform driver
[    2.090185] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.096261] usbcore: registered new interface driver usb-storage
[    2.108660] input: 30370000.snvs:snvs-powerkey as
/devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0

[    2.129549] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    2.136022] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to
1970-01-01T00:00:00 UTC (0)
[    2.145711] i2c /dev entries driver
[    2.156172] Bluetooth: HCI UART driver ver 2.3
[    2.160770] Bluetooth: HCI UART protocol H4 registered
[    2.166164] Bluetooth: HCI UART protocol LL registered
[    2.175841] sdhci: Secure Digital Host Controller Interface driver
[    2.182080] sdhci: Copyright(c) Pierre Ossman
[    2.186488] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.194164] mmc1: CQHCI version 5.10
[    2.194172] mmc2: CQHCI version 5.10
[    2.204129] caam 30900000.crypto: RNG4 SH0 was previously instantiated
without prediction resistance. Tearing it down
[    2.214870] caam 30900000.crypto: Deinstantiated RNG4 SH0
[    2.220348] caam 30900000.crypto: Instantiated RNG4 SH0
[    2.225625] caam 30900000.crypto: RNG4 SH1 was previously instantiated
without prediction resistance. Tearing it down
[    2.228815] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using
ADMA
[    2.236297] caam 30900000.crypto: Deinstantiated RNG4 SH1
[    2.238678] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using
ADMA
[    2.256028] caam 30900000.crypto: Instantiated RNG4 SH1
[    2.261564] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[    2.268373] caam 30900000.crypto: job rings = 3, qi = 0
[    2.317047] caam algorithms registered in /proc/crypto
[    2.322719] mmc1: host does not support reading read-only switch,
assuming write-enable
[    2.330944] caam 30900000.crypto: caam pkc algorithms registered in
/proc/crypto
[    2.338549] caam 30900000.crypto: registering rng-caam
[    2.344246] mmc1: new high speed SDHC card at address aaaa
[    2.352113] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
[    2.357695] mmc2: Command Queue Engine enabled
[    2.362680] mmc2: new DDR MMC card at address 0001
[    2.365552]  mmcblk1: p1 p2
[    2.369634] mmcblk2: mmc2:0001 DG4016 7.49 GiB
[    2.372982] usbcore: registered new interface driver usbhid
[    2.375485] mmcblk2boot0: mmc2:0001 DG4016 partition 1 4.00 MiB
[    2.380564] usbhid: USB HID core driver
[    2.384248] optee: probing for conduit method.
[    2.386647] random: fast init done
[    2.390467] optee: revision 3.2 (6d99b525)
[    2.395465] mmcblk2boot1: mmc2:0001 DG4016 partition 2 4.00 MiB
[    2.399823] optee: dynamic shared memory is enabled
[    2.403164] mmcblk2gp0: mmc2:0001 DG4016 partition 4 3.52 GiB
[    2.408849] optee: initialized driver
[    2.419221] random: crng init done
[    2.419691] mmcblk2rpmb: mmc2:0001 DG4016 partition 3 4.00 MiB, chardev
(247:0)
[    2.437017] NET: Registered protocol family 10
[    2.445123] Segment Routing with IPv6
[    2.449078] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.456891] NET: Registered protocol family 17
[    2.461441] can: controller area network core
[    2.466153] NET: Registered protocol family 29
[    2.470729] can: raw protocol
[    2.473861] can: broadcast manager protocol
[    2.478207] can: netlink gateway - max_hops=1
[    2.483224] Key type dns_resolver registered
[    2.488220] Loading compiled-in X.509 certificates
[    2.610488] usb_phy_generic usbphynop1: supply vcc not found, using
dummy regulator
[    2.620004] usb_phy_generic usbphynop2: supply vcc not found, using
dummy regulator
[    2.629405] imx-i2c 30a20000.i2c: can't get pinctrl, bus recovery not
supported
[    2.640212] i2c i2c-0: IMX I2C adapter registered
[    2.646483] imx-i2c 30a30000.i2c: can't get pinctrl, bus recovery not
supported
[    2.656217] i2c i2c-1: IMX I2C adapter registered
[    2.662379] imx-i2c 30a40000.i2c: can't get pinctrl, bus recovery not
supported
[    2.671547] i2c i2c-2: IMX I2C adapter registered
[    2.677890] imx_usb 32e40000.usb: No over current polarity defined
[    2.692395] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 2 mkt segment
2 supported-hw 0x4 0x4
[    2.707855] cfg80211: Loading compiled-in X.509 certificates for
regulatory database
[    2.722368] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    2.733458] platform regulatory.0: Direct firmware load for
regulatory.db failed with error -2
[    2.735039] ALSA device list:
[    2.742188] platform regulatory.0: Falling back to sysfs fallback for:
regulatory.db
[    2.745197]   No soundcards found.
[    2.889844] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data
mode. Opts: (null)
[    2.898245] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.909022] devtmpfs: mounted
[    2.914214] Freeing unused kernel memory: 2944K
[    2.919148] Run /sbin/init as init process
INIT: version 2.97 booting
Framebuffer /dev/fb0 not detected
Boot splashscreen disabled
Starting udev
[    7.511937] udevd[196]: starting version 3.2.9
[    8.419396] udevd[198]: starting eudev-3.2.9
[    9.479877] imx-sdma 302c0000.dma-controller: loaded firmware 4.5
[    9.479881] imx-sdma 302b0000.dma-controller: loaded firmware 4.5
[    9.486229] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5
[   11.472352] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[   19.231419] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.236832] Bluetooth: BNEP socket layer initialized
umount: can't unmount /mnt/.psplash: No such file or directory

Poky (Yocto Project Reference Distro) 3.2.2 imx8mmevk /dev/ttymxc1

imx8mmevk login:
Poky (Yocto Project Reference Distro) 3.2.2 imx8mmevk /dev/ttymxc1

imx8mmevk login: root
root@imx8mmevk:~# uname -a
Linux imx8mmevk 5.10.18+ge96f454f9d4b #1 SMP Tue Feb 23 21:32:29 UTC 2021
aarch64 GNU/Linux
root@imx8mmevk:~#

On Wed, Mar 3, 2021 at 10:31 AM Brian Hutchinson via lists.yoctoproject.org
<b.hutchman=gmail.com@lists.yoctoproject.org> wrote:

> On Tue, Mar 2, 2021 at 6:01 PM Brian Hutchinson via lists.yoctoproject.org
> <b.hutchman=gmail.com@lists.yoctoproject.org> wrote:
>
>>
>>
>> On Tue, Mar 2, 2021 at 2:34 PM Brian Hutchinson via
>> lists.yoctoproject.org <b.hutchman=gmail.com@lists.yoctoproject.org>
>> wrote:
>>
>>>
>>> On Tue, Mar 2, 2021 at 1:23 PM Andrey Zhizhikin <andrey.z@gmail.com>
>>> wrote:
>>>
>>>> Hello Brian,
>>>>
>>>> On Tue, Mar 2, 2021 at 4:34 PM Brian Hutchinson <b.hutchman@gmail.com>
>>>> wrote:
>>>> >
>>>> > On Tue, Mar 2, 2021 at 8:28 AM Brian Hutchinson via
>>>> lists.yoctoproject.org <b.hutchman=gmail.com@lists.yoctoproject.org>
>>>> wrote:
>>>> >>
>>>> >>
>>>> >> On Tue, Mar 2, 2021 at 2:45 AM Peter Bergin <peter@berginkonsult.se>
>>>> wrote:
>>>> >>>
>>>> >>> Hi Brian,
>>>> >>>
>>>> >>> On 2021-03-01 20:59, Brian Hutchinson wrote:
>>>> >>> > Can someone school me on how this works?  I guess I don't know or
>>>> >>> > understand the relationship between linux-fslc and linux-fslc-imx
>>>> >>> > recipies in meta-freescale/recipies-kernel/linux
>>>> >>>
>>>> >>> you have a bit more info in this thread
>>>> >>> https://lists.yoctoproject.org/g/meta-freescale/topic/80897983.
>>>> >>>
>>>> >>> And you can also read the information in the recipes about different
>>>> >>> kernels their sources and how they are composed.
>>>> >>>
>>>> >>> linux-fslc-imx:
>>>> >>>
>>>> https://github.com/Freescale/meta-freescale/blob/9de81869018e78b8b861513735b85c2dbc33ca0b/recipes-kernel/linux/linux-fslc-imx_5.4.bb#L12
>>>> >>>
>>>> >>> linux-fslc:
>>>> >>>
>>>> https://github.com/Freescale/meta-freescale/blob/9de81869018e78b8b861513735b85c2dbc33ca0b/recipes-kernel/linux/linux-fslc_5.10.bb#L7
>>>> >>>
>>>> >>> My view on this is that linux-fslc is mainline based and
>>>> linux-fslc-imx
>>>> >>> is NXP based.
>>>> >>>
>>>> >>> Best regards,
>>>> >>> /Peter
>>>> >>>
>>>> >>
>>>> >> Thanks Peter,
>>>> >>
>>>> >> That helps a lot.  It was my intent to be using FSL kernel and turns
>>>> out I've been using linux-fslc-imx thus far.  When I first started working
>>>> on NXP SoC (switched from TI about a year ago) I was using NXP releases and
>>>> discovered the hard way their new releases were mainly geared at new boards
>>>> so that's when I switched to fslc.
>>>> >>
>>>> >> Regards,
>>>> >>
>>>> >> Brian
>>>> >>
>>>> >
>>>> > Ok, forgive me but I'm obviously still in the weeds.  Still trying to
>>>> pull in linux 5.10 from master.  If linux-fslc is basically community
>>>> kernel with NXP fixes and patches mainlined ... why is there no
>>>> COMPATIBLE_MACHINE for imx8mmevk?
>>>>
>>>> I've tried to touch this part in
>>>> https://lists.yoctoproject.org/g/meta-freescale/message/24551
>>>>
>>>> Bottom line is: to use linux-fslc as a provider for virtual/kernel -
>>>> you need to change IMX_DEFAULT_BSP from "nxp" to "mainline" in the
>>>> conf/machine/imx8mmevk.conf, effectively changing from NXP BSP to
>>>> Community one.
>>>>
>>>> This would have a lot of consequences though, as the support of mx8m
>>>> machines is not quite there yet.
>>>>
>>>> --
>>>> Regards,
>>>> Andrey.
>>>>
>>>
>>> Thanks Andrey,
>>>
>>> "Consequences" is an understatement.  My heart sank as I started digging
>>> into this and saw things like:
>>>
>>> # Handle default kernel
>>> IMX_DEFAULT_KERNEL = "linux-fslc-imx"
>>> IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
>>> IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
>>> IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx"
>>> IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx"
>>> IMX_DEFAULT_KERNEL_mx8 = "linux-fslc-imx"
>>> IMX_DEFAULT_KERNEL_mx7ulp = "linux-fslc-imx"
>>> IMX_DEFAULT_KERNEL_mx6sll = "linux-fslc-imx"
>>> IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx"
>>> IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx"
>>> IMX_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc"
>>>
>>> ... in sources/meta-freescale/conf/machine/include/imx-base.inc
>>>
>>> I really need at least Linux 5.10 for imx8 for some net-next features I
>>> need.  I was hopeful when I was poking around and saw a 5.10 recipe but now
>>> my hopes are dashed! :(
>>>
>>> Regards,
>>>
>>> Brian
>>>
>>>
>> Update.  So I messed around and changed the things Andrey mentioned and
>> tried another build just for kicks.  If completed with only one kernel
>> error:
>>
>> |   OBJCOPY arch/arm64/boot/Image
>> |   DTC     arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk.dtb
>> | make[2]: *** No rule to make target
>> 'arch/arm64/boot/dts/freescale/imx8mm-ddr4-evk-revb.dtb'.  Stop.
>> | make[1]: ***
>> [/home/hutch/yocto/imx8/fsl-community-bsp_gatesgarth/build/tmp/work-shared/imx8mmevk/kernel-source/Makefile:1334:
>> freescale/imx8mm-ddr4-evk-revb.dtb] Error 2
>> | make: ***
>> [/home/hutch/yocto/imx8/fsl-community-bsp_gatesgarth/build/tmp/work-shared/imx8mmevk/kernel-source/Makefile:185:
>> __sub-make] Error 2
>> | WARNING: exit code 1 from a shell command.
>> |
>> ERROR: Task
>> (/home/hutch/yocto/imx8/fsl-community-bsp_gatesgarth/sources/meta-freescale/recipes-kernel/linux/linux-fslc_5.10.bb:do_compile)
>> failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 4575 tasks of which 1 didn't need to be
>> rerun and 1 failed.
>>
>> Summary: 1 task failed:
>>
>>  /home/hutch/yocto/imx8/fsl-community-bsp_gatesgarth/sources/meta-freescale/recipes-kernel/linux/linux-fslc_5.10.bb:do_compile
>>
>> Summary: There were 3 WARNING messages shown.
>> Summary: There were 2 ERROR messages shown, returning a non-zero exit
>> code.
>>
>> ... which is legit as it looks like the freescale .dts files of 5.10 are
>> different than before (no surprise) so I'll try to get past this and see
>> what happens.  I don't need all the NXP EVK stuff (video, touch screen,
>> wifi, bluetooth etc.) which is why I picked Yocto for distro to make a
>> smaller image than all those wayland options ... so just maybe it might
>> work???
>>
>> Will report back soon ...
>>
>> Regards,
>>
>> Brian
>>
>>
> Yet another update.  I further modified my  machine .conf to remove .dtb's
> and features I didn't need and finally got the board booting 5.10.18!  When
> I dd the wic image to sdcard it wouldn't boot so I've got a u-boot issue
> somewhere but I wrote previous version of u-boot with dd and was able to
> get it to boot.
>
> Thank you all for putting up with me once again and keeping me out of the
> weeds.
>
> Now the work begins trying to get some net-next stuff working.
>
> Regards,
>
> Brian
>
>
> 
>
>

[-- Attachment #2: Type: text/html, Size: 31421 bytes --]

  parent reply	other threads:[~2021-03-03 15:42 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01 17:06 Want to use linux-fslc 5.10 with Dunfell Brian Hutchinson
2021-03-01 17:17 ` [meta-freescale] " Otavio Salvador
2021-03-01 18:29   ` Brian Hutchinson
2021-03-01 18:30     ` Otavio Salvador
     [not found]       ` <CAFZh4h88ZeCUfAHXjU1tousMQoRrQwcuCH6-qVsnL1nKpKyv0A@mail.gmail.com>
2021-03-01 19:59         ` Brian Hutchinson
2021-03-02  7:45           ` Peter Bergin
2021-03-02 13:28             ` Brian Hutchinson
     [not found]             ` <166889913B7B60E8.18810@lists.yoctoproject.org>
2021-03-02 15:34               ` Brian Hutchinson
2021-03-02 18:23                 ` Andrey Zhizhikin
2021-03-02 19:34                   ` Brian Hutchinson
     [not found]                   ` <16689D843EF7BBD6.17298@lists.yoctoproject.org>
2021-03-02 23:00                     ` Brian Hutchinson
     [not found]                     ` <1668A8CAFCF24F79.31223@lists.yoctoproject.org>
2021-03-03 15:31                       ` Brian Hutchinson
     [not found]                       ` <1668DEDA4359AC1E.2939@lists.yoctoproject.org>
2021-03-03 15:42                         ` Brian Hutchinson [this message]
2021-03-03 16:31                           ` Fabio Estevam
2021-03-03 16:54                             ` Andrey Zhizhikin
2021-03-03 17:01                               ` Fabio Estevam
2021-03-03 19:48                               ` Brian Hutchinson
2021-03-04  9:27                                 ` Andrey Zhizhikin
2021-03-04 14:37                                 ` Brian Hutchinson
2021-03-04 14:41                                   ` Andrey Zhizhikin
2021-03-04 15:32                                     ` Brian Hutchinson
     [not found]                                     ` <16692D851CD111AC.16452@lists.yoctoproject.org>
2021-03-04 18:56                                       ` Brian Hutchinson
2021-03-04 19:23                                         ` Andrey Zhizhikin
2021-03-04 19:56                                           ` Brian Hutchinson
     [not found]                                           ` <16693BE55864B434.22430@lists.yoctoproject.org>
2021-03-04 20:36                                             ` Brian Hutchinson
2021-03-04 20:49                                               ` Andrey Zhizhikin
2021-03-04 21:56                                                 ` Peter Bergin
2021-03-04 22:06                                                   ` Andrey Zhizhikin
2021-03-04 22:06                                                   ` Brian Hutchinson
2021-03-04 10:49                               ` Peter Bergin
2021-03-04 11:09                                 ` Fabio Estevam
2021-03-04 11:19                                   ` Andrey Zhizhikin
2021-03-04 12:56                                     ` Andrey Zhizhikin
2021-03-04 13:41                                       ` Fabio Estevam
2021-03-04 13:52                                         ` Andrey Zhizhikin
2021-03-04 13:56                                           ` Fabio Estevam
2021-03-04 11:11                                 ` Andrey Zhizhikin
2021-03-02  7:53           ` Andrey Zhizhikin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFZh4h8MBUi1wG54=UPqJHhupo9vUJGLieJdF3yYsS7kYt3Hfg@mail.gmail.com' \
    --to=b.hutchman@gmail.com \
    --cc=andrey.z@gmail.com \
    --cc=meta-freescale@lists.yoctoproject.org \
    --cc=otavio.salvador@ossystems.com.br \
    --cc=peter@berginkonsult.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.