[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#773400: installation-reports: Partial success: BeagleBone Black [armhf]



Package: installation-reports
Severity: normal

Install worked with serial console, though failed to bring up a serial
console on first boot. USB doesn't work, probably due to DMA issues
with MUSB on multiplatform kernels.


-- Package-specific info:

Boot method: netboot
Image version: http://d-i.debian.org/daily-images/armhf/20141217-05:33/netboot/
Date: 20141217

Machine: BeagleBone Black

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [ ]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [O]
Install boot loader:    [ ]
Overall install:        [O]

Comments/Problems:

USB is mostly broken. HDMI video works. On-board eMMC (2GB) used for
install, and inserted microSD card was detected correctly. Ethernet
works.

Serial console works, with a caveat:

The boot.scr generated by flash-kernel scripts for the beagleboneblack
didn't include the console= argument, so on first boot, systemd did
not start a getty on the serial console. I had to manually add
console=ttyO0,115200n8 to "bootargs" from the u-boot shell before
booting. And then added to /etc/default/flash-kernel to ensure it
would work on subsequent boots.


It also required manually creating some files to boot the installer.

Used a uEnv.txt on microSD to start the installation:

  uenvcmd=setenv serverip 192.168.1.198 ; dhcp ${loadaddr} /d-i/armhf/current/boot.scr ; source ${loadaddr}


And a boot.scr, generated with:

  mkimage -A arm -O Linux -T script -C none -a 0x0 -e 0x0 \
    -n 'Debian Installer armhf' -d boot.txt boot.scr

With the following boot.txt:

  # Configure the console
  if test -n ${console}; then
      setenv bootargs ${bootargs} console=${console}
  fi

  # Compatibility variables for versions of u-boot without standardized
  # variable names.
  test -z ${fdtfile} && setenv fdtfile ${fdt_file}
  test -z ${fdt_addr_r} && setenv fdt_addr_r ${fdtaddr}
  test -z ${fdt_addr_r} && setenv fdt_addr_r ${fdt_addr}
  test -z ${kernel_addr_r} && setenv kernel_addr_r ${loadaddr}
  test -z ${ramdisk_addr_r} && setenv ramdisk_addr_r ${ramdiskaddr}
  test -z ${ramdisk_addr_r} && setenv ramdisk_addr_r ${rdaddr}

  tftpboot ${kernel_addr_r} ${serverip}:/d-i/armhf/current/vmlinuz \
  && tftpboot ${fdt_addr_r} ${serverip}:/d-i/armhf/current/${fdtfile} \
  && tftpboot ${ramdisk_addr_r} ${serverip}:/d-i/armhf/current/initrd.gz \
  && echo booting Debian Installer Netboot ... \
  && bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}

The above boot script includes some compatibility variables for
several armhf capable platforms. The exact paths may need to be
adjusted depending on the TFTP dir layout... not sure if there is a
standardized layout for other netboot projects in debian-installer.


==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="8 (jessie) - installer build 20141217-05:22"
X_INSTALLATION_MEDIUM=netboot

==============================================
Installer hardware-summary:
==============================================
uname -a: Linux beagleboneblack20141217 3.16.0-4-armmp #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) armv7l GNU/Linux
lsmod: Module                  Size  Used by
lsmod: dm_mod                 87510  0 
lsmod: md_mod                110841  0 
lsmod: jfs                   169619  0 
lsmod: crc32c_generic          1598  1 
lsmod: btrfs                 954651  0 
lsmod: xor                     5226  1 btrfs
lsmod: zlib_deflate           20544  1 btrfs
lsmod: raid6_pq               83885  1 btrfs
lsmod: vfat                    9629  0 
lsmod: fat                    52745  1 vfat
lsmod: ext4                  491844  2 
lsmod: crc16                   1146  1 ext4
lsmod: mbcache                 8210  1 ext4
lsmod: jbd2                   88935  1 ext4
lsmod: usb_storage            41991  0 
lsmod: scsi_mod              175788  1 usb_storage
lsmod: smsc                    2584  0 
lsmod: davinci_mdio            4177  0 
lsmod: ti_cpsw                28425  0 
lsmod: davinci_cpdma          10449  1 ti_cpsw
lsmod: omap_hsmmc             19875  0 
df: Filesystem           1K-blocks      Used Available Use% Mounted on
df: none                     50872        44     50828   0% /run
df: devtmpfs                248096         0    248096   0% /dev
df: /dev/mmcblk1p2         1515376    699904    720448  49% /target
df: /dev/mmcblk1p1          153707     19053    126718  13% /target/boot
df: /dev/mmcblk1p2         1515376    699904    720448  49% /dev/.static/dev
df: devtmpfs                248096         0    248096   0% /target/dev
free:              total         used         free       shared      buffers
free: Mem:        508716       352524       156192            0        47116
free: -/+ buffers:             305408       203308
free: Swap:       141308         6700       134608
/proc/cmdline: console=ttyO0,115200n8
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: model name	: ARMv7 Processor rev 2 (v7l)
/proc/cpuinfo: Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 
/proc/cpuinfo: CPU implementer	: 0x41
/proc/cpuinfo: CPU architecture: 7
/proc/cpuinfo: CPU variant	: 0x3
/proc/cpuinfo: CPU part	: 0xc08
/proc/cpuinfo: CPU revision	: 2
/proc/cpuinfo: 
/proc/cpuinfo: Hardware	: Generic AM33XX (Flattened Device Tree)
/proc/cpuinfo: Revision	: 0000
/proc/cpuinfo: Serial		: 0000000000000000
/proc/iomem: 44e07000-44e07fff : /ocp/gpio@44e07000
/proc/iomem: 44e09000-44e0afff : /ocp/serial@44e09000
/proc/iomem: 44e0b000-44e0bfff : /ocp/i2c@44e0b000
/proc/iomem: 44e10650-44e10653 : gmii-sel
/proc/iomem: 44e10800-44e10a37 : pinctrl-single
/proc/iomem: 44e3e000-44e3efff : /ocp/rtc@44e3e000
/proc/iomem: 48042000-480423ff : /ocp/timer@48042000
/proc/iomem: 48044000-480443ff : /ocp/timer@48044000
/proc/iomem: 48046000-480463ff : /ocp/timer@48046000
/proc/iomem: 48048000-480483ff : /ocp/timer@48048000
/proc/iomem: 4804a000-4804a3ff : /ocp/timer@4804a000
/proc/iomem: 4804c000-4804cfff : /ocp/gpio@4804c000
/proc/iomem: 48060000-48060fff : /ocp/mmc@48060000
/proc/iomem: 481ac000-481acfff : /ocp/gpio@481ac000
/proc/iomem: 481ae000-481aefff : /ocp/gpio@481ae000
/proc/iomem: 481d8000-481d8fff : /ocp/mmc@481d8000
/proc/iomem: 49000000-4900ffff : /ocp/edma@49000000
/proc/iomem: 4a100000-4a1007ff : /ocp/ethernet@4a100000
/proc/iomem: 4a101000-4a1010ff : /ocp/ethernet@4a100000/mdio@4a101000
/proc/iomem: 4a101200-4a1012ff : /ocp/ethernet@4a100000
/proc/iomem: 80000000-9fefffff : System RAM
/proc/iomem:   80008000-80864ca3 : Kernel code
/proc/iomem:   80912000-80a429f3 : Kernel data
/proc/interrupts:            CPU0       
/proc/interrupts:  28:     105101      INTC  12  edma
/proc/interrupts:  30:       4997      INTC  14  edma_error
/proc/interrupts:  44:     452821      INTC  28  mmc1
/proc/interrupts:  56:          0      INTC  40  4a100000.ethernet
/proc/interrupts:  57:     132806      INTC  41  4a100000.ethernet
/proc/interrupts:  58:      96673      INTC  42  4a100000.ethernet
/proc/interrupts:  59:          0      INTC  43  4a100000.ethernet
/proc/interrupts:  80:       3098      INTC  64  mmc0
/proc/interrupts:  84:    2025756      INTC  68  gp_timer
/proc/interrupts:  86:          0      INTC  70  44e0b000.i2c
/proc/interrupts:  88:       9761      INTC  72  OMAP UART0
/proc/interrupts:  91:          0      INTC  75  rtc0
/proc/interrupts:  92:          1      INTC  76  rtc0
/proc/interrupts: 150:          1      GPIO   6  mmc0
/proc/interrupts: IPI0:          0  CPU wakeup interrupts
/proc/interrupts: IPI1:          0  Timer broadcast interrupts
/proc/interrupts: IPI2:          0  Rescheduling interrupts
/proc/interrupts: IPI3:          0  Function call interrupts
/proc/interrupts: IPI4:          0  Single function call interrupts
/proc/interrupts: IPI5:          0  CPU stop interrupts
/proc/interrupts: IPI6:          0  IRQ work interrupts
/proc/interrupts: IPI7:          0  completion interrupts
/proc/interrupts: Err:          0
/proc/meminfo: MemTotal:         508716 kB
/proc/meminfo: MemFree:          156192 kB
/proc/meminfo: MemAvailable:     409280 kB
/proc/meminfo: Buffers:           47116 kB
/proc/meminfo: Cached:           237920 kB
/proc/meminfo: SwapCached:          284 kB
/proc/meminfo: Active:           145676 kB
/proc/meminfo: Inactive:         156124 kB
/proc/meminfo: Active(anon):       5896 kB
/proc/meminfo: Inactive(anon):    70040 kB
/proc/meminfo: Active(file):     139780 kB
/proc/meminfo: Inactive(file):    86084 kB
/proc/meminfo: Unevictable:           0 kB
/proc/meminfo: Mlocked:               0 kB
/proc/meminfo: HighTotal:             0 kB
/proc/meminfo: HighFree:              0 kB
/proc/meminfo: LowTotal:         508716 kB
/proc/meminfo: LowFree:          156192 kB
/proc/meminfo: SwapTotal:        141308 kB
/proc/meminfo: SwapFree:         134608 kB
/proc/meminfo: Dirty:               672 kB
/proc/meminfo: Writeback:             0 kB
/proc/meminfo: AnonPages:         16480 kB
/proc/meminfo: Mapped:             2956 kB
/proc/meminfo: Shmem:             59176 kB
/proc/meminfo: Slab:              43692 kB
/proc/meminfo: SReclaimable:      38288 kB
/proc/meminfo: SUnreclaim:         5404 kB
/proc/meminfo: KernelStack:         528 kB
/proc/meminfo: PageTables:          312 kB
/proc/meminfo: NFS_Unstable:          0 kB
/proc/meminfo: Bounce:                0 kB
/proc/meminfo: WritebackTmp:          0 kB
/proc/meminfo: CommitLimit:      395664 kB
/proc/meminfo: Committed_AS:      85780 kB
/proc/meminfo: VmallocTotal:     499712 kB
/proc/meminfo: VmallocUsed:       14368 kB
/proc/meminfo: VmallocChunk:     405364 kB

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 3.16.0-4-armmp (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: