Hi Fabio, Thanks so much for the effort put in. I just wanted to confirm that I am able to get console output when using the imx28-evk.dts file, although it crashes after a few lines of output. That seems to suggest that the additional pins that you have added in your patch are not necessary, and possibly even incorrect?
NAND read: device 0 offset 0x2b00000, size 0x600000 6291456 bytes read: OK ## Booting kernel from Legacy Image at 42000000 ... Image Name: Created: 2023-06-23 6:36:22 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6279441 Bytes = 6 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.4.0-rc6-00242-g1639fae5132b (rogan@vermin) (arm-linux-gnueabi-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #5 Fri Jun 23 08:35:38 SAST 2023 [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt: Machine model: Freescale i.MX28 Evaluation Kit [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000040000000-0x0000000043ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges etc Thanks Rogan On Fri, 23 Jun 2023 at 14:51, Fabio Estevam <feste...@gmail.com> wrote: > Hi Rogan, > > On Fri, Jun 23, 2023 at 3:46 AM Rogan Dawes <ro...@dawes.za.net> wrote: > > > > Kernel source is available here: > https://github.com/winkapp/wink-hub-kernel-public > > Ok, I assume that arch/arm/mach-mx28/mx28evk_pins.orig.c is the > original imx28-evk pinmux > and arch/arm/mach-mx28/mx28evk_pins.c contains the specific pinmux for > the imx28-wink-hub-v1 board. > > The first thing I noticed is that the duart pins are different between > the two boards. > > imx28-wink-hub-v1 uses the I2C0 pads for duart. > > Can you try the attached two patches that I generated against 6.1.34? > > It is a super minimal device tree for imx28-wink-hub-v1 and should > allow you to boot until it searches for the rootfs. > > I am glad you managed to start seeing kernel console using a mainline > kernel :-) >