Bug#880494: D-I fails on odroid-hc1 devices: kernel doesn't find usb connected SATA and network card

2018-04-23 Thread Jochen Sprickerhof

Hi Andreas,

I had a similar problem with the Odroid XU4 which was fixed 
https://bugs.debian.org/895976. Given that both devices are really 
similar, I suspect that it probably fixes your device as well. Can you 
test it using the latest daily snapshot of the installer?


Cheers Jochen

* Andreas Jellinghaus  [2017-11-01 10:06]:

Package: debian-installer
Version: 20171008

To install Debian on Odroid-hc1 single board computer I managed to combine
firmware.none and the armhf images and modify the result with the latest
u-boot and network-console kernels and inject the vendor firmware blobs.
But the network card is not found, it seems an issue with the kernel.

Bypassing D-I with gparted/mkfs/multistrap/... the result is a fine booting
debian system, the only extra binaries are the firmware blobs around
u-boot, i.e. no modified debian packages were required.

How can I analyze the system and provide the necessary info to get all
required modules into the typical D-I powered install images?

I'm told the list of modules in D-I might be manually configured, thus here
is lsmod as a start:

What other information would be useful?

root@debian-odroid-h1:~# dpkg -l |grep linux-image
ii  linux-image-4.13.0-1-armmp-lpae 4.13.4-2   armhf
Linux 4.13 for ARMv7 multiplatform compatible SoCs supporting LPAE
ii  linux-image-armmp-lpae  4.13+86armhf
Linux for ARMv7 multiplatform compatible SoCs supporting LPAE (meta-package)
root@debian-odroid-h1:~# lsmod
Module  Size  Used by
cdc_ether  16384  0
usbnet 32768  1 cdc_ether
r8152  57344  0
mii16384  2 usbnet,r8152
exynosdrm  86016  0
analogix_dp36864  1 exynosdrm
drm_kms_helper139264  2 exynosdrm,analogix_dp
drm   299008  4 exynosdrm,analogix_dp,drm_kms_helper
exynos_adc 24576  0
pwm_samsung16384  2
industrialio   57344  1 exynos_adc
s3c2410_wdt16384  0
leds_pwm   16384  0
cpufreq_dt 16384  0
pwm_fan16384  0
ip_tables  24576  0
x_tables   24576  1 ip_tables
autofs440960  2
ext4  589824  2
crc16  16384  1 ext4
mbcache16384  1 ext4
jbd2  102400  1 ext4
crc32c_generic 16384  4
fscrypto   24576  1 ext4
ecb16384  0
xhci_plat_hcd  16384  0
xhci_hcd  176128  1 xhci_plat_hcd
dwc3  102400  0
udc_core   36864  1 dwc3
phy_generic16384  0
s2mps1157344  19
clk_s2mps1116384  0
dwc3_exynos16384  0
phy_exynos_mipi_video16384  0
phy_exynos_dp_video16384  0
i2c_exynos516384  0
ohci_exynos16384  0
ohci_hcd   45056  1 ohci_exynos
ehci_exynos16384  0
ehci_hcd   77824  1 ehci_exynos
usbcore   204800  9
ehci_exynos,usbnet,ehci_hcd,cdc_ether,xhci_plat_hcd,ohci_hcd,ohci_exynos,r8152,xhci_hcd
dw_mmc_exynos  16384  0
dw_mmc_pltfm   16384  1 dw_mmc_exynos
dw_mmc 36864  2 dw_mmc_pltfm,dw_mmc_exynos
usb_common 16384  3 udc_core,usbcore,dwc3
phy_exynos_usb220480  2
phy_exynos5_usbdrd 16384  4


Some details frm the boot log:
root@debian-odroid-h1:~# dmesg |grep -i -E "usb|hci|exynos|815|hub"
[0.010515] Exynos MCPM support installed
[0.109738] EXYNOS5420 PMU initialized
[5.478185] exynos5_usb3drd_phy 1210.phy: 1210.phy supply vbus
not found, using dummy regulator
[5.492258] exynos5_usb3drd_phy 1210.phy: 1210.phy supply
vbus-boost not found, using dummy regulator
[5.492315] usbcore: registered new interface driver usbfs
[5.492459] usbcore: registered new interface driver hub
[5.492769] usbcore: registered new device driver usb
[5.496834] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[5.498256] ehci-exynos: EHCI EXYNOS driver
[5.499238] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[5.500351] ohci-exynos: OHCI EXYNOS driver
[5.540049] dwmmc_exynos 1220.mmc: IDMAC supports 32-bit address
mode.
[5.546324] dwmmc_exynos 1220.mmc: Using internal DMA controller.
[5.552121] dwmmc_exynos 1220.mmc: Version ID is 250a
[5.557500] dwmmc_exynos 1220.mmc: DW MMC controller at irq 73,64
bit host data width,64 deep fifo
[5.567483] dwmmc_exynos 1222.mmc: IDMAC supports 32-bit address
mode.
[5.573999] dwmmc_exynos 1222.mmc: Using internal DMA controller.
[5.579904] dwmmc_exynos 1222.mmc: Version ID is 250a
[5.585305] dwmmc_exynos 1222.mmc: DW MMC controller at irq 74,64
bit host data width,64 deep fifo
[5.594932] samsung-usb2-phy 1213.phy: 1213.phy supply vbus not
found, using dummy regulator
[5.604806] exynos-ehci 1211.usb: EHCI Host C

Bug#880494: D-I fails on odroid-hc1 devices: kernel doesn't find usb connected SATA and network card

2017-11-01 Thread Andreas Jellinghaus
Package: debian-installer
Version: 20171008

To install Debian on Odroid-hc1 single board computer I managed to combine
firmware.none and the armhf images and modify the result with the latest
u-boot and network-console kernels and inject the vendor firmware blobs.
But the network card is not found, it seems an issue with the kernel.

Bypassing D-I with gparted/mkfs/multistrap/... the result is a fine booting
debian system, the only extra binaries are the firmware blobs around
u-boot, i.e. no modified debian packages were required.

How can I analyze the system and provide the necessary info to get all
required modules into the typical D-I powered install images?

I'm told the list of modules in D-I might be manually configured, thus here
is lsmod as a start:

What other information would be useful?

root@debian-odroid-h1:~# dpkg -l |grep linux-image
ii  linux-image-4.13.0-1-armmp-lpae 4.13.4-2   armhf
Linux 4.13 for ARMv7 multiplatform compatible SoCs supporting LPAE
ii  linux-image-armmp-lpae  4.13+86armhf
Linux for ARMv7 multiplatform compatible SoCs supporting LPAE (meta-package)
root@debian-odroid-h1:~# lsmod
Module  Size  Used by
cdc_ether  16384  0
usbnet 32768  1 cdc_ether
r8152  57344  0
mii16384  2 usbnet,r8152
exynosdrm  86016  0
analogix_dp36864  1 exynosdrm
drm_kms_helper139264  2 exynosdrm,analogix_dp
drm   299008  4 exynosdrm,analogix_dp,drm_kms_helper
exynos_adc 24576  0
pwm_samsung16384  2
industrialio   57344  1 exynos_adc
s3c2410_wdt16384  0
leds_pwm   16384  0
cpufreq_dt 16384  0
pwm_fan16384  0
ip_tables  24576  0
x_tables   24576  1 ip_tables
autofs440960  2
ext4  589824  2
crc16  16384  1 ext4
mbcache16384  1 ext4
jbd2  102400  1 ext4
crc32c_generic 16384  4
fscrypto   24576  1 ext4
ecb16384  0
xhci_plat_hcd  16384  0
xhci_hcd  176128  1 xhci_plat_hcd
dwc3  102400  0
udc_core   36864  1 dwc3
phy_generic16384  0
s2mps1157344  19
clk_s2mps1116384  0
dwc3_exynos16384  0
phy_exynos_mipi_video16384  0
phy_exynos_dp_video16384  0
i2c_exynos516384  0
ohci_exynos16384  0
ohci_hcd   45056  1 ohci_exynos
ehci_exynos16384  0
ehci_hcd   77824  1 ehci_exynos
usbcore   204800  9
ehci_exynos,usbnet,ehci_hcd,cdc_ether,xhci_plat_hcd,ohci_hcd,ohci_exynos,r8152,xhci_hcd
dw_mmc_exynos  16384  0
dw_mmc_pltfm   16384  1 dw_mmc_exynos
dw_mmc 36864  2 dw_mmc_pltfm,dw_mmc_exynos
usb_common 16384  3 udc_core,usbcore,dwc3
phy_exynos_usb220480  2
phy_exynos5_usbdrd 16384  4


Some details frm the boot log:
root@debian-odroid-h1:~# dmesg |grep -i -E "usb|hci|exynos|815|hub"
[0.010515] Exynos MCPM support installed
[0.109738] EXYNOS5420 PMU initialized
[5.478185] exynos5_usb3drd_phy 1210.phy: 1210.phy supply vbus
not found, using dummy regulator
[5.492258] exynos5_usb3drd_phy 1210.phy: 1210.phy supply
vbus-boost not found, using dummy regulator
[5.492315] usbcore: registered new interface driver usbfs
[5.492459] usbcore: registered new interface driver hub
[5.492769] usbcore: registered new device driver usb
[5.496834] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[5.498256] ehci-exynos: EHCI EXYNOS driver
[5.499238] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[5.500351] ohci-exynos: OHCI EXYNOS driver
[5.540049] dwmmc_exynos 1220.mmc: IDMAC supports 32-bit address
mode.
[5.546324] dwmmc_exynos 1220.mmc: Using internal DMA controller.
[5.552121] dwmmc_exynos 1220.mmc: Version ID is 250a
[5.557500] dwmmc_exynos 1220.mmc: DW MMC controller at irq 73,64
bit host data width,64 deep fifo
[5.567483] dwmmc_exynos 1222.mmc: IDMAC supports 32-bit address
mode.
[5.573999] dwmmc_exynos 1222.mmc: Using internal DMA controller.
[5.579904] dwmmc_exynos 1222.mmc: Version ID is 250a
[5.585305] dwmmc_exynos 1222.mmc: DW MMC controller at irq 74,64
bit host data width,64 deep fifo
[5.594932] samsung-usb2-phy 1213.phy: 1213.phy supply vbus not
found, using dummy regulator
[5.604806] exynos-ehci 1211.usb: EHCI Host Controller
[5.608962] dwmmc_exynos 1220.mmc: IDMAC supports 32-bit address
mode.
[5.612294] dwmmc_exynos 1220.mmc: Using internal DMA controller.
[5.612310] dwmmc_exynos 1220.mmc: Version ID is 250a
[5.612344] dwmmc_exynos 1220.mmc: DW MMC controller at irq 73,64
bit host data width,64 deep fifo
[5