Date: Tue, 28 Jul 2015 07:18:54 +0000 From: Ulrich Grey <usenet@ulrich-grey.de> To: freebsd-arm@freebsd.org Subject: FreeBSD on CuBox-i-4x4 (with HDMI patch) Message-ID: <20150728071854.357c89785e048ae6d64c1c70@ulrich-grey.de>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Multipart=_Tue__28_Jul_2015_07_18_54_+0000_nGhGu84a2sjPdWkZ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, I have the opportunity to test freebsd on a CuBox-i-4x4 http://solid-run.com/product/cubox-i-4x4/. uname -ap FreeBSD wqtest 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r285875M: Sun Jul 26 14= :55:10 UTC 2015 gwgpi@wqtest:/usr/obj/usr/src/sys/IMX6 arm armv6hf To boot I have used this patch from Mika=EBl Urankar: http://mikael.urankar.free.fr/FreeBSD/arm/patches/sysutils_u-boot-cubox-hum= mingboard.patch Because I got an "No valid device tree blob found" error, in /boot/dtb I copied imx6q-cubox-i.dtb to imx6q-cubox-i4p.dtb. Now I can boot, but only half of the memory and one of two USB ports is rec= ognized. I have compiled some ports on the text console without problems. If I compile in a xfce4-terminal, I get a panic: pmap_remove_pages: pmap 0xcad291b4 va 0x200ab000 pte1 0 panic: bad pte1 cpuid =3D 2 KDB: enter: panic [ thread pid 28202 tid 100131 ] Stopped at $d.7: ldrb r15, [r15, r15, ror r15]! But that may be related to the dtb-file. Regards Ulrich --Multipart=_Tue__28_Jul_2015_07_18_54_+0000_nGhGu84a2sjPdWkZ Content-Type: text/plain; name="dmesgCUBOX_HDMI_PHILIPS.txt" Content-Disposition: attachment; filename="dmesgCUBOX_HDMI_PHILIPS.txt" Content-Transfer-Encoding: 7bit KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #0 r285875M: Sun Jul 26 14:55:10 UTC 2015 gwgpi@wqtest:/usr/obj/usr/src/sys/IMX6 arm FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525 VT: init without driver. CPU: Cortex A9-r2 rev 10 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabled LoUU:2 LoC:2 LoUIS:2 Cache level 1: 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 4-way instruction cache Read-Alloc real memory = 2147483648 (2048 MB) avail memory = 2092978176 (1996 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: entropy device external interface kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> simplebus0: <Flattened device tree simple bus> on ofwbus0 simplebus1: <Flattened device tree simple bus> mem 0x2000000-0x20fffff on simplebus0 simplebus2: <Flattened device tree simple bus> mem 0x2000000-0x203ffff on simplebus1 imx6_anatop0: <Freescale i.MX6 Analog PLLs and Power> mem 0x20c8000-0x20c8fff irq 81,86,159 on simplebus1 simplebus3: <Flattened device tree simple bus> on simplebus1 simplebus4: <Flattened device tree simple bus> mem 0x2100000-0x21fffff on simplebus0 ocotp0: <Freescale On-Chip One-Time-Programmable Memory> mem 0x21bc000-0x21bffff on simplebus4 ccm0: <Freescale i.MX6 Clock Control Module> mem 0x20c4000-0x20c7fff irq 119,120 on simplebus1 l2cache0: <PL310 L2 cache controller> mem 0xa02000-0xa02fff irq 124 on simplebus0 l2cache0: Part number: 0x3, release: 0x7 l2cache0: L2 Cache enabled: 1024KB/32B 16 ways imx_iomux0: <Freescale i.MX pin configuration> mem 0x20e0000-0x20e3fff on simplebus1 gic0: <ARM Generic Interrupt Controller> mem 0xa01000-0xa01fff,0xa00100-0xa001ff on ofwbus0 gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b irqs 160 imx_gpt0: <Freescale i.MX GPT timer> mem 0x2098000-0x209bfff irq 87 on simplebus1 Event timer "iMXGPT" frequency 66000000 Hz quality 800 Timecounter "iMXGPT" frequency 66000000 Hz quality 1000 mp_tmr0: <ARM MPCore Timers> mem 0xa00600-0xa0061f irq 29 on simplebus0 Event timer "MPCore" frequency 492000000 Hz quality 1000 uart0: <Freescale i.MX UART> mem 0x2020000-0x2023fff irq 58 on simplebus2 uart0: console (115200,n,8,1) gpio0: <Freescale i.MX GPIO Controller> mem 0x209c000-0x209ffff irq 98,99 on simplebus1 gpiobus0: <GPIO bus> on gpio0 gpioc0: <GPIO controller> on gpio0 gpio1: <Freescale i.MX GPIO Controller> mem 0x20a0000-0x20a3fff irq 100,101 on simplebus1 gpiobus1: <GPIO bus> on gpio1 gpioc1: <GPIO controller> on gpio1 gpio2: <Freescale i.MX GPIO Controller> mem 0x20a4000-0x20a7fff irq 102,103 on simplebus1 gpiobus2: <GPIO bus> on gpio2 gpioc2: <GPIO controller> on gpio2 gpio3: <Freescale i.MX GPIO Controller> mem 0x20a8000-0x20abfff irq 104,105 on simplebus1 gpiobus3: <GPIO bus> on gpio3 gpioc3: <GPIO controller> on gpio3 gpio4: <Freescale i.MX GPIO Controller> mem 0x20ac000-0x20affff irq 106,107 on simplebus1 gpiobus4: <GPIO bus> on gpio4 gpioc4: <GPIO controller> on gpio4 gpio5: <Freescale i.MX GPIO Controller> mem 0x20b0000-0x20b3fff irq 108,109 on simplebus1 gpiobus5: <GPIO bus> on gpio5 gpioc5: <GPIO controller> on gpio5 gpio6: <Freescale i.MX GPIO Controller> mem 0x20b4000-0x20b7fff irq 110,111 on simplebus1 gpiobus6: <GPIO bus> on gpio6 gpioc6: <GPIO controller> on gpio6 usbphy0: <Freescale i.MX6 USB PHY> mem 0x20c9000-0x20c9fff irq 76 on simplebus1 usbphy1: <Freescale i.MX6 USB PHY> mem 0x20ca000-0x20cafff irq 77 on simplebus1 src0: <Freescale i.MX6 System Reset Controller> mem 0x20d8000-0x20dbfff irq 123,128 on simplebus1 hdmi0: <Freescale i.MX6 HDMI core> mem 0x120000-0x128fff irq 147 on simplebus1 hdmi0: HDMI controller 13:0a:a0:c1 GPR3 0f000000 -> 0f000000 ehci0: <Freescale i.MX integrated USB controller> mem 0x2184000-0x21841ff irq 75 on simplebus4 ehci0: [GIANT-LOCKED] usbus0: EHCI version 1.0 usbus0 on ehci0 ehci1: <Freescale i.MX integrated USB controller> mem 0x2184200-0x21843ff irq 72 on simplebus4 ehci1: [GIANT-LOCKED] usbus1: EHCI version 1.0 usbus1 on ehci1 ffec0: <Freescale Gigabit Ethernet Controller> mem 0x2188000-0x218bfff irq 150,151 on simplebus4 miibus0: <MII bus> on ffec0 atphy0: <Atheros F1 10/100/1000 PHY> PHY 4 on miibus0 atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto ffec0: Ethernet address: d0:63:b4:00:83:59 sdhci_imx0: <Freescale uSDHC controller> mem 0x2194000-0x2197fff irq 55 on simplebus4 mmc0: <MMC/SD bus> on sdhci_imx0 iichb0: <Freescale i.MX I2C bus controller> mem 0x21a4000-0x21a7fff irq 69 on simplebus4 iicbus0: <OFW I2C bus> on iichb0 iic0: <I2C generic I/O> on iicbus0 iichb1: <Freescale i.MX I2C bus controller> mem 0x21a8000-0x21abfff irq 70 on simplebus4 iicbus1: <OFW I2C bus> on iichb1 iic1: <I2C generic I/O> on iicbus1 iicbus1: <unknown card> at addr 0x68 fb0: <Freescale IPU> mem 0x2400000-0x27fffff irq 38,37 on simplebus0 cryptosoft0: <software crypto> Timecounters tick every 2.000 msec IPsec: Initialized Security Association Processing. hdmi0: reading EDID from iic0, addr 50 Vendor: [PHL] Philips Product: [D056] 19PFL3403DEU Serial number: 01010101 Manufactured 2009 Week 6 EDID Version 1.3 EDID Comment: Video Input: 80 Digital Gamma: 2.20 Max Size: 41 cm x 26 cm Features: 2a DPMS active-off RGB Preferred timing Chroma Info: Red X: 0.649 Red Y: 0.649 Grn X: 0.283 Grn Y: 0.605 Blu X: 0.151 Blu Y: 0.073 Wht X: 0.313 Wht Y: 0.329 Range: Horizontal: 30 - 80 kHz Vertical: 56 - 76 Hz Max Dot Clock: 170 MHz Video modes: 720x400 @ 70Hz (28320 738 846 900 412 414 449 -H +V) 640x480 @ 60Hz (25175 656 752 800 490 492 525 -H -V) 640x480 @ 73Hz (31500 664 704 832 489 492 520 -H -V) 640x480 @ 75Hz (31500 656 720 840 481 484 500 -H -V) 800x600 @ 60Hz (40000 840 968 1056 601 605 628 +H +V) 800x600 @ 72Hz (50000 856 976 1040 637 643 666 +H +V) 800x600 @ 75Hz (49500 816 896 1056 601 604 625 +H +V) 1024x768 @ 60Hz (65000 1048 1184 1344 771 777 806 -H -V) 1024x768 @ 70Hz (75000 1048 1184 1328 771 777 806 -H -V) 1024x768 @ 75Hz (78750 1040 1136 1312 769 772 800 +H +V) 1280x1024 @ 75Hz (135000 1296 1440 1688 1025 1028 1066 +H +V) 1280x960 @ 60Hz (108000 1376 1488 1800 961 964 1000 +H +V) 1280x1024 @ 60Hz (108000 1328 1440 1688 1025 1028 1066 +H +V) 1440x900 @ 75Hz (136492 1536 1688 1936 901 904 940 +H +V) 1440x900 @ 60Hz (88750 1488 1520 1600 903 909 926 +H -V) Preferred mode: 1440x900 @ 60Hz Number of extension blocks: 1 IPU_CONF == 00000000 DC_MAP_CONF[0]: 00000000 -> -> 00000000 DC_MAP_CONF_VAL[00258144]: 00000000 -> 000007ff DC_MAP_CONF_PTR[00258108]: 00000000 -> 00000000 DC_MAP_CONF_VAL[00258144]: 000007ff -> 0fff07ff DC_MAP_CONF_PTR[00258108]: 00000000 -> 00000020 DC_MAP_CONF_VAL[00258148]: 00000000 -> 000017ff DC_MAP_CONF_PTR[00258108]: 00000020 -> 00000820 DC_WRITE_CH_CONF_5: 00000000 -> 00000002 DC_WRITE_CH_ADDR_5: 00000000 -> 0x00000000 DC_GEN: 00000060 -> 0x00000084 DI_BS_CLKGEN0: 00000000 DI_BS_CLKGEN1: 00000000 CCM_CS2CDR = 00000003 CCM_CSCMR2 = 7 CCM_CBCDR = 1 [PLL2] DW_GEN: 00000000 -> 00000300 DW_SET: 00000000 -> 00020000 DI0_SW_GEN0_1 00000000 -> 29f90000 DI0_SW_GEN1_1 00000000 -> 10000000 IPU_DI1_STP_REP1 00000000 -> 00000000 DI0_SW_GEN0_2 00000000 -> 29f90001 DI0_SW_GEN1_2 00000000 -> 31101000 IPU_DI1_STP_REP2 00000000 -> 00000000 DI0_SW_GEN0_3 00000000 -> 192a0000 DI0_SW_GEN1_3 00000000 -> 300c2000 IPU_DI1_STP_REP2 00000000 -> 00000000 DI0_SW_GEN0_4 00000000 -> 0003004b DI0_SW_GEN1_4 00000000 -> 08000000 IPU_DI1_STP_REP3 00000000 -> 03000000 DI0_SW_GEN0_5 00000000 -> 00010501 DI0_SW_GEN1_5 00000000 -> 0a000000 IPU_DI1_STP_REP3 00000000 -> 00000400 W1[5] 00000000 -> 00008885 W2[5] 00000000 -> 00000380 W1[5] 00000000 -> 00008845 W2[5] 00000000 -> 00000380 W1[5] 00000000 -> 00008805 W2[5] 00000000 -> 00000380 DI_GENERAL: 00200000 -> 00300004 (XXX) SYNC_AS_GEN: 00000000 -> 00004002 DB_MODE_SEL 00200150: 00000000 -> 00800000 DISP_GEN: 00400000 -> 01400000 00208004: 00000000 00208008: 00000000 00208004: 00000000 -> 00800000 CONF: 00000002 -> 00000082 fbd0 on fb0 VT: initialize with new VT driver "fb". usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen1.1: <Freescale> at usbus1 ugen0.1: <Freescale> at usbus0 uhub0: <Freescale EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 uhub1: <Freescale EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 mmcsd0: 16GB <SDHC 00000 1.0 SN 83DE14F6 MFG 07/2014 by 27 SM> at mmc0 50.0MHz/4bit/65535-block Release APs Root mount waiting for: usbus1 usbus0 uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered ugen1.2: <vendor 0x05e3> at usbus1 uhub2: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/9.01, addr 2> on usbus1 Root mount waiting for: usbus1 uhub2: 4 ports with 3 removable, self powered Root mount waiting for: usbus1 Root mount waiting for: usbus1 ugen1.3: <Maxtor> at usbus1 umass0: <Maxtor Basics Portable, class 0/0, rev 2.00/1.22, addr 3> on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:0:0: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: <Maxtor Basics Portable 0122> Fixed Direct Access SPC-2 SCSI device da0: Serial Number 2HB50SN0 da0: 40.000MB/s transfers da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C) da0: quirks=0x2<NO_6_BYTE> ugen1.4: <vendor 0x05e3> at usbus1 uhub3: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/9.01, addr 4> on usbus1 Root mount waiting for: usbus1 uhub3: 4 ports with 4 removable, self powered ugen1.5: <MOSART Semi.> at usbus1 ukbd0: <MOSART Semi. Rapoo 2.4G Wireless Touch Desktop, class 0/0, rev 1.10/1.07, addr 5> on usbus1 kbd1 at ukbd0 Root mount waiting for: usbus1 ugen1.6: <Myson Century, Inc.> at usbus1 umass1: <Mass Storage Class> on usbus1 umass1: 8070i (ATAPI) over Bulk-Only; quirks = 0x4080 umass1:1:1: Attached to scbus1 Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 da1: <TOSHIBA MK6021GAS GA02> Fixed Direct Access SCSI device da1: Serial Number 100 da1: 40.000MB/s transfers da1: 57231MB (117210240 512 byte sectors: 255H 63S/T 7296C) warning: no time-of-day clock registered, system time will not be set accurately da1: quirks=0x2<NO_6_BYTE> random: unblocking device. ffec0: link state changed to DOWN ums0: <MOSART Semi. Rapoo 2.4G Wireless Touch Desktop, class 0/0, rev 1.10/1.07, addr 5> on usbus1 ums0: 5 buttons and [XYZT] coordinates ID=3 ffec0: link state changed to UP ugen1.7: <vendor 0x04d9> at usbus1 ukbd1: <vendor 0x04d9 product 0x1400, class 0/0, rev 1.10/1.43, addr 7> on usbus1 kbd2 at ukbd1 ums1: <vendor 0x04d9 product 0x1400, class 0/0, rev 1.10/1.43, addr 7> on usbus1 ums1: 5 buttons and [XYZ] coordinates ID=1 --Multipart=_Tue__28_Jul_2015_07_18_54_+0000_nGhGu84a2sjPdWkZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150728071854.357c89785e048ae6d64c1c70>