i.MX53 QSB

This forum is for supported devices using an ARMv7 Freescale SoC.

i.MX53 QSB

Postby ckhmer1 » Wed Jan 06, 2016 11:39 am

Hi All,
I have two i.MX53 QSB and i'd like to install archlinux on them.
I know that the USB Armony has a i.MX53 SOC on it, and archlinux support it.
Indeed I've successfully installed and booted that distribution on my QSB.
Unfortunately there are a lot of kernel modules missing.
For example, the wired network is not working. The two USB are not working.
The USB should be the following:
- ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
The Ethernet should use the g_ether and fec drivers.
I didn't try if SD card reader or GPU have the modules.
I'm wondering if there is a way to have all missing kernel modules for the QSB, in order to install and use archlinux (with update) on my QSB.
Thanks for helping.
Claudio
ckhmer1
 
Posts: 12
Joined: Tue Jan 05, 2016 11:07 pm

Re: i.MX53 QSB

Postby WarheadsSE » Wed Jan 06, 2016 1:16 pm

g_ether is there, as well as likely the FEC.

The display drivers are there for the iMX53, and that I know because I had to disable them with a blacklisk on the Armory.

Get a list together of anything you are truly missing, and provide us that in terms of kernel config options, and we'll see what we can find. The QSB should have a mainline DTB, so in that regards, everything should be cleanly described and all drivers should be present.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: i.MX53 QSB

Postby ckhmer1 » Wed Jan 06, 2016 4:55 pm

Hi,
thanks for your reply.
Using the ubuntu ditribution build using the instruction on https://eewiki.net/display/linuxonarm/i ... uick+Start, i've following output of the command lsmod

Module Size Used by
sg 31846 0
uas 14407 0
usb_storage 54039 1 uas
snd_soc_imx_sgtl5000 4360 0
mc13xxx_i2c 2509 0
mma8450 3078 0
mc13xxx_core 9958 1 mc13xxx_i2c
input_polldev 5811 1 mma8450
snd_soc_sgtl5000 16071 2
snd_soc_imx_audmux 6617 1 snd_soc_imx_sgtl5000
snd_soc_fsl_ssi 13686 2
imx_pcm_dma 1372 1 snd_soc_fsl_ssi
imx_pcm_fiq 4840 1 snd_soc_fsl_ssi
snd_soc_core 192538 5 imx_pcm_dma,imx_pcm_fiq,snd_soc_sgtl5000,snd_soc_imx_sgtl5000,snd_soc_fsl_ssi
snd_compress 13959 1 snd_soc_core
snd_pcm_dmaengine 5694 1 snd_soc_core
snd_pcm 98554 5 imx_pcm_fiq,snd_soc_core,snd_soc_sgtl5000,snd_soc_fsl_ssi,snd_pcm_dmaengine
pwm_imx 4189 0
snd_timer 23081 1 snd_pcm
snd 72452 4 snd_soc_core,snd_timer,snd_pcm,snd_compress
soundcore 8501 1 snd
evdev 11364 3
uio_pdrv_genirq 3803 0
uio 10249 1 uio_pdrv_genirq

I've loaded the same modules on ArchLinux ARM harmory and lsmod gives me following:
Module Size Used by
binfmt_misc 7270 1
mma8450 3121 0
input_polldev 5248 1 mma8450
snd_soc_imx_sgtl5000 4244 0
snd_soc_imx_audmux 5720 1 snd_soc_imx_sgtl5000
snd_soc_core 167488 1 snd_soc_imx_sgtl5000
snd_compress 8897 1 snd_soc_core
snd_pcm_dmaengine 5842 1 snd_soc_core
snd_pcm 93505 2 snd_soc_core,snd_pcm_dmaengine
snd_timer 22304 1 snd_pcm
ac97_bus 2035 1 snd_soc_core
pwm_imx 4035 0
uio_pdrv_genirq 3724 0
uio 10332 1 uio_pdrv_genirq
sch_fq_codel 8457 1
usb_f_ecm 7467 1
g_ether 5133 0
usb_f_rndis 16610 2 g_ether
u_ether 13470 3 usb_f_ecm,usb_f_rndis,g_ether
libcomposite 46688 3 usb_f_ecm,usb_f_rndis,g_ether
ip_tables 12671 0
x_tables 18625 1 ip_tables

Some missing modules are builtin.
I'm not able to use USB, ethernet, SD Card reader (and maybe other) using archlinux.

Using ubuntu, the lsusb command gives me following:
Bus 001 Device 004: ID 045e:0029 Microsoft Corp. IntelliMouse Optical
Bus 001 Device 003: ID 046d:c30f Logitech, Inc. Logicool HID-Compliant Keyboard (106 key)
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

instead archlinux the output is empty.

I'm only able to connect via serial port.

If you need I can post the output of the dmesg command.
What I can check and do in order to make the QSB working?
Thanks
ckhmer1
 
Posts: 12
Joined: Tue Jan 05, 2016 11:07 pm

Re: i.MX53 QSB

Postby WarheadsSE » Wed Jan 06, 2016 5:31 pm

What kernel package, and what DTB are you using?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: i.MX53 QSB

Postby ckhmer1 » Wed Jan 06, 2016 6:03 pm

Hi,
the kernel is "Linux version 4.3.0-2-ARCH (builduser@leming) (gcc version 5.2.0 (GCC) ) #1 SMP Wed Nov 18 21:42:39 MST 2015"

how to check the DTB version?
Thanks
ckhmer1
 
Posts: 12
Joined: Tue Jan 05, 2016 11:07 pm

Re: i.MX53 QSB

Postby WarheadsSE » Wed Jan 06, 2016 6:35 pm

Check your uboot environment and any script in use.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: i.MX53 QSB

Postby ckhmer1 » Wed Jan 06, 2016 9:45 pm

Hi,
because I was running the distro for usbarmory "fdtfile=imx53-usbarmory.dtb" in u-boot because the u-boot is build for usbarmory.
I've downloaded the u-boot source code and build it for i.MX53loco.
Unfortunately I didn't find the u-boot archlinux patch and when the board try to boot i have following error:

U-Boot 2015.10 (Jan 06 2016 - 22:11:36 +0100)

Board: MX53 LOCO
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
** File not found boot.scr **
** File not found zImage **
Booting from net ...
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5

I guess that the original u-boot is using boot and root partitions, instead archlinux use only one partition.

I've tryed to symlink the boot.scr and zImage files on the root and I get following errors:

U-Boot 2015.10 (Jan 06 2016 - 22:11:36 +0100)

Board: MX53 LOCO
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
615 bytes read in 113 ms (4.9 KiB/s)
Running bootscript from mmc ...
## Executing script at 72000000
Unknown command 'part' - try 'help'
** Bad device specification : /boot/zImage **

Should I build a new zImage? Is so, how to do it?
How can I resolve this problems?
Thanks
ckhmer1
 
Posts: 12
Joined: Tue Jan 05, 2016 11:07 pm

Re: i.MX53 QSB

Postby WarheadsSE » Wed Jan 06, 2016 9:49 pm

The patches are in our github PKGBUILDs, and all configuration changes. You will need to make the necessary changes for it to work for the "loco"
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: i.MX53 QSB

Postby ckhmer1 » Thu Jan 07, 2016 7:15 pm

I'v serched on https://github.com/archlinuxarm/PKGBUILDs/. There are several packages for imx, but only the u-boot for usbarmory https://github.com/archlinuxarm/PKGBUIL ... ster/alarm.

Is there another repository where I can find the u-boot PKGBUILDs for i.MX53 LOCO board?
ckhmer1
 
Posts: 12
Joined: Tue Jan 05, 2016 11:07 pm

Re: i.MX53 QSB

Postby WarheadsSE » Fri Jan 08, 2016 12:30 pm

We do not have a specific package for the loco board, I don't know why you keep thinking we magically do.

Use the armory ones and rework the patch set, as I said.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Freescale

Who is online

Users browsing this forum: No registered users and 13 guests