On 03/10/2016 11:08 AM, Sascha Hauer wrote:
barebox-2016.03.0 is out. It has been delayed by a few days because of
the recently found bootm uImage issues. ARM uImage users should switch to
this release as chances are good that with earlier releases the kernel
overwrites the dtb and ends up non bootable. Beginning with this release
we support U-Boot FIT images, basically to be able to support booting
signed images. Another thing worth noting is RATP support which is now
available to machine control barebox over serial lines. Users using
send/expect sequences to control barebox should have a look.
As usual, detailed list of patches below.
Have Fun!
Sascha
What can I say more?
It works!
barebox 2016.03.0 #1 Thu Mar 10 17:15:17 CET 2016
Board: EK360 Eurek i.MX6 Quad
detected i.MX6 Quad revision 1.5
mdio_bus: miibus0: probed
imx-usb 2184200.usb: USB EHCI 1.00
imx-esdhc 2194000.usdhc: registered as 2194000.usdhc
imx-esdhc 2198000.usdhc: registered as 2198000.usdhc
imx-esdhc 219c000.usdhc: registered as 219c000.usdhc
imx-ipuv3 2400000.ipu: IPUv3H probed
imx-ipuv3 2800000.ipu: IPUv3H probed
netconsole: registered as netconsole-1
malloc space: 0x2ff7c100 -> 0x4fef81ff (size 511.5 MiB)
environment load /dev/env0: No such file or directory
Maybe you have to create the partition.
running /env/bin/init...
mmc2: detected SD card version 2.0
mmc2: registered mmc2
ext4 ext40: EXT2 rev 1, inode_size 128
Hit CTRL-C key to stop autoboot: 1
Running boot from uSD/MMC or USB...
Booting...
Image Name: Linux-4.5.0-rc6-EK20160302
Created: 2016-03-10 17:37:35 UTC
OS: Linux
Architecture: ARM
Type: Kernel Image
Compression: uncompressed
Data Size: 6621392 Bytes = 6.3 MiB
Load Address: 10008000
Entry Point: 10008000
Loading U-Boot uImage '/mnt/uImage'
Loading devicetree from '/mnt/dtb'
commandline: console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk2p3 fec.macaddr=0x7a,0x3f,0x0
3,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000
Booting Linux on physical CPU 0x0
Linux version 4.5.0-rc6-EK20160302 (gianluca@gianlinux) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24) ) #13 SMP Thu Mar 10
18:37:28 CET 2016
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: EK360 Eurek i.MX6 Quad
cma: Reserved 16 MiB at 0x4f000000
Memory policy: Data cache writealloc
PERCPU: Embedded 12 pages/cpu @ef79e000 s19264 r8192 d21696 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608
Kernel command line: console=ttymxc2,115200 rootwait noswap ip=none noinitrd rootfstype=nilfs2 root=/dev/mmcblk2p3 fec.macaddr=0x7a,
0x3f,0x03,0xe3,0xa2,0xff system_rev=0xe3600000 system_serialnr=0x00000000 lcd_type=
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1002392K/1048576K available (8379K kernel code, 450K rwdata, 2860K rodata, 444K init, 8239K bss, 29800K reserved, 16384K cma
-reserved, 245760K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0b02064 (11241 kB)
.init : 0xc0b03000 - 0xc0b72000 ( 444 kB)
.data : 0xc0b72000 - 0xc0be2920 ( 451 kB)
.bss : 0xc0be2920 - 0xc13ee604 (8240 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Running RCU self tests
Hierarchical RCU implementation.
RCU lockdep checking is enabled.
Build-time adjustment of leaf fanout to 32.
NR_IRQS:16 nr_irqs:16 16
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 16 ways, 1024 kB
L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
Switching to timer-based delay loop, resolution 333ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES: 8
... MAX_LOCK_DEPTH: 48
... MAX_LOCKDEP_KEYS: 8191
... CLASSHASH_SIZE: 4096
... MAX_LOCKDEP_ENTRIES: 32768
... MAX_LOCKDEP_CHAINS: 65536
... CHAINHASH_SIZE: 32768
memory used by lock dependency info: 5167 kB
per task-struct memory footprint: 1536 bytes
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x10008280 - 0x100082f0
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (24.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
CPU identified as i.MX6Q, silicon rev 1.5
No ATAGs?
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
mxs-dma 110000.dma-apbh: initialized
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA, using PIO instead.
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA, using PIO instead.
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: can't use DMA, using PIO instead.
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx>
PTP clock support registered
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.21
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
clocksource: Switched to clocksource mxc_timer1
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 3, 40960 bytes)
UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
futex hash table entries: 1024 (order: 4, 65536 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
fuse init (API version 7.24)
NILFS version 2 loaded
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 24, base_baud = 5000000) is a IMX
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 292, base_baud = 5000000) is a IMX
imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_EIM_D24 already requested by 20e0000.iomuxc; cannot claim for 21ec000.serial
imx6q-pinctrl 20e0000.iomuxc: pin-45 (21ec000.serial) status -22
imx6q-pinctrl 20e0000.iomuxc: could not request pin 45 (MX6Q_PAD_EIM_D24) from group uart3grp on device 20e0000.iomuxc
imx-uart 21ec000.serial: Error applying setting, reverse things back
21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 293, base_baud = 5000000) is a IMX
console [ttymxc2] enabled
[drm] Initialized drm 1.1.0 20060810
etnaviv gpu-subsystem: bound 134000.gpu (ops gpu_ops)
etnaviv gpu-subsystem: bound 130000.gpu (ops gpu_ops)
etnaviv gpu-subsystem: bound 2204000.gpu (ops gpu_ops)
etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
etnaviv-gpu 2204000.gpu: hw init failed: -6
imx-ipuv3 2400000.ipu: IPUv3H probed
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] No driver support for vblank timestamp query.
imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops)
imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops)
imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops ipu_crtc_ops)
imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops ipu_crtc_ops)
dwhdmi-imx 120000.hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops)
imx-drm display-subsystem: No connectors reported connected with modes
[drm] Cannot find any crtc or sizes - going 1024x768
Console: switching to colour frame buffer device 128x48
imx-drm display-subsystem: fb0: frame buffer device
[drm] Initialized imx-drm 1.0.0 20120507 on minor 1
imx-ipuv3 2800000.ipu: IPUv3H probed
brd: module loaded
loop: module loaded
at24 0-0050: 8192 byte 24c64 EEPROM, writable, 64 bytes/write
CAN device driver interface
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
rtc-pcf8563 0-0051: chip found, driver version 0.4.4
rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
coda 2040000.vpu: Direct firmware load for v4l-coda960-imx6q.bin failed with error -2
coda 2040000.vpu: firmware request failed
imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Bluetooth: HCI UART protocol LL registered
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode
mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified
sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode
sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2198000.usdhc: Got WP GPIO
mmc1: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified
sdhci-esdhc-imx 219c000.usdhc: could not get ultra high speed state, work on normal mode
mmc2: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
caam 2100000.caam: Entropy delay = 3200
caam 2100000.caam: Instantiated RNG4 SH0
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
caam 2100000.caam: job rings = 2, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 2101000.jr0: registering rng-caam
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
fsl-asrc 2034000.asrc: driver registered
NET: Registered protocol family 10
mmc2: MAN_BKOPS_EN bit is not set
sit: IPv6 over IPv4 tunneling driver
mmc2: new DDR MMC card at address 0001
mmcblk0: mmc2:0001 MMC04G 3.58 GiB
mmcblk0boot0: mmc2:0001 MMC04G partition 1 2.00 MiB
mmcblk0boot1: mmc2:0001 MMC04G partition 2 2.00 MiB
mmcblk0rpmb: mmc2:0001 MMC04G partition 3 128 KiB
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
rtc-pcf8563 0-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
usb_otg_vbus: disabling
ALSA device list:
No soundcards found.
Waiting for root device /dev/mmcblk2p3...
random: nonblocking pool is initialized
Now I have some issues for a already allocated gpio for a serial uart:
> 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 292, base_baud =
5000000) is a IMX
> imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_EIM_D24 already requested
by 20e0000.iomuxc; cannot claim for 21ec000.serial
> imx6q-pinctrl 20e0000.iomuxc: pin-45 (21ec000.serial) status -22
> imx6q-pinctrl 20e0000.iomuxc: could not request pin 45
(MX6Q_PAD_EIM_D24) from group uart3grp on device 20e0000.iomuxc
> imx-uart 21ec000.serial: Error applying setting, reverse things back
Actually I do not see anything using the pin MX6Q_PAD_EIM_D24 in my
device-tree, so I suspect something elsewhere...
And strangely enough, I can boot the kernel and the device tree from the
mmc2 with Barebox:
-- 2198000.usdhc
`-- mmc2
`-- 0x00000000-0x1d9bfffff ( 7.4 GiB): /dev/mmc2
`-- 0x00400000-0x00bfffff ( 8 MiB): /dev/mmc2.0
`-- 0x00c00000-0x02bfffff ( 32 MiB): /dev/mmc2.1
`-- 0x02c00000-0x1d9bfffff ( 7.4 GiB): /dev/mmc2.2
but the kernel itself is unable to found any card:
/soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified
sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode
sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2198000.usdhc: Got WP GPIO
mmc1: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
maybe something related to the CD pin...??? I will check.
Great job!
As soon this board will be up and running, I will try to send some
patches to include the support for this board in the future releases of
Barebox.
Regards,
--
Eurek s.r.l. |
Electronic Engineering | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377 | Fax: +39-(0)542-609212
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox