Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-29 Thread Ian Campbell
On Mon, 2014-12-29 at 10:17 +0800, Chen Baozi wrote:
  On Dec 28, 2014, at 17:08, Ian Campbell i...@debian.org wrote:
  
  On Fri, 2014-12-26 at 18:43 +0800, Chen Baozi wrote:
  
  With the attached patch applied, debian installer (tested with 
  network-console)
  can support OMAP5's ethernet driver and external MicroSD card.
  
  Note that I added related regulator  phy entries to files that mainly 
  writes
  the modules which use them, since there is no file dedicated to those
  modules.
  
  Do you know if phy-ti-pipe3 is used exclusively by USB or just only
  within the set of things used in the d-i context? Likewise the two
  regulators added to mmc?
 
 So far as I can tell from DTS, there are two types of modules use
 phy-ti-pipe3, which are ‘usb3’ and ‘sata’. But I am not quite sure
 how the hardware modules are connected.
 
 And pbias seems be only meaningful to mmc, and palmas relates to many
 other devices of the board.

Thanks. I think palmas is a candidate to be built in then. I'll do that.

I'm not entirely sure what to do about phy-ti-pipe3, you've added it to
usb-modules but I suppose SATA won't necessarily work if we do that. I
think I'd be inclined to build it in for now rather than make drastic
changes to the udebs for Jessie.
 
Ian.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-29 Thread Ian Campbell
On Fri, 2014-12-26 at 18:43 +0800, Chen Baozi wrote:
 On Tue, Dec 23, 2014 at 7:44 PM, Ian Campbell i...@debian.org wrote:
  On Tue, 2014-12-23 at 16:27 +0800, Chen Baozi wrote:
  I have a glance at the kernel’s installer configs and tried the netboot
  without any modification. Some work should be done to make debian-installer
  support OMAP5 uEVM (e.g., ethernet driver etc).
 
  Right, those should be listed in e.g.
  debian/installer/armhf/modules/armhf-armmp/nic-modules.
 
  By waiting the kernel building with some initial attempted configs added,
  just one question to ask. I looked through the
  debian/installer/armhf/modules/armhf-armmp/, but it looks like none of
  files is about regulator modules. However, according to my previous
  experience, missing regulator driver modules is the main reason that
  the old debian kernel doesn’t support OMAP5 uEVM. How does debian-installer
  deal with this situation (if it does need extra regulator drivers 
  included?)
 
  Long term its a bit of an open question what we do wrt modules such as
  regulators, clocks, pinctrl etc.
 
  So far we have been a bit lucky: either such things are so central to
  the platform that it is acceptable (at least for now) to just build them
  into the main kernel binary by making them =y (e.g. CONFIG_I2C_S3C2410
  which is for the main power controller on arndale) or they are closely
  associated with some particular device and it makes sense to put them in
  that udeb (e.g. phy-exynos5250-sata in sata-modules, or phy-sun4i-usb in
  usb-modules).
 
  Eventually I expect that we will end up creating separate udebs for
  these things, but I'm hoping that we can defer that until at least
  Stretch to avoid needing to mess around with any more new packages for
  Jessie.
 
  If uEVM has some module which either shouldn't be built in or isn't
  obviously associated with a particular device let us know what it is and
  we can have a think about how best to approach it.
 
  One thing I've played with, and I'm not sure if this is acceptable or
  not, is to put core drivers which aren't =y into the kernel-image udeb
  itself. I'm not really sure if that's a good idea, we don't currently do
  this for anything AFAIK, but it's perhaps an option.
 
 With the attached patch applied, debian installer (tested with 
 network-console)
 can support OMAP5's ethernet driver and external MicroSD card.
 
 Note that I added related regulator  phy entries to files that mainly writes
 the modules which use them, since there is no file dedicated to those
 modules.

Here is what I went with (am build testing now, will push to svn once
done):

commit e05093889458a806352d3e281b2f20db098925fb
Author: Ian Campbell i...@debian.org
Date:   Mon Dec 29 14:36:47 2014 +

Updates to udebs for OMAP5432 uEVM support.

Based on a patch from Chen Baozi. Added pbias-regulator to mmc-modules and
ohci-omap3, ehci-omap and phy-omap-usb2 to usb-modules (dwc3-omap was 
already
present).

Enabled CONFIG_REGULATOR_PALMAS and CONFIG_TI_PIPE3 as builtin since they 
are
used by multiple subsystems.

diff --git a/debian/config/armhf/config.armmp b/debian/config/armhf/config.armmp
index 8781e59..62e512f 100644
--- a/debian/config/armhf/config.armmp
+++ b/debian/config/armhf/config.armmp
@@ -579,7 +579,7 @@ CONFIG_PCI_MVEBU=y
 ##
 CONFIG_OMAP_CONTROL_PHY=m
 CONFIG_OMAP_USB2=m
-CONFIG_TI_PIPE3=m
+CONFIG_TI_PIPE3=y
 CONFIG_TWL4030_USB=m
 CONFIG_PHY_EXYNOS5250_SATA=m
 CONFIG_PHY_SUN4I_USB=m
@@ -638,7 +638,7 @@ CONFIG_REGULATOR_TWL4030=y
 CONFIG_REGULATOR_VEXPRESS=m
 CONFIG_REGULATOR_PBIAS=m
 CONFIG_REGULATOR_TI_ABB=m
-CONFIG_REGULATOR_PALMAS=m
+CONFIG_REGULATOR_PALMAS=y
 
 ##
 ## file: drivers/rtc/Kconfig
diff --git a/debian/installer/armhf/modules/armhf-armmp/mmc-modules 
b/debian/installer/armhf/modules/armhf-armmp/mmc-modules
index 5718bd2..6ebd458 100644
--- a/debian/installer/armhf/modules/armhf-armmp/mmc-modules
+++ b/debian/installer/armhf/modules/armhf-armmp/mmc-modules
@@ -4,3 +4,4 @@ mmci
 omap_hsmmc
 sunxi-mmc
 dw_mmc-exynos
+pbias-regulator
diff --git a/debian/installer/armhf/modules/armhf-armmp/usb-modules 
b/debian/installer/armhf/modules/armhf-armmp/usb-modules
index 0828c55..f00b24f 100644
--- a/debian/installer/armhf/modules/armhf-armmp/usb-modules
+++ b/debian/installer/armhf/modules/armhf-armmp/usb-modules
@@ -3,7 +3,10 @@ phy-sun4i-usb
 dwc3-exynos
 dwc3-omap
 ohci-exynos
+ohci-omap3
 ehci-exynos
+ehci-omap
 phy-exynos-usb2
+phy-omap-usb2
 ci_hdrc_imx
 phy-mxs-usb



 
 Baozi.
 
 ---
 diff -Nru linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 --- linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 2014-09-21 20:04:21.0 +
 +++ linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 2014-12-26 03:16:02.0 +
 @@ -4,3 +4,5 @@
  omap_hsmmc
  sunxi-mmc
  dw_mmc-exynos
 +pbias-regulator
 

Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-28 Thread Ian Campbell
On Fri, 2014-12-26 at 18:43 +0800, Chen Baozi wrote:
 On Tue, Dec 23, 2014 at 7:44 PM, Ian Campbell i...@debian.org wrote:
  On Tue, 2014-12-23 at 16:27 +0800, Chen Baozi wrote:
  I have a glance at the kernel’s installer configs and tried the netboot
  without any modification. Some work should be done to make debian-installer
  support OMAP5 uEVM (e.g., ethernet driver etc).
 
  Right, those should be listed in e.g.
  debian/installer/armhf/modules/armhf-armmp/nic-modules.
 
  By waiting the kernel building with some initial attempted configs added,
  just one question to ask. I looked through the
  debian/installer/armhf/modules/armhf-armmp/, but it looks like none of
  files is about regulator modules. However, according to my previous
  experience, missing regulator driver modules is the main reason that
  the old debian kernel doesn’t support OMAP5 uEVM. How does debian-installer
  deal with this situation (if it does need extra regulator drivers 
  included?)
 
  Long term its a bit of an open question what we do wrt modules such as
  regulators, clocks, pinctrl etc.
 
  So far we have been a bit lucky: either such things are so central to
  the platform that it is acceptable (at least for now) to just build them
  into the main kernel binary by making them =y (e.g. CONFIG_I2C_S3C2410
  which is for the main power controller on arndale) or they are closely
  associated with some particular device and it makes sense to put them in
  that udeb (e.g. phy-exynos5250-sata in sata-modules, or phy-sun4i-usb in
  usb-modules).
 
  Eventually I expect that we will end up creating separate udebs for
  these things, but I'm hoping that we can defer that until at least
  Stretch to avoid needing to mess around with any more new packages for
  Jessie.
 
  If uEVM has some module which either shouldn't be built in or isn't
  obviously associated with a particular device let us know what it is and
  we can have a think about how best to approach it.
 
  One thing I've played with, and I'm not sure if this is acceptable or
  not, is to put core drivers which aren't =y into the kernel-image udeb
  itself. I'm not really sure if that's a good idea, we don't currently do
  this for anything AFAIK, but it's perhaps an option.
 
 With the attached patch applied, debian installer (tested with 
 network-console)
 can support OMAP5's ethernet driver and external MicroSD card.
 
 Note that I added related regulator  phy entries to files that mainly writes
 the modules which use them, since there is no file dedicated to those
 modules.

Do you know if phy-ti-pipe3 is used exclusively by USB or just only
within the set of things used in the d-i context? Likewise the two
regulators added to mmc?

 
 Baozi.
 
 ---
 diff -Nru linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 --- linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 2014-09-21 20:04:21.0 +
 +++ linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 2014-12-26 03:16:02.0 +
 @@ -4,3 +4,5 @@
  omap_hsmmc
  sunxi-mmc
  dw_mmc-exynos
 +pbias-regulator
 +palmas-regulator
 diff -Nru linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/usb-modules
 linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/usb-modules
 --- linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/usb-modules
 2014-12-23 08:10:49.0 +
 +++ linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/usb-modules
 2014-12-25 02:56:08.0 +
 @@ -1,8 +1,13 @@
  #include usb-modules
  phy-sun4i-usb
  dwc3-exynos
  ohci-exynos
  ehci-exynos
  phy-exynos-usb2
  ci_hdrc_imx
 +phy-mxs-usb

Ack to your followup comment on this one.

 +dwc3-omap
 +ohci-omap3
 +ehci-omap
 +phy-omap-usb2
 +phy-ti-pipe3
 


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-28 Thread Chen Baozi

 On Dec 28, 2014, at 17:08, Ian Campbell i...@debian.org wrote:
 
 On Fri, 2014-12-26 at 18:43 +0800, Chen Baozi wrote:
 
 With the attached patch applied, debian installer (tested with 
 network-console)
 can support OMAP5's ethernet driver and external MicroSD card.
 
 Note that I added related regulator  phy entries to files that mainly writes
 the modules which use them, since there is no file dedicated to those
 modules.
 
 Do you know if phy-ti-pipe3 is used exclusively by USB or just only
 within the set of things used in the d-i context? Likewise the two
 regulators added to mmc?

So far as I can tell from DTS, there are two types of modules use
phy-ti-pipe3, which are ‘usb3’ and ‘sata’. But I am not quite sure
how the hardware modules are connected.

And pbias seems be only meaningful to mmc, and palmas relates to many
other devices of the board.

Baozi.


signature.asc
Description: Message signed with OpenPGP using GPGMail


Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-26 Thread Chen Baozi
On Tue, Dec 23, 2014 at 7:44 PM, Ian Campbell i...@debian.org wrote:
 On Tue, 2014-12-23 at 16:27 +0800, Chen Baozi wrote:
 I have a glance at the kernel’s installer configs and tried the netboot
 without any modification. Some work should be done to make debian-installer
 support OMAP5 uEVM (e.g., ethernet driver etc).

 Right, those should be listed in e.g.
 debian/installer/armhf/modules/armhf-armmp/nic-modules.

 By waiting the kernel building with some initial attempted configs added,
 just one question to ask. I looked through the
 debian/installer/armhf/modules/armhf-armmp/, but it looks like none of
 files is about regulator modules. However, according to my previous
 experience, missing regulator driver modules is the main reason that
 the old debian kernel doesn’t support OMAP5 uEVM. How does debian-installer
 deal with this situation (if it does need extra regulator drivers included?)

 Long term its a bit of an open question what we do wrt modules such as
 regulators, clocks, pinctrl etc.

 So far we have been a bit lucky: either such things are so central to
 the platform that it is acceptable (at least for now) to just build them
 into the main kernel binary by making them =y (e.g. CONFIG_I2C_S3C2410
 which is for the main power controller on arndale) or they are closely
 associated with some particular device and it makes sense to put them in
 that udeb (e.g. phy-exynos5250-sata in sata-modules, or phy-sun4i-usb in
 usb-modules).

 Eventually I expect that we will end up creating separate udebs for
 these things, but I'm hoping that we can defer that until at least
 Stretch to avoid needing to mess around with any more new packages for
 Jessie.

 If uEVM has some module which either shouldn't be built in or isn't
 obviously associated with a particular device let us know what it is and
 we can have a think about how best to approach it.

 One thing I've played with, and I'm not sure if this is acceptable or
 not, is to put core drivers which aren't =y into the kernel-image udeb
 itself. I'm not really sure if that's a good idea, we don't currently do
 this for anything AFAIK, but it's perhaps an option.

With the attached patch applied, debian installer (tested with network-console)
can support OMAP5's ethernet driver and external MicroSD card.

Note that I added related regulator  phy entries to files that mainly writes
the modules which use them, since there is no file dedicated to those
modules.

Baozi.

---
diff -Nru linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/mmc-modules
linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/mmc-modules
--- linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/mmc-modules
2014-09-21 20:04:21.0 +
+++ linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/mmc-modules
2014-12-26 03:16:02.0 +
@@ -4,3 +4,5 @@
 omap_hsmmc
 sunxi-mmc
 dw_mmc-exynos
+pbias-regulator
+palmas-regulator
diff -Nru linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/usb-modules
linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/usb-modules
--- linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/usb-modules
2014-12-23 08:10:49.0 +
+++ linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/usb-modules
2014-12-25 02:56:08.0 +
@@ -1,8 +1,13 @@
 #include usb-modules
 phy-sun4i-usb
 dwc3-exynos
 ohci-exynos
 ehci-exynos
 phy-exynos-usb2
 ci_hdrc_imx
+phy-mxs-usb
+dwc3-omap
+ohci-omap3
+ehci-omap
+phy-omap-usb2
+phy-ti-pipe3


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-26 Thread Chen Baozi
On Fri, Dec 26, 2014 at 6:43 PM, Chen Baozi baoz...@gmail.com wrote:
 On Tue, Dec 23, 2014 at 7:44 PM, Ian Campbell i...@debian.org wrote:
 On Tue, 2014-12-23 at 16:27 +0800, Chen Baozi wrote:
 I have a glance at the kernel’s installer configs and tried the netboot
 without any modification. Some work should be done to make debian-installer
 support OMAP5 uEVM (e.g., ethernet driver etc).

 Right, those should be listed in e.g.
 debian/installer/armhf/modules/armhf-armmp/nic-modules.

 By waiting the kernel building with some initial attempted configs added,
 just one question to ask. I looked through the
 debian/installer/armhf/modules/armhf-armmp/, but it looks like none of
 files is about regulator modules. However, according to my previous
 experience, missing regulator driver modules is the main reason that
 the old debian kernel doesn’t support OMAP5 uEVM. How does debian-installer
 deal with this situation (if it does need extra regulator drivers included?)

 Long term its a bit of an open question what we do wrt modules such as
 regulators, clocks, pinctrl etc.

 So far we have been a bit lucky: either such things are so central to
 the platform that it is acceptable (at least for now) to just build them
 into the main kernel binary by making them =y (e.g. CONFIG_I2C_S3C2410
 which is for the main power controller on arndale) or they are closely
 associated with some particular device and it makes sense to put them in
 that udeb (e.g. phy-exynos5250-sata in sata-modules, or phy-sun4i-usb in
 usb-modules).

 Eventually I expect that we will end up creating separate udebs for
 these things, but I'm hoping that we can defer that until at least
 Stretch to avoid needing to mess around with any more new packages for
 Jessie.

 If uEVM has some module which either shouldn't be built in or isn't
 obviously associated with a particular device let us know what it is and
 we can have a think about how best to approach it.

 One thing I've played with, and I'm not sure if this is acceptable or
 not, is to put core drivers which aren't =y into the kernel-image udeb
 itself. I'm not really sure if that's a good idea, we don't currently do
 this for anything AFAIK, but it's perhaps an option.

 With the attached patch applied, debian installer (tested with 
 network-console)
 can support OMAP5's ethernet driver and external MicroSD card.

 Note that I added related regulator  phy entries to files that mainly writes
 the modules which use them, since there is no file dedicated to those
 modules.

 Baozi.

 ---
 diff -Nru linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 --- linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 2014-09-21 20:04:21.0 +
 +++ linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/mmc-modules
 2014-12-26 03:16:02.0 +
 @@ -4,3 +4,5 @@
  omap_hsmmc
  sunxi-mmc
  dw_mmc-exynos
 +pbias-regulator
 +palmas-regulator
 diff -Nru linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/usb-modules
 linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/usb-modules
 --- linux-3.16.7/debian/installer/armhf/modules/armhf-armmp/usb-modules
 2014-12-23 08:10:49.0 +
 +++ linux-3.16.7-ckt2/debian/installer/armhf/modules/armhf-armmp/usb-modules
 2014-12-25 02:56:08.0 +
 @@ -1,8 +1,13 @@
  #include usb-modules
  phy-sun4i-usb
  dwc3-exynos
  ohci-exynos
  ehci-exynos
  phy-exynos-usb2
  ci_hdrc_imx
 +phy-mxs-usb
   ^ Oops, this is introduced by '-ckt2', not by me...

 +dwc3-omap
 +ohci-omap3
 +ehci-omap
 +phy-omap-usb2
 +phy-ti-pipe3


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-23 Thread Chen Baozi
Hi Ian,

 On Dec 17, 2014, at 16:38, Ian Campbell i...@debian.org wrote:
 
 On Wed, 2014-12-17 at 15:10 +0800, Chen Baozi wrote:
 Hi Ian,
 
 On Dec 13, 2014, at 20:21, Ian Campbell i...@debian.org wrote:
 
 If you care about Debian Installer support then you should also check
 whether any of the newly added modules need to be added to the installer
 udebs (which you can mainly do via the module lists under
 debian/installer/armhf/modules/armhf-armmp/). I've added dwc3-omap to
 usb-modules already since that one seemed obvious.
 
 I haven't tried debian-installer on arm platform before. I guess people
 usually don’t use it as a CD/DVD installer image like x86 on arm?
 
 I usually use netboot, others use hd-media from USB sticks etc.
 
 Any pre-built image for a quick test? Do I need to generate the image by
 myself?
 
 There are daily installer images at
 http://d-i.debian.org/daily-images/armhf/ but these are built from the
 kernel etc in sid not from svn, i.e. don't yet include the changes to
 enable uEVM, so until the kernel is next uploaded you would indeed need
 to build d-i yourself.
 
 That's not too hard: Take all the udebs from your kernel build (e.g.
 from dcmd --udeb linux_..._armhf.changes) and put them in the
 build/localudebs directory of the debian-installer.git. Then:
 make -C build build_netboot
 etc. It doesn't (easily?) cross compile, so you will need an armhf host.

I have a glance at the kernel’s installer configs and tried the netboot
without any modification. Some work should be done to make debian-installer
support OMAP5 uEVM (e.g., ethernet driver etc).

By waiting the kernel building with some initial attempted configs added,
just one question to ask. I looked through the 
debian/installer/armhf/modules/armhf-armmp/, but it looks like none of
files is about regulator modules. However, according to my previous
experience, missing regulator driver modules is the main reason that
the old debian kernel doesn’t support OMAP5 uEVM. How does debian-installer
deal with this situation (if it does need extra regulator drivers included?)

Cheers,

Baozi


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-23 Thread Ian Campbell
On Tue, 2014-12-23 at 16:27 +0800, Chen Baozi wrote:
 I have a glance at the kernel’s installer configs and tried the netboot
 without any modification. Some work should be done to make debian-installer
 support OMAP5 uEVM (e.g., ethernet driver etc).

Right, those should be listed in e.g.
debian/installer/armhf/modules/armhf-armmp/nic-modules.

 By waiting the kernel building with some initial attempted configs added,
 just one question to ask. I looked through the 
 debian/installer/armhf/modules/armhf-armmp/, but it looks like none of
 files is about regulator modules. However, according to my previous
 experience, missing regulator driver modules is the main reason that
 the old debian kernel doesn’t support OMAP5 uEVM. How does debian-installer
 deal with this situation (if it does need extra regulator drivers included?)

Long term its a bit of an open question what we do wrt modules such as
regulators, clocks, pinctrl etc.

So far we have been a bit lucky: either such things are so central to
the platform that it is acceptable (at least for now) to just build them
into the main kernel binary by making them =y (e.g. CONFIG_I2C_S3C2410
which is for the main power controller on arndale) or they are closely
associated with some particular device and it makes sense to put them in
that udeb (e.g. phy-exynos5250-sata in sata-modules, or phy-sun4i-usb in
usb-modules).

Eventually I expect that we will end up creating separate udebs for
these things, but I'm hoping that we can defer that until at least
Stretch to avoid needing to mess around with any more new packages for
Jessie.

If uEVM has some module which either shouldn't be built in or isn't
obviously associated with a particular device let us know what it is and
we can have a think about how best to approach it.

One thing I've played with, and I'm not sure if this is acceptable or
not, is to put core drivers which aren't =y into the kernel-image udeb
itself. I'm not really sure if that's a good idea, we don't currently do
this for anything AFAIK, but it's perhaps an option.

Ian.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-17 Thread Ian Campbell
On Wed, 2014-12-17 at 15:10 +0800, Chen Baozi wrote:
 Hi Ian,
 
  On Dec 13, 2014, at 20:21, Ian Campbell i...@debian.org wrote:
  
  If you care about Debian Installer support then you should also check
  whether any of the newly added modules need to be added to the installer
  udebs (which you can mainly do via the module lists under
  debian/installer/armhf/modules/armhf-armmp/). I've added dwc3-omap to
  usb-modules already since that one seemed obvious.
 
 I haven't tried debian-installer on arm platform before. I guess people
 usually don’t use it as a CD/DVD installer image like x86 on arm?

I usually use netboot, others use hd-media from USB sticks etc.

 Any pre-built image for a quick test? Do I need to generate the image by
 myself?

There are daily installer images at
http://d-i.debian.org/daily-images/armhf/ but these are built from the
kernel etc in sid not from svn, i.e. don't yet include the changes to
enable uEVM, so until the kernel is next uploaded you would indeed need
to build d-i yourself.

That's not too hard: Take all the udebs from your kernel build (e.g.
from dcmd --udeb linux_..._armhf.changes) and put them in the
build/localudebs directory of the debian-installer.git. Then:
 make -C build build_netboot
etc. It doesn't (easily?) cross compile, so you will need an armhf host.

Ian.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-16 Thread Chen Baozi
Hi Ian,

 On Dec 13, 2014, at 20:21, Ian Campbell i...@debian.org wrote:
 
 If you care about Debian Installer support then you should also check
 whether any of the newly added modules need to be added to the installer
 udebs (which you can mainly do via the module lists under
 debian/installer/armhf/modules/armhf-armmp/). I've added dwc3-omap to
 usb-modules already since that one seemed obvious.

I haven't tried debian-installer on arm platform before. I guess people
usually don’t use it as a CD/DVD installer image like x86 on arm? Any
pre-built image for a quick test? Do I need to generate the image by
myself?

Cheers,

Baozi


signature.asc
Description: Message signed with OpenPGP using GPGMail


Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-13 Thread Ian Campbell
Control: tags -1 +pending

On Mon, 2014-12-01 at 02:12 +0800, Chen Baozi wrote:
 With the patch attached, the OMAP5432 uEVM can be supported by the current
 unstable kernel.

Thanks, I've applied this to the debian-kernel svn tree for the next
unstable upload. For future reference the debian/config stuff is
supposed to be alphabetical by Kconfig path, so I've moved the things
you added around.

At some point (e.g. after upload, when this bug gets closed) please
could you update https://wiki.debian.org/DebianKernel/ARMMP with this
new platform.

After eyeballing the resulting .config diff I've also enabled the
following on top of what you did:
- CONFIG_PINCTRL_PALMAS
- CONFIG_GPIO_PALMAS
- CONFIG_RTC_DRV_PALMAS

If you care about Debian Installer support then you should also check
whether any of the newly added modules need to be added to the installer
udebs (which you can mainly do via the module lists under
debian/installer/armhf/modules/armhf-armmp/). I've added dwc3-omap to
usb-modules already since that one seemed obvious.

Ian.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-13 Thread Chen Baozi

 On Dec 13, 2014, at 20:21, Ian Campbell i...@debian.org wrote:
 
 Control: tags -1 +pending
 
 On Mon, 2014-12-01 at 02:12 +0800, Chen Baozi wrote:
 With the patch attached, the OMAP5432 uEVM can be supported by the current
 unstable kernel.
 
 Thanks, I've applied this to the debian-kernel svn tree for the next
 unstable upload. For future reference the debian/config stuff is
 supposed to be alphabetical by Kconfig path, so I've moved the things
 you added around.

Thanks.

 
 At some point (e.g. after upload, when this bug gets closed) please
 could you update https://wiki.debian.org/DebianKernel/ARMMP with this
 new platform.

Ok.

 
 After eyeballing the resulting .config diff I've also enabled the
 following on top of what you did:
 - CONFIG_PINCTRL_PALMAS
 - CONFIG_GPIO_PALMAS
 - CONFIG_RTC_DRV_PALMAS
 
 If you care about Debian Installer support then you should also check
 whether any of the newly added modules need to be added to the installer
 udebs (which you can mainly do via the module lists under
 debian/installer/armhf/modules/armhf-armmp/). I've added dwc3-omap to
 usb-modules already since that one seemed obvious.

I’ll have a try next.

Cheers,

Baozi


signature.asc
Description: Message signed with OpenPGP using GPGMail


Bug#772953: Enable several Kconfigs to support OMAP5432 uEVM devboard

2014-12-12 Thread Chen Baozi
Source: linux
Version: 3.16.7-2
Severity: important
Tags: patch

I have been trying debian kernel on my OMAP5432 uEVM devboard these days
and now manage to boot it by adding some extra configs in the kernel and
use the lateset initramfs-tools from git to include some .ko of regulator
drivers in the initrd.

With the patch attached, the OMAP5432 uEVM can be supported by the current
unstable kernel.

diff -Nru linux-3.16.7/debian/config/armhf/config.armmp 
linux-3.16.7/debian/config/armhf/config.armmp
--- linux-3.16.7/debian/config/armhf/config.armmp   2014-11-01 
13:42:54.0 +
+++ linux-3.16.7/debian/config/armhf/config.armmp   2014-12-12 
09:32:30.0 +
@@ -356,6 +356,7 @@
 CONFIG_MFD_SEC_CORE=y
 CONFIG_MFD_TI_AM335X_TSCADC=m
 CONFIG_TWL6040_CORE=y
+CONFIG_MFD_PALMAS=y
 
 ##
 ## file: drivers/misc/Kconfig
@@ -628,6 +629,9 @@
 CONFIG_REGULATOR_S5M8767=m
 CONFIG_REGULATOR_TWL4030=y
 CONFIG_REGULATOR_VEXPRESS=m
+CONFIG_REGULATOR_PBIAS=m
+CONFIG_REGULATOR_TI_ABB=m
+CONFIG_REGULATOR_PALMAS=m
 
 ##
 ## file: drivers/rtc/Kconfig
@@ -758,6 +762,7 @@
 ##
 CONFIG_USB_DWC3=m
 CONFIG_USB_DWC3_HOST=y
+CONFIG_USB_DWC3_OMAP=m
 CONFIG_USB_DWC3_EXYNOS=m
 # CONFIG_USB_DWC3_PCI is not set
 
@@ -829,6 +834,7 @@
 CONFIG_OMAP2_DSS=m
 CONFIG_OMAP2_DSS_VENC=y
 CONFIG_OMAP4_DSS_HDMI=y
+CONFIG_OMAP5_DSS_HDMI=y
 CONFIG_OMAP2_DSS_SDI=y
 
 ##
@@ -894,3 +900,28 @@
 CONFIG_SND_OMAP_SOC_OMAP_HDMI=m
 CONFIG_SND_OMAP_SOC_OMAP3_PANDORA=m
 
+##
+## file: drivers/thermal/ti-soc-thermal/Kconfig
+##
+CONFIG_TI_SOC_THERMAL=m
+CONFIG_TI_THERMAL=y
+CONFIG_OMAP4_THERMAL=y
+CONFIG_OMAP5_THERMAL=y
+
+##
+## file: drivers/video/fbdev/omap2/displays-new/Kconfig
+##
+CONFIG_DISPLAY_ENCODER_TPD12S015=m
+CONFIG_DISPLAY_CONNECTOR_HDMI=m
+
+##
+## file: drivers/extcon/Kconfig
+##
+CONFIG_EXTCON=m
+CONFIG_EXTCON_PALMAS=m
+
+##
+## drivers/memory/Kconfig
+##
+CONFIG_MEMORY=y
+CONFIG_TI_EMIF=m


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org