Re: System-On-Module

2015-01-29 Thread Ganbold Tsagaankhuu
On Thu, Jan 29, 2015 at 4:18 PM, Lundberg, Johannes 
johan...@brilliantservice.co.jp wrote:

 Hi All

 Thanks again for all the replies.

 How is the support for A15 and how is Qualcomm to work with when it comes
 to porting?

 Thinking about this guy which is closer to what I want spec-wise..

 http://www.variscite.com/products/system-on-module-som/cortex-a15-krait/var-som-sd600-cpu-qualcomm-snapdragon600



I think IFC6410 has same SoC as above SoM and as for ifc6410 either mmc/sd
or usb ehci driver needed in order to boot FreeBSD into multi user mode.

Ganbold




 --
 Johannes Lundberg
 BRILLIANTSERVICE CO., LTD.

 On Thu, Jan 29, 2015 at 11:33 AM, Bernd Walter ti...@cicely7.cicely.de
 wrote:

  On Wed, Jan 28, 2015 at 05:36:00PM -0700, Ian Lepore wrote:
   On Thu, 2015-01-29 at 09:12 +0900, Lundberg, Johannes wrote:
Ah now I see it has EDM connection. I didn't look carefully enough.
  All the
images are with the expansion board attached..
   
Spec-wise and portability-wise it seems like a good option but my
  hardware
guy keeps warning me about Freescale that they often have hardware
  bugs and
rather than fixing the bugs they pretend they are not there.. In
 other
words, Freescale is good for software developers because of open
documentation but not so for hardware manufactures. Any experiences
  with
this?
  
   The imx6 manuals include an errata list, so it would be good to check
   that for anything specific that would matter to your projects.
 
  If you use a prebuild module then you don't get much in touch with
  the freescale chip fropm the hardware side.
  On the other hand, there are countless iMX6 boards out there with
  schematics online.
  My recently bought Novena even came with printed schematics and they
  open sourced the HW design files as well.
  I don't think there are hidden surprises on the hardware side.
 
   For the devices we use in our products everything is good so far with
   the hardware.  That's emmc, sdcard, ethernet, i2c, uarts, usb, and lots
   of gpio (inputs and outputs).  The ethernet is gigabit but has a known
   limitation of 40MB/s due to the bus it's connected to in the chip.
 (But
   hey, it's documented so it's not a problem, right? :)
  
   You mentioned video, and we don't have that working on freebsd imx6
 yet,
   but there's not a ton of work to do.  There's a framebuffer driver for
   imx5 and it has pretty much the same framebuffer hardware.  Getting
   video output to a TTL LCD is probably just hours of work.  Getting it
 to
   an LVDS LCD or HDMI probably needs days of work (entire drivers
 written,
   potentially, I haven't looked into it).
 
  Sounds interesting for my Novena.
  The one I already got are board only (with some FPGA breakout, ...).
  They have HDMI though.
  But I'm also awaiting for the one with case and LCD panel.
  Not to forget that I have a fairy EDM carrier with LCD already.
  That said I'v always wondered how much work is it to get the camera
  interface running, since the Hummingboards can connect to the RPi
  camera modules.
 
   Some audio support was recently committed, but I don't know much about
   it yet.
  
   -- Ian
  
  
 
  --
  B.Walter be...@bwct.de http://www.bwct.de
  Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
 

 --
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
 ---
 CONFIDENTIALITY NOTE: The information in this email is confidential
 and intended solely for the addressee.
 Disclosure, copying, distribution or any other action of use of this
 email by person other than intended recipient, is prohibited.
 If you are not the intended recipient and have received this email in
 error, please destroy the original message.
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: System-On-Module

2015-01-29 Thread Lundberg, Johannes
Hi All

Thanks again for all the replies.

How is the support for A15 and how is Qualcomm to work with when it comes
to porting?

Thinking about this guy which is closer to what I want spec-wise..
http://www.variscite.com/products/system-on-module-som/cortex-a15-krait/var-som-sd600-cpu-qualcomm-snapdragon600



--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.

On Thu, Jan 29, 2015 at 11:33 AM, Bernd Walter ti...@cicely7.cicely.de
wrote:

 On Wed, Jan 28, 2015 at 05:36:00PM -0700, Ian Lepore wrote:
  On Thu, 2015-01-29 at 09:12 +0900, Lundberg, Johannes wrote:
   Ah now I see it has EDM connection. I didn't look carefully enough.
 All the
   images are with the expansion board attached..
  
   Spec-wise and portability-wise it seems like a good option but my
 hardware
   guy keeps warning me about Freescale that they often have hardware
 bugs and
   rather than fixing the bugs they pretend they are not there.. In other
   words, Freescale is good for software developers because of open
   documentation but not so for hardware manufactures. Any experiences
 with
   this?
 
  The imx6 manuals include an errata list, so it would be good to check
  that for anything specific that would matter to your projects.

 If you use a prebuild module then you don't get much in touch with
 the freescale chip fropm the hardware side.
 On the other hand, there are countless iMX6 boards out there with
 schematics online.
 My recently bought Novena even came with printed schematics and they
 open sourced the HW design files as well.
 I don't think there are hidden surprises on the hardware side.

  For the devices we use in our products everything is good so far with
  the hardware.  That's emmc, sdcard, ethernet, i2c, uarts, usb, and lots
  of gpio (inputs and outputs).  The ethernet is gigabit but has a known
  limitation of 40MB/s due to the bus it's connected to in the chip.  (But
  hey, it's documented so it's not a problem, right? :)
 
  You mentioned video, and we don't have that working on freebsd imx6 yet,
  but there's not a ton of work to do.  There's a framebuffer driver for
  imx5 and it has pretty much the same framebuffer hardware.  Getting
  video output to a TTL LCD is probably just hours of work.  Getting it to
  an LVDS LCD or HDMI probably needs days of work (entire drivers written,
  potentially, I haven't looked into it).

 Sounds interesting for my Novena.
 The one I already got are board only (with some FPGA breakout, ...).
 They have HDMI though.
 But I'm also awaiting for the one with case and LCD panel.
 Not to forget that I have a fairy EDM carrier with LCD already.
 That said I'v always wondered how much work is it to get the camera
 interface running, since the Hummingboards can connect to the RPi
 camera modules.

  Some audio support was recently committed, but I don't know much about
  it yet.
 
  -- Ian
 
 

 --
 B.Walter be...@bwct.de http://www.bwct.de
 Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: System-On-Module

2015-01-29 Thread Lundberg, Johannes
What I'm most worried about is the graphics stack.. Some companies don't
seem so keen on handing out specs.

On Thursday, January 29, 2015, Ganbold Tsagaankhuu ganb...@gmail.com
wrote:



 On Thu, Jan 29, 2015 at 4:18 PM, Lundberg, Johannes 
 johan...@brilliantservice.co.jp
 javascript:_e(%7B%7D,'cvml','johan...@brilliantservice.co.jp'); wrote:

 Hi All

 Thanks again for all the replies.

 How is the support for A15 and how is Qualcomm to work with when it comes
 to porting?

 Thinking about this guy which is closer to what I want spec-wise..

 http://www.variscite.com/products/system-on-module-som/cortex-a15-krait/var-som-sd600-cpu-qualcomm-snapdragon600



 I think IFC6410 has same SoC as above SoM and as for ifc6410 either mmc/sd
 or usb ehci driver needed in order to boot FreeBSD into multi user mode.

 Ganbold




 --
 Johannes Lundberg
 BRILLIANTSERVICE CO., LTD.

 On Thu, Jan 29, 2015 at 11:33 AM, Bernd Walter ti...@cicely7.cicely.de
 javascript:_e(%7B%7D,'cvml','ti...@cicely7.cicely.de');
 wrote:

  On Wed, Jan 28, 2015 at 05:36:00PM -0700, Ian Lepore wrote:
   On Thu, 2015-01-29 at 09:12 +0900, Lundberg, Johannes wrote:
Ah now I see it has EDM connection. I didn't look carefully enough.
  All the
images are with the expansion board attached..
   
Spec-wise and portability-wise it seems like a good option but my
  hardware
guy keeps warning me about Freescale that they often have hardware
  bugs and
rather than fixing the bugs they pretend they are not there.. In
 other
words, Freescale is good for software developers because of open
documentation but not so for hardware manufactures. Any experiences
  with
this?
  
   The imx6 manuals include an errata list, so it would be good to check
   that for anything specific that would matter to your projects.
 
  If you use a prebuild module then you don't get much in touch with
  the freescale chip fropm the hardware side.
  On the other hand, there are countless iMX6 boards out there with
  schematics online.
  My recently bought Novena even came with printed schematics and they
  open sourced the HW design files as well.
  I don't think there are hidden surprises on the hardware side.
 
   For the devices we use in our products everything is good so far with
   the hardware.  That's emmc, sdcard, ethernet, i2c, uarts, usb, and
 lots
   of gpio (inputs and outputs).  The ethernet is gigabit but has a known
   limitation of 40MB/s due to the bus it's connected to in the chip.
 (But
   hey, it's documented so it's not a problem, right? :)
  
   You mentioned video, and we don't have that working on freebsd imx6
 yet,
   but there's not a ton of work to do.  There's a framebuffer driver for
   imx5 and it has pretty much the same framebuffer hardware.  Getting
   video output to a TTL LCD is probably just hours of work.  Getting it
 to
   an LVDS LCD or HDMI probably needs days of work (entire drivers
 written,
   potentially, I haven't looked into it).
 
  Sounds interesting for my Novena.
  The one I already got are board only (with some FPGA breakout, ...).
  They have HDMI though.
  But I'm also awaiting for the one with case and LCD panel.
  Not to forget that I have a fairy EDM carrier with LCD already.
  That said I'v always wondered how much work is it to get the camera
  interface running, since the Hummingboards can connect to the RPi
  camera modules.
 
   Some audio support was recently committed, but I don't know much about
   it yet.
  
   -- Ian
  
  
 
  --
  B.Walter be...@bwct.de javascript:_e(%7B%7D,'cvml','be...@bwct.de');
 http://www.bwct.de
  Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
 

 --
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
 ---
 CONFIDENTIALITY NOTE: The information in this email is confidential
 and intended solely for the addressee.
 Disclosure, copying, distribution or any other action of use of this
 email by person other than intended recipient, is prohibited.
 If you are not the intended recipient and have received this email in
 error, please destroy the original message.
 ___
 freebsd-current@freebsd.org
 javascript:_e(%7B%7D,'cvml','freebsd-current@freebsd.org'); mailing
 list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
 javascript:_e(%7B%7D,'cvml','freebsd-current-unsubscr...@freebsd.org');
 




-- 
--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.

Re: System-On-Module

2015-01-29 Thread Andrew Turner
On Thu, 29 Jan 2015 18:27:08 +0900
Lundberg, Johannes johan...@brilliantservice.co.jp wrote:

 What I'm most worried about is the graphics stack.. Some companies
 don't seem so keen on handing out specs.

The only ARM vendor I know that has released documentation on their 3D
hardware is Broadcom [1]. The only options for this are the Raspberry
Pi or one of the mobile phones with a Broadcom CPU. I neither option to
be applicable for your requirements.

Andrew

[1]
http://www.broadcom.com/docs/support/videocore/VideoCoreIV-AG100-R.pdf
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: drm2 regression: backlight adjustment on ivybridge no longer works

2015-01-29 Thread Ranjan1018 .
2015-01-28 10:11 GMT+01:00 Adrian Chadd adr...@freebsd.org:

 ugh, so because i can't sleep, I read the Linux i915 history for
 backlight changes.

 Turns out if I disable bit 30 in ivb_pch_pwm_override() to register
 BLC_PWM_PCH_CTL1, the acpi video setting works. The keyboard settings
 still don't, but I'll worry about that later.

 Bit 30 in the linux drm code is:

 #define   BLM_PCH_OVERRIDE_ENABLE   (1  30)

 The linux dri code doesn't set that for ivybridge - only for broadwell.

 (also, the linux driver has POSTING_READ() which I'm guessing is to
 ensure things made it out to the device and have been flushed before
 doing another IO operation.)

 I have my (via sysctl) panel backlight control working again.



 -adrian


Thank you guys,
the backlight control works again on my laptop with this patch, suggested
by Adrian :

--- sys/dev/drm2/i915/intel_display.c.orig   (revision 277487)
+++ sys/dev/drm2/i915/intel_display.c(working copy)
@@ -6995,7 +6995,7 @@
  */
 I915_WRITE(BLC_PWM_CPU_CTL2, PWM_ENABLE);
 I915_WRITE(BLC_PWM_CPU_CTL, 0);
-I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE | (130));
+I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE);
 }

 void intel_modeset_init_hw(struct drm_device *dev)

but the patch by Andrew does not hurts:
http://foxkit.us/FreeBSD/i915-uninitialised-var-fix.diff

I am running r277871 with both patches applied.

Regards,
Maurizio
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: System-On-Module

2015-01-29 Thread Ganbold Tsagaankhuu
On Thu, Jan 29, 2015 at 5:27 PM, Lundberg, Johannes 
johan...@brilliantservice.co.jp wrote:

 What I'm most worried about is the graphics stack.. Some companies don't
 seem so keen on handing out specs.


I think you can check some open source implementations for those GPU
related things (only for linux maybe):

For Vivante:
https://github.com/laanwj/etna_viv/wiki

For Adreno:
http://freedreno.github.io

For Mali:
http://limadriver.org

I guess they are mostly based on reverse engineering effort. I think you
can even ask about the statuses directly from the authors/maintainers on
some irc channel.

Not sure about Tegra or PowerVR.

Ganbold






 On Thursday, January 29, 2015, Ganbold Tsagaankhuu ganb...@gmail.com
 wrote:



 On Thu, Jan 29, 2015 at 4:18 PM, Lundberg, Johannes 
 johan...@brilliantservice.co.jp wrote:

 Hi All

 Thanks again for all the replies.

 How is the support for A15 and how is Qualcomm to work with when it comes
 to porting?

 Thinking about this guy which is closer to what I want spec-wise..

 http://www.variscite.com/products/system-on-module-som/cortex-a15-krait/var-som-sd600-cpu-qualcomm-snapdragon600



 I think IFC6410 has same SoC as above SoM and as for ifc6410 either
 mmc/sd or usb ehci driver needed in order to boot FreeBSD into multi user
 mode.

 Ganbold




 --
 Johannes Lundberg
 BRILLIANTSERVICE CO., LTD.

 On Thu, Jan 29, 2015 at 11:33 AM, Bernd Walter ti...@cicely7.cicely.de
 wrote:

  On Wed, Jan 28, 2015 at 05:36:00PM -0700, Ian Lepore wrote:
   On Thu, 2015-01-29 at 09:12 +0900, Lundberg, Johannes wrote:
Ah now I see it has EDM connection. I didn't look carefully enough.
  All the
images are with the expansion board attached..
   
Spec-wise and portability-wise it seems like a good option but my
  hardware
guy keeps warning me about Freescale that they often have hardware
  bugs and
rather than fixing the bugs they pretend they are not there.. In
 other
words, Freescale is good for software developers because of open
documentation but not so for hardware manufactures. Any experiences
  with
this?
  
   The imx6 manuals include an errata list, so it would be good to check
   that for anything specific that would matter to your projects.
 
  If you use a prebuild module then you don't get much in touch with
  the freescale chip fropm the hardware side.
  On the other hand, there are countless iMX6 boards out there with
  schematics online.
  My recently bought Novena even came with printed schematics and they
  open sourced the HW design files as well.
  I don't think there are hidden surprises on the hardware side.
 
   For the devices we use in our products everything is good so far with
   the hardware.  That's emmc, sdcard, ethernet, i2c, uarts, usb, and
 lots
   of gpio (inputs and outputs).  The ethernet is gigabit but has a
 known
   limitation of 40MB/s due to the bus it's connected to in the chip.
 (But
   hey, it's documented so it's not a problem, right? :)
  
   You mentioned video, and we don't have that working on freebsd imx6
 yet,
   but there's not a ton of work to do.  There's a framebuffer driver
 for
   imx5 and it has pretty much the same framebuffer hardware.  Getting
   video output to a TTL LCD is probably just hours of work.  Getting
 it to
   an LVDS LCD or HDMI probably needs days of work (entire drivers
 written,
   potentially, I haven't looked into it).
 
  Sounds interesting for my Novena.
  The one I already got are board only (with some FPGA breakout, ...).
  They have HDMI though.
  But I'm also awaiting for the one with case and LCD panel.
  Not to forget that I have a fairy EDM carrier with LCD already.
  That said I'v always wondered how much work is it to get the camera
  interface running, since the Hummingboards can connect to the RPi
  camera modules.
 
   Some audio support was recently committed, but I don't know much
 about
   it yet.
  
   -- Ian
  
  
 
  --
  B.Walter be...@bwct.de http://www.bwct.de
  Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
 

 --
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
 ---
 CONFIDENTIALITY NOTE: The information in this email is confidential
 and intended solely for the addressee.
 Disclosure, copying, distribution or any other action of use of this
 email by person other than intended recipient, is prohibited.
 If you are not the intended recipient and have received this email in
 error, please destroy the original message.
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to 
 freebsd-current-unsubscr...@freebsd.org




 --
 --
 Johannes Lundberg
 BRILLIANTSERVICE CO., LTD.


 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 

Re: System-On-Module

2015-01-29 Thread Bernd Walter
On Thu, Jan 29, 2015 at 11:39:30AM +, Andrew Turner wrote:
 On Thu, 29 Jan 2015 18:27:08 +0900
 Lundberg, Johannes johan...@brilliantservice.co.jp wrote:
 
  What I'm most worried about is the graphics stack.. Some companies
  don't seem so keen on handing out specs.
 
 The only ARM vendor I know that has released documentation on their 3D
 hardware is Broadcom [1]. The only options for this are the Raspberry
 Pi or one of the mobile phones with a Broadcom CPU. I neither option to
 be applicable for your requirements.

On the other hand people still struggle when it comes to CPI on RPi,
because it is handled by the GPU.
I'm still not so sure about this Broadcom SoC.
This is the reason why I like that the RPi Camera header is also used
on the Hummingboard and the BanannaPi.
The Hummingboard is an iMX6.
The BanannaPi unfortunately is an Allwinner and their datasheets are
AFAIK chinese only and IIRC also under NDA.

The Novena crown funding included iMX6 2D/3D driver development for Linux
as a met stretch goal:
https://www.crowdsupply.com/kosagi/novena-open-laptop/stretch-goals
https://www.crowdsupply.com/kosagi/novena-open-laptop
I don't know how much of the results will be useable for us, but at
least some people seem to have access to enough documentation.

 Andrew
 
 [1]
 http://www.broadcom.com/docs/support/videocore/VideoCoreIV-AG100-R.pdf

-- 
B.Walter be...@bwct.de http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: drm2 regression: backlight adjustment on ivybridge no longer works

2015-01-29 Thread Alexandr Krivulya
29.01.2015 12:46, Ranjan1018 . пишет:
 2015-01-28 10:11 GMT+01:00 Adrian Chadd adr...@freebsd.org:

 ugh, so because i can't sleep, I read the Linux i915 history for
 backlight changes.

 Turns out if I disable bit 30 in ivb_pch_pwm_override() to register
 BLC_PWM_PCH_CTL1, the acpi video setting works. The keyboard settings
 still don't, but I'll worry about that later.

 Bit 30 in the linux drm code is:

 #define   BLM_PCH_OVERRIDE_ENABLE   (1  30)

 The linux dri code doesn't set that for ivybridge - only for broadwell.

 (also, the linux driver has POSTING_READ() which I'm guessing is to
 ensure things made it out to the device and have been flushed before
 doing another IO operation.)

 I have my (via sysctl) panel backlight control working again.



 -adrian

 Thank you guys,
 the backlight control works again on my laptop with this patch, suggested
 by Adrian :

 --- sys/dev/drm2/i915/intel_display.c.orig   (revision 277487)
 +++ sys/dev/drm2/i915/intel_display.c(working copy)
 @@ -6995,7 +6995,7 @@
   */
  I915_WRITE(BLC_PWM_CPU_CTL2, PWM_ENABLE);
  I915_WRITE(BLC_PWM_CPU_CTL, 0);
 -I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE | (130));
 +I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE);
  }

  void intel_modeset_init_hw(struct drm_device *dev)


This patch fixes problem for me too, but only when acpi_video module is
not loaded. With acpi_video loaded I still see this errors (but it's
probably another topic):

Jan 29 19:02:27 thinkpad kernel: ACPI Exception: AE_AML_PACKAGE_LIMIT,
Index (0x000FF) is beyond end of object (length 0x16)
(20140926/exoparg2-452)
Jan 29 19:02:27 thinkpad kernel: ACPI Error: Method parse/execution
failed [\_SB_.PCI0.LPCB.EC0_.BRNS] (Node 0xf80007541b00),
AE_AML_PACKAGE_LIMIT (20140926/psparse-552)
Jan 29 19:02:27 thinkpad kernel: ACPI Error: Method parse/execution
failed [\_SB_.PCI0.VID_.LCD0._BCM] (Node 0xf80007550280),
AE_AML_PACKAGE_LIMIT (20140926/psparse-552)
Jan 29 19:02:27 thinkpad kernel: can't evaluate
\_SB_.PCI0.VID_.LCD0._BCM - AE_AML_PACKAGE_LIMIT
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: i915kms.ko: when loaded with Haswell HD4600, display goes blank

2015-01-29 Thread NGie Cooper
On Thu, Jan 29, 2015 at 10:52 AM, O. Hartmann
ohart...@zedat.fu-berlin.de wrote:

 Having trouble with loading i915kms.ko on a Haswell-based Lenovo ThinkPad 
 E540. The
 laptop is equippted with a Intel i5-4200M CPU with integrated HD4600 iGPU. 
 Recent update
 of CURRENT and loading of i915kms.ko turns the display immediately blank. 
 Laptop is
 accessible via ssh and network. Only display is dead.

 I suppose this a bug?

Yes, very much so. What's your svn revision and can you please create
a bug for this issue?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


i915kms.ko: when loaded with Haswell HD4600, display goes blank

2015-01-29 Thread O. Hartmann

Having trouble with loading i915kms.ko on a Haswell-based Lenovo ThinkPad E540. 
The
laptop is equippted with a Intel i5-4200M CPU with integrated HD4600 iGPU. 
Recent update
of CURRENT and loading of i915kms.ko turns the display immediately blank. 
Laptop is
accessible via ssh and network. Only display is dead.

I suppose this a bug?

regards,

oh 


pgp9UYq5E7J9x.pgp
Description: OpenPGP digital signature


Re: i915kms.ko: when loaded with Haswell HD4600, display goes blank

2015-01-29 Thread NGie Cooper
On Thu, Jan 29, 2015 at 11:18 AM, NGie Cooper yaneurab...@gmail.com wrote:
 On Thu, Jan 29, 2015 at 10:52 AM, O. Hartmann
 ohart...@zedat.fu-berlin.de wrote:

 Having trouble with loading i915kms.ko on a Haswell-based Lenovo ThinkPad 
 E540. The
 laptop is equippted with a Intel i5-4200M CPU with integrated HD4600 iGPU. 
 Recent update
 of CURRENT and loading of i915kms.ko turns the display immediately blank. 
 Laptop is
 accessible via ssh and network. Only display is dead.

 I suppose this a bug?

 Yes, very much so. What's your svn revision and can you please create
 a bug for this issue?

Please also read the thread titled drm2 regression: backlight
adjustment on ivybridge no longer works first to see if the symptoms
describe there match your's.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: i915kms.ko: when loaded with Haswell HD4600, display goes blank

2015-01-29 Thread Adrian Chadd
wait a sec - before the dri2 update, what exactly were you doing? What
happened when you loaded i915kms? Nothing should've been found and no
i915 driver should've been running

There's no haswell support for i915kms, so it shouldn't have worked
/at all/. You should've just gotten either vt(4) or sc(4) + vesa as a
console, and VESA graphics.

As a workaround, you can just not load i915kms, or patch i915kms to
not detect your haswell chipset.



-adrian
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: System-On-Module

2015-01-29 Thread Lundberg, Johannes
How about GPU 2D  3D support for Vivante GC2000?

There seem to be some open source driver out there but its GPL

GPU acceleration for 2D and 3D is a must for us and if it is only a matter
of a few programmers time and effort we can invest in it.

Can there be any blocking things like proprietary software/hardware etc?


--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.

On Thu, Jan 29, 2015 at 9:36 AM, Ian Lepore i...@freebsd.org wrote:

 On Thu, 2015-01-29 at 09:12 +0900, Lundberg, Johannes wrote:
  Ah now I see it has EDM connection. I didn't look carefully enough. All
 the
  images are with the expansion board attached..
 
  Spec-wise and portability-wise it seems like a good option but my
 hardware
  guy keeps warning me about Freescale that they often have hardware bugs
 and
  rather than fixing the bugs they pretend they are not there.. In other
  words, Freescale is good for software developers because of open
  documentation but not so for hardware manufactures. Any experiences with
  this?

 The imx6 manuals include an errata list, so it would be good to check
 that for anything specific that would matter to your projects.

 For the devices we use in our products everything is good so far with
 the hardware.  That's emmc, sdcard, ethernet, i2c, uarts, usb, and lots
 of gpio (inputs and outputs).  The ethernet is gigabit but has a known
 limitation of 40MB/s due to the bus it's connected to in the chip.  (But
 hey, it's documented so it's not a problem, right? :)

 You mentioned video, and we don't have that working on freebsd imx6 yet,
 but there's not a ton of work to do.  There's a framebuffer driver for
 imx5 and it has pretty much the same framebuffer hardware.  Getting
 video output to a TTL LCD is probably just hours of work.  Getting it to
 an LVDS LCD or HDMI probably needs days of work (entire drivers written,
 potentially, I haven't looked into it).

 Some audio support was recently committed, but I don't know much about
 it yet.

 -- Ian




-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: i915kms.ko: when loaded with Haswell HD4600, display goes blank

2015-01-29 Thread O. Hartmann
Am Thu, 29 Jan 2015 11:19:38 -0800
NGie Cooper yaneurab...@gmail.com schrieb:

 On Thu, Jan 29, 2015 at 11:18 AM, NGie Cooper yaneurab...@gmail.com wrote:
  On Thu, Jan 29, 2015 at 10:52 AM, O. Hartmann
  ohart...@zedat.fu-berlin.de wrote:
 
  Having trouble with loading i915kms.ko on a Haswell-based Lenovo ThinkPad 
  E540. The
  laptop is equippted with a Intel i5-4200M CPU with integrated HD4600 iGPU. 
  Recent
  update of CURRENT and loading of i915kms.ko turns the display immediately 
  blank.
  Laptop is accessible via ssh and network. Only display is dead.
 
  I suppose this a bug?
 
  Yes, very much so. What's your svn revision and can you please create
  a bug for this issue?
 
 Please also read the thread titled drm2 regression: backlight
 adjustment on ivybridge no longer works first to see if the symptoms
 describe there match your's.


That is useless, since the reported symptomes do not apply to non-working 
Haswell.

Since the last update of the OS - today, CURRENT 277900, the high res console 
is gone and
has fallen back to the 800x600 pixel. The same with the X11 server's display 
resolution.
I can not use VESA driver on the Lenovo ThinkPad E540 with i5-4200M, since it 
doesn't
startup. I have to use  xf86-video-scfb which is a pain in the ass.

An alternative is to use Ubuntu on the Lenovo E540 and L540 we purchased.


pgpBGSe3I4P8U.pgp
Description: OpenPGP digital signature