[opensuse-arm] Is kernel same as used for raspbian?
Starting a project using a RPi Zero, which is the $5 minimalist version of RPi, launched a few months ago in May 2016. Because of its minimalist hardware, Setting up for development is a fairly unique procedure. Unless I want to try the alternative method setting up a monitor and keyboard, Apparently the current kernel in the Raspbian image includes modules to enable a headless ethernet connection over a USB B/B cable. This is the base article which includes the instructions to declare, then load a module called dwc2 in the boot loader. http://blog.gbaman.info/?p=791 Absent that, Maybe someone who is running a current openSUSE_TW ARM image can check whether the dwc2 module exists (although not likely loaded). TIA, TSU -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Follow up to my earlier post, I've only been following conversations in this mail list peripherally because most of my recent work hasn't been on ARM hardware, but it's my impression that current openSUSE Factory/RPi efforts have been based on an openSUSE kernel. I have since found that Raspberry Pi is developing their own kernel, which at once also answers some oddly unique things I've read about the raspbian image https://github.com/raspberrypi So, it seems that no... it seems that openSUSE TW/ARM for RPi is not using the same kernel and therefor almost certainly won't have the essential kernel module I want. Now, I'm curious whether anyone has considered looking into grafting the RPi kernel(with its own boot) with TW ARM Userland? Or, for that matter similarly grafting openSUSE on to any other boot/kernels? I might also spend a little (not much) time looking at whether the kernel module I want can be implemented in the openSUSE ARM kernel. The ability to run in OTG mode seems like an important capability no matter the hardware platform (which is likely missing in a mainline kernel). Thx, Tony On Tue, Sep 20, 2016 at 4:07 PM, Tony Su <tonysu@su-networking.com> wrote:
Starting a project using a RPi Zero, which is the $5 minimalist version of RPi, launched a few months ago in May 2016.
Because of its minimalist hardware, Setting up for development is a fairly unique procedure.
Unless I want to try the alternative method setting up a monitor and keyboard, Apparently the current kernel in the Raspbian image includes modules to enable a headless ethernet connection over a USB B/B cable.
This is the base article which includes the instructions to declare, then load a module called dwc2 in the boot loader. http://blog.gbaman.info/?p=791
Absent that, Maybe someone who is running a current openSUSE_TW ARM image can check whether the dwc2 module exists (although not likely loaded).
TIA, TSU -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Tony, The short answer is there are two images. The official one uses the openSUSE kernel based on official kernel.org releases. It includes the dwc2 driver, not sure about gadget drivers - I think OTG is disabled because I was not aware it would be working on the Pi. http://download.opensuse.org/ports/armv6hl/tumbleweed/images/ There's also an unofficial Raspbian kernel packaged here: https://build.opensuse.org/project/show/devel:ARM:Factory:Contrib:RaspberryP... Also note that so far I only know of test reports from the Pi Model B and B+, so it will be interesting to hear whether we may need to tweak the config.txt for the Pi Zero. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Thank You! It'll be a few more days before all the parts I need will have arrived, will post results for those that follow! FYI - The RPi Zero uses the same Broadcom chipset as the RPi 1, not the 2 or 3. Diff between the RPi Zero and the first generation RPi are - overclocked from 700mhz to 1Ghz - Not different than RPi 1, but it should be noted has only one core (Unlike RPi 2 and RPi 3) - aside from mini-HDMI and some curious alt-video optional pins I don't know anyone is using, there is only one micro USB port for I/O (plus GPIO pins). - Entire board approx. 1/3 the size of the other RPi As for "Gadget drivers" I'm only expecting support for anything that connects through the USB port, anything else connected through the GPIO pins definitely needs a software library which of course would be specific to whatever language code is running. Tony On Wed, Sep 21, 2016 at 9:59 AM, Andreas Färber <afaerber@suse.de> wrote:
Hi Tony,
The short answer is there are two images.
The official one uses the openSUSE kernel based on official kernel.org releases. It includes the dwc2 driver, not sure about gadget drivers - I think OTG is disabled because I was not aware it would be working on the Pi. http://download.opensuse.org/ports/armv6hl/tumbleweed/images/
There's also an unofficial Raspbian kernel packaged here: https://build.opensuse.org/project/show/devel:ARM:Factory:Contrib:RaspberryP...
Also note that so far I only know of test reports from the Pi Model B and B+, so it will be interesting to hear whether we may need to tweak the config.txt for the Pi Zero.
Regards, Andreas
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
If the two modules needed (dwc2, g_ether) are blacklisted and not "simply" disabled, I'd be ever so interested if those were made available for manual loading. I remember somewhere there are another half-dozen or so modules starting with "g_" which would be nice to also be made available(commonly enabled by use of dwc2 just like g_ether), I'd have to find that list to provide if necessary. Thx, Tony On Wed, Sep 21, 2016 at 10:56 AM, Tony Su <tonysu@su-networking.com> wrote:
Thank You! It'll be a few more days before all the parts I need will have arrived, will post results for those that follow!
FYI - The RPi Zero uses the same Broadcom chipset as the RPi 1, not the 2 or 3. Diff between the RPi Zero and the first generation RPi are - overclocked from 700mhz to 1Ghz - Not different than RPi 1, but it should be noted has only one core (Unlike RPi 2 and RPi 3) - aside from mini-HDMI and some curious alt-video optional pins I don't know anyone is using, there is only one micro USB port for I/O (plus GPIO pins). - Entire board approx. 1/3 the size of the other RPi
As for "Gadget drivers" I'm only expecting support for anything that connects through the USB port, anything else connected through the GPIO pins definitely needs a software library which of course would be specific to whatever language code is running.
Tony
On Wed, Sep 21, 2016 at 9:59 AM, Andreas Färber <afaerber@suse.de> wrote:
Hi Tony,
The short answer is there are two images.
The official one uses the openSUSE kernel based on official kernel.org releases. It includes the dwc2 driver, not sure about gadget drivers - I think OTG is disabled because I was not aware it would be working on the Pi. http://download.opensuse.org/ports/armv6hl/tumbleweed/images/
There's also an unofficial Raspbian kernel packaged here: https://build.opensuse.org/project/show/devel:ARM:Factory:Contrib:RaspberryP...
Also note that so far I only know of test reports from the Pi Model B and B+, so it will be interesting to hear whether we may need to tweak the config.txt for the Pi Zero.
Regards, Andreas
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi, Am 21.09.2016 um 20:11 schrieb Tony Su:
If the two modules needed (dwc2, g_ether) are blacklisted [...]
Like I said, dwc2 is in use - it has been working on the Model B rev. 2 in both Factory 4.7.x and, as reported, as of -rc5 in Kernel:HEAD again, too. So it can't be blacklisted.
I remember somewhere there are another half-dozen or so modules starting with "g_" which would be nice to also be made available(commonly enabled by use of dwc2 just like g_ether), I'd have to find that list to provide if necessary.
I have queued the attached config patch but Jeff didn't merge it yet. You can see the current config for master branch (Kernel:HEAD) here: http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv6hl/default Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)
Thx. Tony On Fri, Sep 23, 2016 at 4:22 PM, Andreas Färber <afaerber@suse.de> wrote:
Hi,
Am 21.09.2016 um 20:11 schrieb Tony Su:
If the two modules needed (dwc2, g_ether) are blacklisted [...]
Like I said, dwc2 is in use - it has been working on the Model B rev. 2 in both Factory 4.7.x and, as reported, as of -rc5 in Kernel:HEAD again, too. So it can't be blacklisted.
I remember somewhere there are another half-dozen or so modules starting with "g_" which would be nice to also be made available(commonly enabled by use of dwc2 just like g_ether), I'd have to find that list to provide if necessary.
I have queued the attached config patch but Jeff didn't merge it yet.
You can see the current config for master branch (Kernel:HEAD) here: http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv6hl/default
Regards, Andreas
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Andreas Färber
-
Tony Su