NetBSD Problem Report #50288

From www@NetBSD.org  Mon Sep 28 20:29:57 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E0973A654F
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 28 Sep 2015 20:29:57 +0000 (UTC)
Message-Id: <20150928202956.9104BA6552@mollari.NetBSD.org>
Date: Mon, 28 Sep 2015 20:29:56 +0000 (UTC)
From: David.S.Alessio@gmail.com
Reply-To: David.S.Alessio@gmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB
X-Send-Pr-Version: www-1.0

>Number:         50288
>Category:       port-arm32
>Synopsis:       NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-arm-maintainer
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 28 20:30:00 +0000 2015
>Closed-Date:    Wed Jun 03 19:22:28 +0000 2020
>Last-Modified:  Wed Jun 03 19:22:28 +0000 2020
>Originator:     David S. Alessio
>Release:        NetBSD-7.0_RC3
>Organization:
>Environment:
Beagle Bone Black
>Description:
NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot "out of the box" on a BeagleBoneBlack from SD card -- the u-boot startup cmd is incorrect.  Here's the debug console log:


U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0 
gpio: pin 53 (gpio 53) value is 1
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 0
reading uEnv.txt
734 bytes read in 6 ms (119.1 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
mmc0 is current device
reading /home/builds/ab/netbsd-7-0-RC3/evbarm-earmv7hf/201508110747Z-rlse/evbarm/binary/kernel
** Unable to read file /home/builds/ab/netbsd-7-0-RC3/evbarm-earmv7hf/201508110747Z-rlse/evbarm/binary/kernel **
Wrong Image Format for bootm command
ERROR: can't get kernel image!

uenvcmd was not defined in uEnv.txt ...
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 1
reading uEnv.txt
1430 bytes read in 6 ms (232.4 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
reading zImage
3717760 bytes read in 208 ms (17 MiB/s)
reading initrd.img
2869097 bytes read in 180 ms (15.2 MiB/s)
reading /dtbs/am335x-boneblack.dtb
25080 bytes read in 11 ms (2.2 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x38ba80 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Using Device Tree in place at 88000000, end 880091f7

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.382612] omap2_mbox_probe: platform not supported
[    0.549457] tps65217-bl tps65217-bl: no platform data provided
[    0.614582] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    0.651690] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.688797] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.725907] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    0.742046] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[    0.751654] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[    0.758413] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
[    0.774899] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
[    0.837518] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    0.849196] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
[    0.856496] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
Loading, please wait...

>How-To-Repeat:
1) Download NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img.gz
2) burn to a uSD card.  On a Linux machine with the uSD as /dev/sdb:
       zcat armv7.img.gz | dd of=/dev/sdb
3) insert uSD card to BBB, apply power, capture output on FTDI console port.
>Fix:
This seems to be the first of several problems with the image on a BBB.  Fixing the u-boot script gets the boot process a bit further, but then RC3 image ultimately enters a forever loop printing:
    ===== edma errint!
    ===== edma errint!

>Release-Note:

>Audit-Trail:
From: Soren Jacobsen <snj@blef.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-arm32/50288:
 NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB
Date: Wed, 30 Sep 2015 12:30:10 -0700

 On 09/28 20:30, David.S.Alessio@gmail.com wrote:
 > ** Unable to read file /home/builds/ab/netbsd-7-0-RC3/evbarm-earmv7hf/201508110747Z-rlse/evbarm/binary/kernel **

 This part has been fixed.

 Soren

From: "David S. Alessio" <david.s.alessio@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: port-arm32-maintainer@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: port-arm32/50288: NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB
Date: Mon, 12 Oct 2015 19:42:09 -0700

 --Apple-Mail=_6EB2E60F-207E-4313-A9D9-DED358F70890
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=utf-8

 Hi Soren,

 Thanks for the quick response, but I still see the same problem.

 I checked:
 	NetBSD/NetBSD-7.0/evbarm-earmv7hf/binary/gzimg/armv7.img.gz
 and
 	=
 NetBSD-daily/netbsd-7/201510120510Z/evbarm-earmv7hf/binary/gzimg/armv7.img=
 .gz

 Both seem to have the same issues as I first reported.  That is:
 	1. u-boot doesn=E2=80=99t search for and load the correct image. =
  A quick workaround is to manually enter:
 			fatload mmc 0 82000000 netbsd-BEAGLEBONE.ub; =
 bootm 82000000 root=3Dld0a
 		That loads and boot the netbsd-beaglebone kernel, but =
 then:
 	2. netbsd enters an infinite ISR loop with
 			 =3D=3D=3D=3D=3D edma errint!

 Am I missing something?  I=E2=80=99m writing armv7.img.gz to the uSD =
 card (on a Mac) with:
 	gzcat armv7.img.gz | dd of=3D/dev/disk2 bs=3D1m

 I checked the resultant SD card on NetBSD (in VirtualBox on Mac) and =
 =E2=80=98disklabel /dev/sd0=E2=80=99 is:
 [/root]# disklabel /dev/sd0=20
 # /dev/sd0d:
 type: SCSI
 disk: STORAGE DEVICE
 label: fictitious
 flags: removable
 bytes/sector: 512
 sectors/track: 32
 tracks/cylinder: 64
 sectors/cylinder: 2048
 cylinders: 1111
 total sectors: 2275840
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0		# microseconds
 track-to-track seek: 0	# microseconds
 drivedata: 0=20

 8 partitions:
 #        size    offset     fstype [fsize bsize cpg/sgs]
  a:   1890816    385024     4.2BSD      0     0     0  # (Cyl.    188 -  =
  1111*)
  b:    262144    122880       swap                     # (Cyl.     60 -  =
   187)
  c:   2275840         0     unused      0     0        # (Cyl.      0 -  =
  1111*)
  d:   2275840         0     unused      0     0        # (Cyl.      0 -  =
  1111*)
  e:    114688      8192      MSDOS                     # (Cyl.      4 -  =
    59)

 I can mount /dev/sd0a and it seems (to me) all good.

 Log files attached are from uninterrupted boot (1.log) and breaking =
 u-boot to manually load netbsd (2.log).

 Please advise.

 Best regards,
 -david






 	=09


 > On Sep 30, 2015, at 12:35 PM, Soren Jacobsen <snj@blef.org> wrote:
 >=20
 > The following reply was made to PR port-arm32/50288; it has been noted =
 by GNATS.
 >=20
 > From: Soren Jacobsen <snj@blef.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:=20
 > Subject: Re: port-arm32/50288:
 > NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on =
 BBB
 > Date: Wed, 30 Sep 2015 12:30:10 -0700
 >=20
 > On 09/28 20:30, David.S.Alessio@gmail.com wrote:
 >> ** Unable to read file =
 /home/builds/ab/netbsd-7-0-RC3/evbarm-earmv7hf/201508110747Z-rlse/evbarm/b=
 inary/kernel **
 >=20
 > This part has been fixed.
 >=20
 > Soren
 >=20


 --Apple-Mail=_6EB2E60F-207E-4313-A9D9-DED358F70890
 Content-Type: multipart/mixed;
 	boundary="Apple-Mail=_3708676B-70D7-4AAC-9861-9E0F0E167561"


 --Apple-Mail=_3708676B-70D7-4AAC-9861-9E0F0E167561
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
 	charset=utf-8

 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
 charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
 -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
 class=3D"">Hi Soren,<div class=3D""><br class=3D""></div><div =
 class=3D"">Thanks for the quick response, but I still see the same =
 problem.</div><div class=3D""><br class=3D""></div><div class=3D"">I =
 checked:</div><div class=3D""><span class=3D"Apple-tab-span" =
 style=3D"white-space:pre">	=
 </span>NetBSD/NetBSD-7.0/evbarm-earmv7hf/binary/gzimg/armv7.img.gz</div><d=
 iv class=3D"">and</div><div class=3D""><span class=3D"Apple-tab-span" =
 style=3D"white-space:pre">	=
 </span>NetBSD-daily/netbsd-7/201510120510Z/evbarm-earmv7hf/binary/gzimg/ar=
 mv7.img.gz</div><div class=3D""><br class=3D""></div><div class=3D"">Both =
 seem to have the same issues as I first reported. &nbsp;That =
 is:</div><div class=3D""><span class=3D"Apple-tab-span" =
 style=3D"white-space:pre">	</span>1. u-boot doesn=E2=80=99t search =
 for and load the correct image. &nbsp;A quick workaround is to manually =
 enter:</div><div class=3D""><span class=3D"Apple-tab-span" =
 style=3D"white-space:pre">			</span><span =
 style=3D"color: rgb(191, 191, 191); font-family: Menlo; font-size: 11px; =
 background-color: rgb(0, 0, 0);" class=3D"">fatload mmc 0 82000000 =
 netbsd-BEAGLEBONE.ub; bootm 82000000 root=3Dld0a</span></div><div =
 class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
 </span>That loads and boot the netbsd-beaglebone kernel, but =
 then:</div><div class=3D""><span class=3D"Apple-tab-span" =
 style=3D"white-space:pre">	</span>2. netbsd enters an infinite ISR =
 loop with</div><div class=3D""><span class=3D"Apple-tab-span" =
 style=3D"white-space:pre">			</span><span =
 style=3D"color: rgb(191, 191, 191); font-family: Menlo; font-size: 11px; =
 background-color: rgb(0, 0, 0);" class=3D"">&nbsp;</span><span =
 style=3D"color: rgb(191, 191, 191); font-family: Menlo; font-size: 11px; =
 background-color: rgb(0, 0, 0);" class=3D"">=3D=3D=3D=3D=3D edma =
 errint!</span></div><div class=3D""><br class=3D""></div><div =
 class=3D"">Am I missing something? &nbsp;I=E2=80=99m writing =
 armv7.img.gz to the uSD card (on a Mac) with:</div><div class=3D""><span =
 class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>gzcat =
 armv7.img.gz |&nbsp;dd&nbsp;of=3D/dev/disk2 bs=3D1m</div><div =
 class=3D""><br class=3D""></div><div class=3D"">I checked the resultant =
 SD card on NetBSD (in VirtualBox on Mac) and =E2=80=98disklabel =
 /dev/sd0=E2=80=99 is:</div><blockquote style=3D"margin: 0 0 0 40px; =
 border: none; padding: 0px;" class=3D""><div class=3D""><font =
 face=3D"Courier" color=3D"#0042aa" class=3D"">[/root]# disklabel =
 /dev/sd0&nbsp;<br class=3D""># /dev/sd0d:<br class=3D"">type: SCSI<br =
 class=3D"">disk: STORAGE DEVICE<br class=3D"">label: fictitious<br =
 class=3D"">flags: removable<br class=3D"">bytes/sector: 512<br =
 class=3D"">sectors/track: 32<br class=3D"">tracks/cylinder: 64<br =
 class=3D"">sectors/cylinder: 2048<br class=3D"">cylinders: 1111<br =
 class=3D"">total sectors: 2275840<br class=3D"">rpm: 3600<br =
 class=3D"">interleave: 1<br class=3D"">trackskew: 0<br =
 class=3D"">cylinderskew: 0<br class=3D"">headswitch: 0<span =
 class=3D"Apple-tab-span" style=3D"white-space: pre;">		</span># =
 microseconds<br class=3D"">track-to-track seek: 0<span =
 class=3D"Apple-tab-span" style=3D"white-space: pre;">	</span># =
 microseconds<br class=3D"">drivedata: 0&nbsp;<br class=3D""><br =
 class=3D"">8 partitions:<br class=3D"">#&nbsp; &nbsp; &nbsp; =
 &nbsp;&nbsp;size&nbsp; &nbsp;&nbsp;offset&nbsp;&nbsp; &nbsp;&nbsp;fstype =
 [fsize bsize cpg/sgs]<br =
 class=3D"">&nbsp;a:&nbsp;&nbsp;&nbsp;1890816&nbsp; =
 &nbsp;&nbsp;385024&nbsp;&nbsp; &nbsp;&nbsp;4.2BSD&nbsp; &nbsp; =
 &nbsp;&nbsp;0&nbsp;&nbsp; &nbsp;&nbsp;0&nbsp;&nbsp; =
 &nbsp;&nbsp;0&nbsp;&nbsp;# (Cyl.&nbsp; &nbsp;&nbsp;188 =
 -&nbsp;&nbsp;&nbsp;1111*)<br class=3D"">&nbsp;b:&nbsp; =
 &nbsp;&nbsp;262144&nbsp; &nbsp;&nbsp;122880&nbsp;&nbsp; &nbsp; =
 &nbsp;&nbsp;swap&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
 &nbsp; &nbsp; &nbsp;&nbsp;# (Cyl.&nbsp;&nbsp; &nbsp;&nbsp;60 -&nbsp; =
 &nbsp;&nbsp;187)<br =
 class=3D"">&nbsp;c:&nbsp;&nbsp;&nbsp;2275840&nbsp;&nbsp; &nbsp; &nbsp; =
 &nbsp;&nbsp;0&nbsp;&nbsp; &nbsp;&nbsp;unused&nbsp; &nbsp; =
 &nbsp;&nbsp;0&nbsp;&nbsp; &nbsp;&nbsp;0&nbsp; &nbsp; &nbsp; =
 &nbsp;&nbsp;# (Cyl.&nbsp; &nbsp; &nbsp;&nbsp;0 =
 -&nbsp;&nbsp;&nbsp;1111*)<br =
 class=3D"">&nbsp;d:&nbsp;&nbsp;&nbsp;2275840&nbsp;&nbsp; &nbsp; &nbsp; =
 &nbsp;&nbsp;0&nbsp;&nbsp; &nbsp;&nbsp;unused&nbsp; &nbsp; =
 &nbsp;&nbsp;0&nbsp;&nbsp; &nbsp;&nbsp;0&nbsp; &nbsp; &nbsp; =
 &nbsp;&nbsp;# (Cyl.&nbsp; &nbsp; &nbsp;&nbsp;0 =
 -&nbsp;&nbsp;&nbsp;1111*)<br class=3D"">&nbsp;e:&nbsp; =
 &nbsp;&nbsp;114688&nbsp; &nbsp; &nbsp;&nbsp;8192&nbsp; &nbsp; =
 &nbsp;&nbsp;MSDOS&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
 &nbsp; &nbsp; &nbsp;&nbsp;# (Cyl.&nbsp; &nbsp; &nbsp;&nbsp;4 =
 -&nbsp;&nbsp; &nbsp;&nbsp;59)<br class=3D""></font><br =
 class=3D""></div></blockquote><div class=3D"">I can mount /dev/sd0a and =
 it seems (to me) all good.</div><div class=3D""><br class=3D""></div><div =
 class=3D"">Log files attached are from uninterrupted boot (1.log) and =
 breaking u-boot to manually load netbsd (2.log).</div><div class=3D""><br =
 class=3D""></div><div class=3D"">Please advise.</div><div class=3D""><br =
 class=3D""></div><div class=3D"">Best regards,</div><div =
 class=3D"">-david</div><div class=3D""><br class=3D""></div><div =
 class=3D""><br class=3D""></div><div class=3D""><br class=3D""></div><div =
 class=3D""><br class=3D""></div><div class=3D""></div></body></html>=

 --Apple-Mail=_3708676B-70D7-4AAC-9861-9E0F0E167561
 Content-Disposition: attachment;
 	filename=1.log
 Content-Type: application/octet-stream;
 	name="1.log"
 Content-Transfer-Encoding: 7bit


 U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

 I2C:   ready
 DRAM:  512 MiB
 NAND:  0 MiB
 MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
 *** Warning - readenv() failed, using default environment

 Net:   <ethaddr> not set. Validating first E-fuse MAC
 cpsw, usb_ether
 Hit any key to stop autoboot:  0 
 gpio: pin 53 (gpio 53) value is 1
 mmc0 is current device
 gpio: pin 54 (gpio 54) value is 1
 SD/MMC found on device 0
 reading uEnv.txt
 654 bytes read in 6 ms (106.4 KiB/s)
 gpio: pin 55 (gpio 55) value is 1
 Loaded environment from uEnv.txt
 Importing environment from mmc ...
 Checking if uenvcmd is set ...
 gpio: pin 56 (gpio 56) value is 1
 Running uenvcmd ...
 mmc0 is current device
 reading zImage
 ** Unable to read file zImage **
 Wrong Image Format for bootm command
 ERROR: can't get kernel image!

 uenvcmd was not defined in uEnv.txt ...
 gpio: pin 56 (gpio 56) value is 0
 gpio: pin 55 (gpio 55) value is 0
 gpio: pin 54 (gpio 54) value is 0
 mmc1(part 0) is current device
 gpio: pin 54 (gpio 54) value is 1
 SD/MMC found on device 1
 reading uEnv.txt
 1430 bytes read in 6 ms (232.4 KiB/s)
 gpio: pin 55 (gpio 55) value is 1
 Loaded environment from uEnv.txt
 Importing environment from mmc ...
 Checking if uenvcmd is set ...
 gpio: pin 56 (gpio 56) value is 1
 Running uenvcmd ...
 reading zImage
 3717760 bytes read in 208 ms (17 MiB/s)
 reading initrd.img
 2869097 bytes read in 180 ms (15.2 MiB/s)
 reading /dtbs/am335x-boneblack.dtb
 25080 bytes read in 11 ms (2.2 MiB/s)
 Kernel image @ 0x82000000 [ 0x000000 - 0x38ba80 ]
 ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Using Device Tree in place at 88000000, end 880091f7

 Starting kernel ...

 Uncompressing Linux... done, booting the kernel.
 [    0.382246] omap2_mbox_probe: platform not supported
 [    0.548820] tps65217-bl tps65217-bl: no platform data provided
 [    0.612353] bone-capemgr bone_capemgr.9: slot #0: No cape found
 [    0.649459] bone-capemgr bone_capemgr.9: slot #1: No cape found
 [    0.686568] bone-capemgr bone_capemgr.9: slot #2: No cape found
 [    0.723677] bone-capemgr bone_capemgr.9: slot #3: No cape found
 [    0.739827] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HD)
 [    0.749423] bone-capemgr bone_capemgr.9: slot #6: Failed verification
 [    0.756169] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio)
 [    0.772652] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
 [    0.835289] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; ca8
 [    0.846970] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
 [    0.854249] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
 Loading, please wait...
 Scanning for Btrfs filesystems
 systemd-fsck[213]: rootfs: clean, 77169/233856 files, 410105/933632 blocks

 Debian GNU/Linux 7 beaglebone ttyO0

 default username:password is [debian:temppwd]


 --Apple-Mail=_3708676B-70D7-4AAC-9861-9E0F0E167561
 Content-Transfer-Encoding: 7bit
 Content-Type: text/html;
 	charset=us-ascii

 <html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><div></div></body></html>
 --Apple-Mail=_3708676B-70D7-4AAC-9861-9E0F0E167561
 Content-Disposition: attachment;
 	filename=2.log
 Content-Type: application/octet-stream;
 	name="2.log"
 Content-Transfer-Encoding: 7bit

 fatload mmc 0 82000000 netbsd-BEAGLEBONE.ub; bootm 82000000 root=ld0a
 reading netbsd-BEAGLEBONE.ub
 3679424 bytes read in 205 ms (17.1 MiB/s)
 ## Booting kernel from Legacy Image at 82000000 ...
    Image Name:   NetBSD/beagle 7.0
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    3679360 Bytes = 3.5 MiB
    Load Address: 80300000
    Entry Point:  80300000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 ## Transferring control to NetBSD stage-2 loader (at address 80300000) ...
 defgh
 uboot arg = 0x9f62afe0, 0, 0x9f79d9db, 0x9f79d9db
 [ Kernel symbol table missing! ]
 Loaded initial symtab at 0x805f597c, strtab at 0x8062786c, # entries 12045
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 7.0 (BEAGLEBONE.201510120510Z)
 total memory = 512 MB
 avail memory = 503 MB
 sysctl_createv: sysctl_create(machine_arch) returned 17
 kern.module.path=/stand/evbarm/7.0/modules
 timecounter: Timecounters tick every 10.000 msec
 mainbus0 (root)
 cpu0 at mainbus0 core 0: 1000 MHz Cortex-A8 r3p2 (Cortex V7A core)
 cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
 cpu0: isar: [0]=0x101111 [1]=0x13112111 [2]=0x21232031 [3]=0x11112131, [4]=0x11142, [5]=0
 cpu0: mmfr: [0]=0x1100003 [1]=0x20000000 [2]=0x1202000 [3]=0x211
 cpu0: pfr: [0]=0x1131 [1]=0x11
 cpu0: 32KB/64B 4-way L1 VIPT Instruction cache
 cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 cpu0: 256KB/64B 8-way write-through L2 PIPT Unified cache
 vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 vfp0: mvfr: [0]=0x11110222 [1]=0x11111
 obio0 at mainbus0 base 0x44000000-0x4fffffff: On-Board IO
 omapicu0 at obio0 addr 0x48200000-0x48200fff intrbase 0
 prcm0 at obio0 addr 0x44e00000-0x44e01fff: Power, Reset and Clock Management
 sitaracm0 at obio0 addr 0x44e10000-0x44e11fff: control module, rev 1.0
 edma0 at obio0 addr 0x49000000-0x490fffff intrbase 12
 gpmc0 at mainbus0 base 0x50000000: General Purpose Memory Controller, rev 6.0
 gpmc0: CS#0 valid, addr 0x08000000, size 256MB
 com0 at obio0 addr 0x44e09000-0x44e09fff intr 72: ns16550a, working fifo
 com0: console
 sdhc0 at obio0 addr 0x48060100-0x48060fff intr 64sdhc0: EDMA tx channel 24, rx channel 25
 : SDHC controller (EDMA)
 sdhc0: SD Host Specification 2.0, rev.49
 sdhc0: using DMA transfer
 sdmmc0 at sdhc0 slot 0
 sdhc1 at obio0 addr 0x481d8100-0x481d8fff intr 28sdhc1: EDMA tx channel 2, rx channel 3
 : SDHC controller (EDMA)
 sdhc1: SD Host Specification 2.0, rev.49
 sdhc1: using DMA transfer
 sdmmc1 at sdhc1 slot 0
 tiiic0 at obio0 addr 0x44e0b000-0x44e0bfff intr 70: rev 0.11
 iic0 at tiiic0: I2C bus
 seeprom0 at iic0 addr 0x50: AT24Cxx or compatible EEPROM: size 32768
 tps65217pmic0 at iic0 addr 0x24: TPS65217C Power Management Multi-Channel IC (rev 1.2)
 tps65217pmic0: power sources USB max 1800 mA, [AC] max 2500 mA
 tps65217pmic0: [LDO1: 1800 mV] [LDO2: 3300 mV] [LDO3: 1800 mV] [LDO4: 3300 mV] [DCDC1: 1500 mV] [DCDC2: 1325 mV] [DCDC3: 1125 mV] 
 omapdmtimer0 at obio0 addr 0x48040000-0x48040fff intr 68: DMTIMER2
 omapdmtimer1 at obio0 addr 0x44e31000-0x44e31fff intr 67: DMTIMER1ms
 omapdmtimer2 at obio0 addr 0x48044000-0x48044fff intr 92: DMTIMER4
 omapwdt32k0 at obio0 addr 0x44e35000-0x44e35fff: rev 0.1
 tiotg0 at obio0 addr 0x47400000-0x47404fff intrbase 17: TI dual-port USB controller: version v1.0.0.13
 motg0 at tiotg0 port 0: 0x4ea20800 version v0.0.0
 motg1 at tiotg0 port 1: 0x4ea20800 version v0.0.0
 motg1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
 usb0 at motg1: USB revision 2.0
 cpsw0 at obio0 addr 0x4a100000-0x4a107fff intrbase 40: TI CPSW Ethernet
 cpsw0: Ethernet address 6c:ec:eb:b0:18:46
 ukphy0 at cpsw0 phy 0WARNING: module error: vfs load failed for `miiverbose', error 45
 : OUI 0x00800f, model 0x000f, rev. 1
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 trng0 at obio0 addr 0x48310000-0x48311fff intr 111
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "dmtimer" frequency 24000000 Hz quality 100
 uhub0 at usb0: Mentor Graphics MOTG root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 1 port with 1 removable, self powered
 ld0 at sdmmc0: <0x03:0x5344:SL32G:0x80:0x000c2102:0x0f1>
 ld0: 30436 MB, 7729 cyl, 128 head, 63 sec, 512 bytes/sect x 62333952 sectors
 ld0: 4-bit width, bus clock 50.000 MHz
 sdmmc1: couldn't enable card: 60
 usbd_get_string: getting lang failed, using 0
 Realtek 802.11n WLAN Adapter, class 0/0, rev 2.00/2.00, addr 2, uhub0 port 1 not configured
 boot device: <unknown>
 root device: ld0a
 dump device (default ld0b): 
 file system (default generic): 
 root on ld0a dumps on ld0b
 mountroot: trying nfs...
 mountroot: trying msdos...
 mountroot: trying ext2fs...
 mountroot: trying ffs...
 root file system type: ffs
 WARNING: no TOD clock present
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!
 init path (default /sbin/init): 
 init: copying out path `/sbin/init' 11
 Tue Oct 13 02:21:07 UTC 2015
 Starting root file system check:
 /dev/rld0a: file system is clean; not checking
 Growing ld0 disklabel (1111MB -> 30436MB)
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!
  ===== edma errint!

 --Apple-Mail=_3708676B-70D7-4AAC-9861-9E0F0E167561
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
 	charset=us-ascii

 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
 charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
 -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
 class=3D""><div class=3D""></div><div class=3D""><br class=3D""></div><div=
  class=3D""><span class=3D"Apple-tab-span" style=3D"white-space: pre;">		=
 </span></div><div class=3D""><br class=3D""></div><div class=3D""><br =
 class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
 Sep 30, 2015, at 12:35 PM, Soren Jacobsen &lt;<a =
 href=3D"mailto:snj@blef.org" class=3D"">snj@blef.org</a>&gt; =
 wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
 class=3D"">The following reply was made to PR port-arm32/50288; it has =
 been noted by GNATS.<br class=3D""><br class=3D"">From: Soren Jacobsen =
 &lt;<a href=3D"mailto:snj@blef.org" class=3D"">snj@blef.org</a>&gt;<br =
 class=3D"">To: <a href=3D"mailto:gnats-bugs@netbsd.org" =
 class=3D"">gnats-bugs@NetBSD.org</a><br class=3D"">Cc: <br =
 class=3D"">Subject: Re: port-arm32/50288:<br class=3D""> =
 NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on =
 BBB<br class=3D"">Date: Wed, 30 Sep 2015 12:30:10 -0700<br class=3D""><br =
 class=3D""> On 09/28 20:30, <a href=3D"mailto:David.S.Alessio@gmail.com" =
 class=3D"">David.S.Alessio@gmail.com</a> wrote:<br class=3D""><blockquote =
 type=3D"cite" class=3D"">** Unable to read file =
 /home/builds/ab/netbsd-7-0-RC3/evbarm-earmv7hf/201508110747Z-rlse/evbarm/b=
 inary/kernel **<br class=3D""></blockquote><br class=3D""> This part has =
 been fixed.<br class=3D""><br class=3D""> Soren<br class=3D""><br =
 class=3D""></div></div></blockquote></div><br =
 class=3D""></div></body></html>=

 --Apple-Mail=_3708676B-70D7-4AAC-9861-9E0F0E167561--

 --Apple-Mail=_6EB2E60F-207E-4313-A9D9-DED358F70890--

Responsible-Changed-From-To: port-arm32-maintainer->jmcneill
Responsible-Changed-By: jmcneill@NetBSD.org
Responsible-Changed-When: Mon, 02 Nov 2015 01:10:07 +0000
Responsible-Changed-Why:
Mine.


State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Mon, 02 Nov 2015 01:10:07 +0000
State-Changed-Why:
I checked in a fix to -current for the "edma errint!" problem: http://mail-index.netbsd.org/source-changes/2015/11/01/msg069818.html

Corresponding pullup request for netbsd-7: http://releng.netbsd.org/cgi-bin/req-7.cgi?show=1017

Are you able to apply this change to a netbsd-7 tree and see if it fixes the issue for you?


From: "David S. Alessio" <david.s.alessio@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: jmcneill@NetBSD.org,
 port-arm32-maintainer@netbsd.org,
 netbsd-bugs@netbsd.org,
 gnats-admin@netbsd.org
Subject: Re: port-arm32/50288 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB)
Date: Wed, 4 Nov 2015 08:44:50 -0800

 --Apple-Mail=_17E302E5-2383-40B0-A7ED-99C61B29A523
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=utf-8


 > On Nov 1, 2015, at 5:10 PM, jmcneill@NetBSD.org wrote:
 >=20
 > Synopsis: NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img =
 doesn't boot on BBB
 >=20
 > Responsible-Changed-From-To: port-arm32-maintainer->jmcneill
 > Responsible-Changed-By: jmcneill@NetBSD.org
 > Responsible-Changed-When: Mon, 02 Nov 2015 01:10:07 +0000
 > Responsible-Changed-Why:
 > Mine.
 >=20
 >=20
 > State-Changed-From-To: open->feedback
 > State-Changed-By: jmcneill@NetBSD.org
 > State-Changed-When: Mon, 02 Nov 2015 01:10:07 +0000
 > State-Changed-Why:
 > I checked in a fix to -current for the "edma errint!" problem: =
 http://mail-index.netbsd.org/source-changes/2015/11/01/msg069818.html
 >=20
 > Corresponding pullup request for netbsd-7: =
 http://releng.netbsd.org/cgi-bin/req-7.cgi?show=3D1017
 >=20
 > Are you able to apply this change to a netbsd-7 tree and see if it =
 fixes the issue for you?
 >=20

 Thanks for the prompt reply.  I tried =
 netbsd-7/201511031240Z/evbarm-earmv7hf/binary/gzimg/
 It fixes the =E2=80=9Cedma errint!=E2=80=9D issue, but fails to read =
 some sectors.  The log is attached.


 --Apple-Mail=_17E302E5-2383-40B0-A7ED-99C61B29A523
 Content-Disposition: attachment;
 	filename=bbb.log
 Content-Type: application/octet-stream;
 	name="bbb.log"
 Content-Transfer-Encoding: 7bit

 U-Boot# bootm
 ## Booting kernel from Legacy Image at 82000000 ...
    Image Name:   NetBSD/beagle 7.0_STABLE
    Image Type:   ARM NetBSD Kernel Image (uncompressed)
    Data Size:    3744896 Bytes = 3.6 MiB
    Load Address: 80300000
    Entry Point:  80300000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 ## Transferring control to NetBSD stage-2 loader (at address 80300000) ...
 defgh
 uboot arg = 0x9f62afe0, 0, 0x9f79d9db, 0x9f79d9db
 [ Kernel symbol table missing! ]
 Loaded initial symtab at 0x8060597c, strtab at 0x8063786c, # entries 12045
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 7.0_STABLE (BEAGLEBONE.201511031240Z)
 total memory = 512 MB
 avail memory = 503 MB
 sysctl_createv: sysctl_create(machine_arch) returned 17
 kern.module.path=/stand/evbarm/7.0/modules
 timecounter: Timecounters tick every 10.000 msec
 mainbus0 (root)
 cpu0 at mainbus0 core 0: 1000 MHz Cortex-A8 r3p2 (Cortex V7A core)
 cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
 cpu0: isar: [0]=0x101111 [1]=0x13112111 [2]=0x21232031 [3]=0x11112131, [4]=0x11142, [5]=0
 cpu0: mmfr: [0]=0x1100003 [1]=0x20000000 [2]=0x1202000 [3]=0x211
 cpu0: pfr: [0]=0x1131 [1]=0x11
 cpu0: 32KB/64B 4-way L1 VIPT Instruction cache
 cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 cpu0: 256KB/64B 8-way write-through L2 PIPT Unified cache
 vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 vfp0: mvfr: [0]=0x11110222 [1]=0x11111
 obio0 at mainbus0 base 0x44000000-0x4fffffff: On-Board IO
 omapicu0 at obio0 addr 0x48200000-0x48200fff intrbase 0
 prcm0 at obio0 addr 0x44e00000-0x44e01fff: Power, Reset and Clock Management
 sitaracm0 at obio0 addr 0x44e10000-0x44e11fff: control module, rev 1.0
 edma0 at obio0 addr 0x49000000-0x490fffff intrbase 12
 gpmc0 at mainbus0 base 0x50000000: General Purpose Memory Controller, rev 6.0
 gpmc0: CS#0 valid, addr 0x08000000, size 256MB
 com0 at obio0 addr 0x44e09000-0x44e09fff intr 72: ns16550a, working fifo
 com0: console
 sdhc0 at obio0 addr 0x48060100-0x48060fff intr 64sdhc0: EDMA tx channel 24, rx channel 25
 : SDHC controller (EDMA)
 sdhc0: SD Host Specification 2.0, rev.49
 sdhc0: using DMA transfer
 sdmmc0 at sdhc0 slot 0
 sdhc1 at obio0 addr 0x481d8100-0x481d8fff intr 28sdhc1: EDMA tx channel 2, rx channel 3
 : SDHC controller (EDMA)
 sdhc1: SD Host Specification 2.0, rev.49
 sdhc1: using DMA transfer
 sdmmc1 at sdhc1 slot 0
 tiiic0 at obio0 addr 0x44e0b000-0x44e0bfff intr 70: rev 0.11
 iic0 at tiiic0: I2C bus
 seeprom0 at iic0 addr 0x50: AT24Cxx or compatible EEPROM: size 32768
 tps65217pmic0 at iic0 addr 0x24: TPS65217C Power Management Multi-Channel IC (rev 1.2)
 tps65217pmic0: power sources USB max 1800 mA, [AC] max 2500 mA
 tps65217pmic0: [LDO1: 1800 mV] [LDO2: 3300 mV] [LDO3: 1800 mV] [LDO4: 3300 mV] [DCDC1: 1500 mV] [DCD 
 omapdmtimer0 at obio0 addr 0x48040000-0x48040fff intr 68: DMTIMER2
 omapdmtimer1 at obio0 addr 0x44e31000-0x44e31fff intr 67: DMTIMER1ms
 omapdmtimer2 at obio0 addr 0x48044000-0x48044fff intr 92: DMTIMER4
 omapwdt32k0 at obio0 addr 0x44e35000-0x44e35fff: rev 0.1
 tiotg0 at obio0 addr 0x47400000-0x47404fff intrbase 17: TI dual-port USB controller: version v1.0.0.3
 motg0 at tiotg0 port 0: 0x4ea20800 version v0.0.0
 motg1 at tiotg0 port 1: 0x4ea20800 version v0.0.0
 motg1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
 usb0 at motg1: USB revision 2.0
 cpsw0 at obio0 addr 0x4a100000-0x4a107fff intrbase 40: TI CPSW Ethernet
 cpsw0: Ethernet address 6c:ec:eb:b0:18:46
 ukphy0 at cpsw0 phy 0WARNING: module error: vfs load failed for `miiverbose', error 45
 : OUI 0x00800f, model 0x000f, rev. 1
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 trng0 at obio0 addr 0x48310000-0x48311fff intr 111
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "dmtimer" frequency 24000000 Hz quality 100
 uhub0 at usb0: Mentor Graphics MOTG root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 1 port with 1 removable, self powered
 ld0 at sdmmc0: <0x03:0x5344:SL32G:0x80:0x6acb6529:0x0f6>
 ld0: 29476 MB, 7486 cyl, 128 head, 63 sec, 512 bytes/sect x 60367872 sectors
 ld0: 4-bit width, bus clock 50.000 MHz
 sdmmc1: couldn't enable card: 60
 boot device: <unknown>
 root device: ld0
 dump device (default ld0b): 
 file system (default generic): 
 root on ld0a dumps on ld0b
 mountroot: trying nfs...
 mountroot: trying msdos...
 mountroot: trying ext2fs...
 mountroot: trying ffs...
 root file system type: ffs
 WARNING: no TOD clock present
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!
 init path (default /sbin/init): 
 init: copying out path `/sbin/init' 11
 Tue Nov  3 14:30:42 UTC 2015
 Starting root file system check:
 /dev/rld0a: file system is clean; not checking
 Growing ld0 disklabel (1111MB -> 29476MB)
 ld0a: error reading fsbn 128 of 128-143 (ld0 bn 385152; cn 188 tn 4 sn 0)
 resize_ffs: read failed: ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 Operation timed out
 Not resizing /: already correct size
 ld0a: error reading fsbn 77632 of 77632-77659 (ld0 bn 462656; cn 225 tn 58 sn 0)
 ld0a: error reading fsbn 74496 of 74496-74527 (ld0 bn 459520; cn 224 tn 24 sn 0)
 eval: mount: remote access failed
 ld0a: error reading fsbn 12160 of 12160-12191 (ld0 bn 397184; cn 193 tn 60 sn 0)
 eval: rm: remote access failed
 /etc/rc.d/root exited with code 1
 ld0a: error reading fsbn 19364 of 19364-19367 (ld0 bn 404388; cn 197 tn 29 sn 4)
 ld0a: error reading fsbn 77376 of 77376-77407 (ld0 bn 462400; cn 225 tn 50 sn 0)
 eval: swapctl: remote access failed
 Starting file system checks:
 ld0a: error reading fsbn 79776 of 79776-79807 (ld0 bn 464800; cn 226 tn 61 sn 0)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 fsck: exec /sbin/fsck_msdos for /dev/rld0e: ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0)
 Operation timed out
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 fsck: exec /usr/sbin/fsck_msdos for /dev/rld0e: ld0a: error reading fsbn 1435548 of 1435548-1435551 )
 No such file or directory
 Automatic file system check failed; help!
 ERROR: ABORTING BOOT (sending SIGTERM to parent)!
 [1]   Terminated              (stty status "^T...
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1777212 of 1777212-1777215 (ld0 bn 2162236; cn 1055 tn 49 sn 28)
 ld0a: error reading fsbn 12632 of 12632-12635 (ld0 bn 397656; cn 194 tn 10 sn 24)
 init: _getttyent: ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 )
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 Operation timed out
 ld0a: error reading fsbn 33824 of 33824-33855 (ld0 bn 418848; cn 204 tn 33 sn 0)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1435548 of 1435548-1435551 (ld0 bn 1820572; cn 888 tn 60 sn 28)
 ld0a: error reading fsbn 1414300 of 1414300-1414303 (ld0 bn 1799324; cn 878 tn 36 sn 28)
 ld0a: error reading fsbn 1777212 of 1777212-1777215 (ld0 bn 2162236; cn 1055 tn 49 sn 28)
 ld0a: error reading fsbn 1777212 of 1777212-1777215 (ld0 bn 2162236; cn 1055 tn 49 sn 28)
 ld0a: error reading fsbn 1777212 of 1777212-1777215 (ld0 bn 2162236; cn 1055 tn 49 sn 28)
 ld0a: error reading fsbn 1777212 of 1777212-1777215 (ld0 bn 2162236; cn 1055 tn 49 sn 28)

 U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
 reading args


 --Apple-Mail=_17E302E5-2383-40B0-A7ED-99C61B29A523
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii



 --Apple-Mail=_17E302E5-2383-40B0-A7ED-99C61B29A523--

From: Jared McNeill <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, David.S.Alessio@gmail.com
Subject: Re: port-arm32/50288 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img
 doesn't boot on BBB)
Date: Wed, 4 Nov 2015 17:22:50 -0400 (AST)

 On Wed, 4 Nov 2015, David S. Alessio wrote:

 > Thanks for the prompt reply.  I tried =
 > netbsd-7/201511031240Z/evbarm-earmv7hf/binary/gzimg/
 > It fixes the =E2=80=9Cedma errint!=E2=80=9D issue, but fails to read =
 > some sectors.  The log is attached.

 I submitted the pullup request but I don't think it has been processed yet 
 (so that build still won't have the fix). You could try either a HEAD 
 build, or build a custom kernel yourself with the change backported.

From: "David S. Alessio" <david.s.alessio@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: jmcneill@NetBSD.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: port-arm32/50288 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB)
Date: Wed, 11 Nov 2015 12:33:28 -0800

 --Apple-Mail=_46D6DB32-14DA-4423-88EA-A8874F658BAB
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=utf-8


 > On Nov 4, 2015, at 1:25 PM, Jared McNeill <jmcneill@invisible.ca> =
 wrote:
 >=20
 > The following reply was made to PR port-arm32/50288; it has been noted =
 by GNATS.
 >=20
 > From: Jared McNeill <jmcneill@invisible.ca>
 > To: gnats-bugs@NetBSD.org
 > Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, =
 David.S.Alessio@gmail.com
 > Subject: Re: port-arm32/50288 =
 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img
 > doesn't boot on BBB)
 > Date: Wed, 4 Nov 2015 17:22:50 -0400 (AST)
 >=20
 > On Wed, 4 Nov 2015, David S. Alessio wrote:
 >=20
 >> Thanks for the prompt reply.  I tried =3D
 >> netbsd-7/201511031240Z/evbarm-earmv7hf/binary/gzimg/
 >> It fixes the =3DE2=3D80=3D9Cedma errint!=3DE2=3D80=3D9D issue, but =
 fails to read =3D
 >> some sectors.  The log is attached.
 >=20
 > I submitted the pullup request but I don't think it has been processed =
 yet=20
 > (so that build still won't have the fix). You could try either a HEAD=20=

 > build, or build a custom kernel yourself with the change backported.
 >=20

 There=E2=80=99s still a problem with reading/booting from the SD card.
 I tried netbsd-7/201511091230Z/evbarm-earmv7hf/binary/gzimg/arm7.img.gz:
 		...
 ld0 at sdmmc0: <0x03:0x5344:SL32G:0x80:0x6acb6529:0x0f6>
 ld0: 29476 MB, 7486 cyl, 128 head, 63 sec, 512 bytes/sect x 60367872 =
 sectors
 ld0: 4-bit width, bus clock 50.000 MHz
 sdmmc1: couldn't enable card: 60
 boot device: <unknown>
 root device: ld0a
 dump device (default ld0b):=20
 file system (default generic):=20
 root on ld0a dumps on ld0b
 mountroot: trying nfs...
 mountroot: trying msdos...
 mountroot: trying ext2fs...
 mountroot: trying ffs...
 root file system type: ffs
 WARNING: no TOD clock present
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!
 init path (default /sbin/init):=20
 init: copying out path `/sbin/init' 11
 Mon Nov  9 14:24:17 UTC 2015
 Starting root file system check:
 /dev/rld0a: file system is clean; not checking
 Growing ld0 disklabel (1111MB -> 29476MB)
 ld0a: error reading fsbn 128 of 128-143 (ld0 bn 385152; cn 188 tn 4 sn =
 0)
 resize_ffs: read failed: ld0a: error reading fsbn 1435676 of =
 1435676-1435679 (ld0 bn 1820700; cn 889)
 ld0a: error reading fsbn 1435676 of 1435676-1435679 (ld0 bn 1820700; cn =
 889 tn 0 sn 28)
 ld0a: error reading fsbn 1435676 of 1435676-1435679 (ld0 bn 1820700; cn =
 889 tn 0 sn 28)
 Operation timed out
 Not resizing /: already correct size
 ld0a: error reading fsbn 77632 of 77632-77659 (ld0 bn 462656; cn 225 tn =
 58 sn 0)
 ld0a: error reading fsbn 76320 of 76320-76351 (ld0 bn 461344; cn 225 tn =
 17 sn 0)
 eval: mount: remote access failed
 ld0a: error reading fsbn 12192 of 12192-12223 (ld0 bn 397216; cn 193 tn =
 61 sn 0)
 eval: rm: remote access failed
 /etc/rc.d/root exited with code 1
 ld0a: error reading fsbn 19364 of 19364-19367 (ld0 bn 404388; cn 197 tn =
 29 sn 4)
 ld0a: error reading fsbn 77568 of 77568-77599 (ld0 bn 462592; cn 225 tn =
 56 sn 0)
 eval: swapctl: remote access failed
 Starting file system checks:
 ld0a: error reading fsbn 79776 of 79776-79807 (ld0 bn 464800; cn 226 tn =
 61 sn 0)
 ld0a: error reading fsbn 1435676 of 1435676-1435679 (ld0 bn 1820700; cn =
 889 tn 0 sn 28)
 fsck: exec /sbin/fsck_msdos for /dev/rld0e: ld0a: error reading fsbn =
 1435676 of 1435676-1435679 (ld0)
 ld0a: error reading fsbn 1435676 of 1435676-1435679 (ld0 bn 1820700; cn =
 889 tn 0 sn 28)
 Operation timed out




 --Apple-Mail=_46D6DB32-14DA-4423-88EA-A8874F658BAB
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
 	charset=utf-8

 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
 charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
 -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
 class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
 class=3D"">On Nov 4, 2015, at 1:25 PM, Jared McNeill &lt;<a =
 href=3D"mailto:jmcneill@invisible.ca" =
 class=3D"">jmcneill@invisible.ca</a>&gt; wrote:</div><br =
 class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">The =
 following reply was made to PR port-arm32/50288; it has been noted by =
 GNATS.<br class=3D""><br class=3D"">From: Jared McNeill &lt;<a =
 href=3D"mailto:jmcneill@invisible.ca" =
 class=3D"">jmcneill@invisible.ca</a>&gt;<br class=3D"">To: <a =
 href=3D"mailto:gnats-bugs@netbsd.org" =
 class=3D"">gnats-bugs@NetBSD.org</a><br class=3D"">Cc: <a =
 href=3D"mailto:gnats-admin@netbsd.org" =
 class=3D"">gnats-admin@netbsd.org</a>, <a =
 href=3D"mailto:netbsd-bugs@netbsd.org" =
 class=3D"">netbsd-bugs@netbsd.org</a>, <a =
 href=3D"mailto:David.S.Alessio@gmail.com" =
 class=3D"">David.S.Alessio@gmail.com</a><br class=3D"">Subject: Re: =
 port-arm32/50288 =
 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img<br class=3D""> =
 doesn't boot on BBB)<br class=3D"">Date: Wed, 4 Nov 2015 17:22:50 -0400 =
 (AST)<br class=3D""><br class=3D""> On Wed, 4 Nov 2015, David S. Alessio =
 wrote:<br class=3D""><br class=3D""><blockquote type=3D"cite" =
 class=3D"">Thanks for the prompt reply. &nbsp;I tried =3D<br =
 class=3D"">netbsd-7/201511031240Z/evbarm-earmv7hf/binary/gzimg/<br =
 class=3D"">It fixes the =3DE2=3D80=3D9Cedma errint!=3DE2=3D80=3D9D =
 issue, but fails to read =3D<br class=3D"">some sectors. &nbsp;The log =
 is attached.<br class=3D""></blockquote><br class=3D""> I submitted the =
 pullup request but I don't think it has been processed yet <br class=3D"">=
  (so that build still won't have the fix). You could try either a HEAD =
 <br class=3D""> build, or build a custom kernel yourself with the change =
 backported.<br class=3D""><br =
 class=3D""></div></div></blockquote></div><br class=3D""><div =
 class=3D"">There=E2=80=99s still a problem with reading/booting from the =
 SD card.</div><div class=3D"">I =
 tried&nbsp;netbsd-7/201511091230Z/evbarm-earmv7hf/binary/gzimg/arm7.img.gz=
 :</div><div class=3D""><span class=3D"Apple-tab-span" =
 style=3D"white-space:pre">		</span>...</div><blockquote =
 style=3D"margin: 0 0 0 40px; border: none; padding: 0px;" class=3D""><div =
 class=3D"">ld0 at sdmmc0: =
 &lt;0x03:0x5344:SL32G:0x80:0x6acb6529:0x0f6&gt;<br class=3D"">ld0: 29476 =
 MB, 7486 cyl, 128 head, 63 sec, 512 bytes/sect x 60367872 sectors<br =
 class=3D"">ld0: 4-bit width, bus clock 50.000 MHz<br class=3D"">sdmmc1: =
 couldn't enable card: 60<br class=3D"">boot device: &lt;unknown&gt;<br =
 class=3D"">root device: ld0a<br class=3D"">dump device (default =
 ld0b):&nbsp;<br class=3D"">file system (default generic):&nbsp;<br =
 class=3D"">root on ld0a dumps on ld0b<br class=3D"">mountroot: trying =
 nfs...<br class=3D"">mountroot: trying msdos...<br class=3D"">mountroot: =
 trying ext2fs...<br class=3D"">mountroot: trying ffs...<br class=3D"">root=
  file system type: ffs<br class=3D"">WARNING: no TOD clock present<br =
 class=3D"">WARNING: using filesystem time<br class=3D"">WARNING: CHECK =
 AND RESET THE DATE!<br class=3D"">init path (default =
 /sbin/init):&nbsp;<br class=3D"">init: copying out path `/sbin/init' =
 11<br class=3D"">Mon Nov&nbsp;&nbsp;9 14:24:17 UTC 2015<br =
 class=3D"">Starting root file system check:<br class=3D"">/dev/rld0a: =
 file system is clean; not checking<br class=3D"">Growing ld0 disklabel =
 (1111MB -&gt; 29476MB)<br class=3D"">ld0a: error reading fsbn 128 of =
 128-143 (ld0 bn 385152; cn 188 tn 4 sn 0)<br class=3D"">resize_ffs: read =
 failed: ld0a: error reading fsbn 1435676 of 1435676-1435679 (ld0 bn =
 1820700; cn 889)<br class=3D"">ld0a: error reading fsbn 1435676 of =
 1435676-1435679 (ld0 bn 1820700; cn 889 tn 0 sn 28)<br class=3D"">ld0a: =
 error reading fsbn 1435676 of 1435676-1435679 (ld0 bn 1820700; cn 889 tn =
 0 sn 28)<br class=3D"">Operation timed out<br class=3D"">Not resizing /: =
 already correct size<br class=3D"">ld0a: error reading fsbn 77632 of =
 77632-77659 (ld0 bn 462656; cn 225 tn 58 sn 0)<br class=3D"">ld0a: error =
 reading fsbn 76320 of 76320-76351 (ld0 bn 461344; cn 225 tn 17 sn 0)<br =
 class=3D"">eval: mount: remote access failed<br class=3D"">ld0a: error =
 reading fsbn 12192 of 12192-12223 (ld0 bn 397216; cn 193 tn 61 sn 0)<br =
 class=3D"">eval: rm: remote access failed<br class=3D"">/etc/rc.d/root =
 exited with code 1<br class=3D"">ld0a: error reading fsbn 19364 of =
 19364-19367 (ld0 bn 404388; cn 197 tn 29 sn 4)<br class=3D"">ld0a: error =
 reading fsbn 77568 of 77568-77599 (ld0 bn 462592; cn 225 tn 56 sn 0)<br =
 class=3D"">eval: swapctl: remote access failed<br class=3D"">Starting =
 file system checks:<br class=3D"">ld0a: error reading fsbn 79776 of =
 79776-79807 (ld0 bn 464800; cn 226 tn 61 sn 0)<br class=3D"">ld0a: error =
 reading fsbn 1435676 of 1435676-1435679 (ld0 bn 1820700; cn 889 tn 0 sn =
 28)<br class=3D"">fsck: exec /sbin/fsck_msdos for /dev/rld0e: ld0a: =
 error reading fsbn 1435676 of 1435676-1435679 (ld0)<br class=3D"">ld0a: =
 error reading fsbn 1435676 of 1435676-1435679 (ld0 bn 1820700; cn 889 tn =
 0 sn 28)<br class=3D"">Operation timed out<br class=3D""><br =
 class=3D""></div></blockquote><div class=3D""><br class=3D""></div><div =
 class=3D""><br class=3D""></div></body></html>=

 --Apple-Mail=_46D6DB32-14DA-4423-88EA-A8874F658BAB--

From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-arm32/50288 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB)
Date: Thu, 12 Nov 2015 12:27:41 +0000 (UTC)

 david.s.alessio@gmail.com ("David S. Alessio") writes:

 >There=E2=80=99s still a problem with reading/booting from the SD card.
 >I tried netbsd-7/201511091230Z/evbarm-earmv7hf/binary/gzimg/arm7.img.gz:


 BBB boots -current (not netbsd-7) here from an SD card without problems.

 There is a single 'sdhc1: cmd timeout error' because one command
 fails when probing the on-board card.

 Maybe your errors are SD-card related?


 ## Transferring control to NetBSD stage-2 loader (at address 80300000) ...
 defgh
 uboot arg = 0x9f238fe0, 0, 0x9f3a1235, 0x9f2405e0
 [ Kernel symbol table missing! ]
 Loaded initial symtab at 0x8061e268, strtab at 0x8064f3b8, # entries 12547
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 7.99.21 (BLA) #29: Tue Nov  3 08:13:07 CET 2015
         mlelstv@pussyfoot:/home/netbsd-current/obj.evbarm/home/netbsd-current/src/sys/arch/evbarm/compile/BLA
 total memory = 512 MB
 avail memory = 500 MB
 sysctl_createv: sysctl_create(machine_arch) returned 17
 timecounter: Timecounters tick every 10.000 msec
 mainbus0 (root)
 cpu0 at mainbus0 core 0: 550 MHz Cortex-A8 r3p2 (Cortex V7A core)
 cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
 cpu0: sctlr: 0xc5187d
 cpu0: actlr: 0x42
 cpu0: revidr: 0x413fc082
 cpu0: isar: [0]=0x101111 [1]=0x13112111 [2]=0x21232031 [3]=0x11112131, [4]=0x11142, [5]=0
 cpu0: mmfr: [0]=0x1100003 [1]=0x20000000 [2]=0x1202000 [3]=0x211
 cpu0: pfr: [0]=0x1131 [1]=0x11
 cpu0: 32KB/64B 4-way L1 VIPT Instruction cache
 cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 cpu0: 256KB/64B 8-way write-through L2 PIPT Unified cache
 vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
 vfp0: mvfr: [0]=0x11110222 [1]=0x11111
 obio0 at mainbus0 base 0x44000000-0x4fffffff: On-Board IO
 omapicu0 at obio0 addr 0x48200000-0x48200fff intrbase 0
 prcm0 at obio0 addr 0x44e00000-0x44e01fff: Power, Reset and Clock Management
 sitaracm0 at obio0 addr 0x44e10000-0x44e11fff: control module, rev 1.0
 edma0 at obio0 addr 0x49000000-0x490fffff intrbase 12
 gpmc0 at mainbus0 base 0x50000000: General Purpose Memory Controller, rev 6.0
 gpmc0: CS#0 valid, addr 0x08000000, size 256MB
 com0 at obio0 addr 0x44e09000-0x44e09fff intr 72: ns16550a, working fifo
 com0: console
 sdhc0 at obio0 addr 0x48060100-0x48060fff intr 64sdhc0: EDMA tx channel 24, rx channel 25
 : SDHC controller (EDMA)
 sdhc0: SDHC 2.0, rev 49, platform DMA, 96000 kHz, HS 1.8V 3.0V, 1024 byte blocks
 sdmmc0 at sdhc0 slot 0
 sdhc1 at obio0 addr 0x481d8100-0x481d8fff intr 28sdhc1: EDMA tx channel 2, rx channel 3
 : SDHC controller (EDMA)
 sdhc1: SDHC 2.0, rev 49, platform DMA, 96000 kHz, HS 1.8V 3.0V, 1024 byte blocks
 sdmmc1 at sdhc1 slot 0
 tiiic0 at obio0 addr 0x44e0b000-0x44e0bfff intr 70: rev 0.11
 iic0 at tiiic0: I2C bus
 seeprom0 at iic0 addr 0x50: AT24Cxx or compatible EEPROM: size 32768
 tps65217pmic0 at iic0 addr 0x24: TPS65217C Power Management Multi-Channel IC (rev 1.2)
 tps65217pmic0: power sources USB max 1300 mA, [AC] max 2500 mA
 tps65217pmic0: [LDO1: 1800 mV] [LDO2: 3300 mV] [LDO3: 1800 mV] [LDO4: 3300 mV] [DCDC1: 1500 mV] [DCDC2: 1100 mV] [DCDC3: 1100 mV] 
 omapdmtimer0 at obio0 addr 0x48040000-0x48040fff intr 68: DMTIMER2
 omapdmtimer1 at obio0 addr 0x44e31000-0x44e31fff intr 67: DMTIMER1ms
 omapdmtimer2 at obio0 addr 0x48044000-0x48044fff intr 92: DMTIMER4
 omapwdt32k0 at obio0 addr 0x44e35000-0x44e35fff: rev 0.1
 tiotg0 at obio0 addr 0x47400000-0x47404fff intrbase 17: TI dual-port USB controller: version v1.0.0.13
 motg0 at tiotg0 port 0: 0x4ea20800 version v0.0.0
 motg1 at tiotg0 port 1: 0x4ea20800 version v0.0.0
 motg1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
 usb0 at motg1: USB revision 2.0
 cpsw0 at obio0 addr 0x4a100000-0x4a107fff intrbase 40: TI CPSW Ethernet
 cpsw0: Ethernet address 90:59:af:5b:7d:8d
 ukphy0 at cpsw0 phy 0: OUI 0x00800f, model 0x000f, rev. 1
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 trng0 at obio0 addr 0x48310000-0x48311fff intr 111
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 timecounter: Timecounter "dmtimer" frequency 24000000 Hz quality 100
 uhub0 at usb0: Mentor Graphics MOTG root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 1 port with 1 removable, self powered
 sdhc1: cmd timeout error
 WARNING: module error: can't find builtin dependency `nfsserver'
 ld1 at sdmmc1: <0xfe:0x014e:MMC02G:0x00:0x5581cc4e:0x000>
 ld1: 1832 MB, 930 cyl, 64 head, 63 sec, 512 bytes/sect x 3751936 sectors
 ld1: 4-bit width, 52.000 MHz
 ld0 at sdmmc0: <0x03:0x5344:SL08G:0x80:0x00755ab0:0x0f3>
 ld0: 7580 MB, 3850 cyl, 64 head, 63 sec, 512 bytes/sect x 15523840 sectors
 ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
 boot device: ld0
 root on ld0a dumps on ld0b
 mountroot: trying ext2fs...
 mountroot: trying ffs...
 root file system type: ffs
 kern.module.path=/stand/evbarm/7.99.21/modules
 WARNING: no TOD clock present
 WARNING: using filesystem time
 WARNING: CHECK AND RESET THE DATE!
 init: copying out path `/sbin/init' 11

 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv@serpens.de
                                 "A potential Snark may lurk in every tree."

Responsible-Changed-From-To: jmcneill->port-arm-maintainer
Responsible-Changed-By: jmcneill@NetBSD.org
Responsible-Changed-When: Fri, 25 Mar 2016 12:45:28 +0000
Responsible-Changed-Why:


From: "David S. Alessio" <david.s.alessio@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: jmcneill@NetBSD.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: port-arm32/50288 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB)
Date: Tue, 6 Sep 2016 09:17:05 -0700

 I suspect your SD card is actually booting from a NetBSD partition on =
 the on-board flash.
 Can you try erasing the on-board flash?  Does the SD card still boot?

 Regards,
 -david

 > On Nov 12, 2015, at 4:30 AM, Michael van Elst <mlelstv@serpens.de> =
 wrote:
 >=20
 > The following reply was made to PR port-arm32/50288; it has been noted =
 by GNATS.
 >=20
 > From: mlelstv@serpens.de (Michael van Elst)
 > To: gnats-bugs@netbsd.org
 > Cc:=20
 > Subject: Re: port-arm32/50288 =
 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on =
 BBB)
 > Date: Thu, 12 Nov 2015 12:27:41 +0000 (UTC)
 >=20
 > david.s.alessio@gmail.com ("David S. Alessio") writes:
 >=20
 >> There=3DE2=3D80=3D99s still a problem with reading/booting from the =
 SD card.
 >> I tried =
 netbsd-7/201511091230Z/evbarm-earmv7hf/binary/gzimg/arm7.img.gz:
 >=20
 >=20
 > BBB boots -current (not netbsd-7) here from an SD card without =
 problems.
 >=20
 > There is a single 'sdhc1: cmd timeout error' because one command
 > fails when probing the on-board card.
 >=20
 > Maybe your errors are SD-card related?
 >=20
 >=20
 > ## Transferring control to NetBSD stage-2 loader (at address 80300000) =
 ...
 > defgh
 > uboot arg =3D 0x9f238fe0, 0, 0x9f3a1235, 0x9f2405e0
 > [ Kernel symbol table missing! ]
 > Loaded initial symtab at 0x8061e268, strtab at 0x8064f3b8, # entries =
 12547
 > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, =
 2005,
 >     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
 >     The NetBSD Foundation, Inc.  All rights reserved.
 > Copyright (c) 1982, 1986, 1989, 1991, 1993
 >     The Regents of the University of California.  All rights reserved.
 >=20
 > NetBSD 7.99.21 (BLA) #29: Tue Nov  3 08:13:07 CET 2015
 >         =
 mlelstv@pussyfoot:/home/netbsd-current/obj.evbarm/home/netbsd-current/src/=
 sys/arch/evbarm/compile/BLA
 > total memory =3D 512 MB
 > avail memory =3D 500 MB
 > sysctl_createv: sysctl_create(machine_arch) returned 17
 > timecounter: Timecounters tick every 10.000 msec
 > mainbus0 (root)
 > cpu0 at mainbus0 core 0: 550 MHz Cortex-A8 r3p2 (Cortex V7A core)
 > cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
 > cpu0: sctlr: 0xc5187d
 > cpu0: actlr: 0x42
 > cpu0: revidr: 0x413fc082
 > cpu0: isar: [0]=3D0x101111 [1]=3D0x13112111 [2]=3D0x21232031 =
 [3]=3D0x11112131, [4]=3D0x11142, [5]=3D0
 > cpu0: mmfr: [0]=3D0x1100003 [1]=3D0x20000000 [2]=3D0x1202000 [3]=3D0x211=

 > cpu0: pfr: [0]=3D0x1131 [1]=3D0x11
 > cpu0: 32KB/64B 4-way L1 VIPT Instruction cache
 > cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
 > cpu0: 256KB/64B 8-way write-through L2 PIPT Unified cache
 > vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, =
 denormals
 > vfp0: mvfr: [0]=3D0x11110222 [1]=3D0x11111
 > obio0 at mainbus0 base 0x44000000-0x4fffffff: On-Board IO
 > omapicu0 at obio0 addr 0x48200000-0x48200fff intrbase 0
 > prcm0 at obio0 addr 0x44e00000-0x44e01fff: Power, Reset and Clock =
 Management
 > sitaracm0 at obio0 addr 0x44e10000-0x44e11fff: control module, rev 1.0
 > edma0 at obio0 addr 0x49000000-0x490fffff intrbase 12
 > gpmc0 at mainbus0 base 0x50000000: General Purpose Memory Controller, =
 rev 6.0
 > gpmc0: CS#0 valid, addr 0x08000000, size 256MB
 > com0 at obio0 addr 0x44e09000-0x44e09fff intr 72: ns16550a, working =
 fifo
 > com0: console
 > sdhc0 at obio0 addr 0x48060100-0x48060fff intr 64sdhc0: EDMA tx =
 channel 24, rx channel 25
 > : SDHC controller (EDMA)
 > sdhc0: SDHC 2.0, rev 49, platform DMA, 96000 kHz, HS 1.8V 3.0V, 1024 =
 byte blocks
 > sdmmc0 at sdhc0 slot 0
 > sdhc1 at obio0 addr 0x481d8100-0x481d8fff intr 28sdhc1: EDMA tx =
 channel 2, rx channel 3
 > : SDHC controller (EDMA)
 > sdhc1: SDHC 2.0, rev 49, platform DMA, 96000 kHz, HS 1.8V 3.0V, 1024 =
 byte blocks
 > sdmmc1 at sdhc1 slot 0
 > tiiic0 at obio0 addr 0x44e0b000-0x44e0bfff intr 70: rev 0.11
 > iic0 at tiiic0: I2C bus
 > seeprom0 at iic0 addr 0x50: AT24Cxx or compatible EEPROM: size 32768
 > tps65217pmic0 at iic0 addr 0x24: TPS65217C Power Management =
 Multi-Channel IC (rev 1.2)
 > tps65217pmic0: power sources USB max 1300 mA, [AC] max 2500 mA
 > tps65217pmic0: [LDO1: 1800 mV] [LDO2: 3300 mV] [LDO3: 1800 mV] [LDO4: =
 3300 mV] [DCDC1: 1500 mV] [DCDC2: 1100 mV] [DCDC3: 1100 mV]=20
 > omapdmtimer0 at obio0 addr 0x48040000-0x48040fff intr 68: DMTIMER2
 > omapdmtimer1 at obio0 addr 0x44e31000-0x44e31fff intr 67: DMTIMER1ms
 > omapdmtimer2 at obio0 addr 0x48044000-0x48044fff intr 92: DMTIMER4
 > omapwdt32k0 at obio0 addr 0x44e35000-0x44e35fff: rev 0.1
 > tiotg0 at obio0 addr 0x47400000-0x47404fff intrbase 17: TI dual-port =
 USB controller: version v1.0.0.13
 > motg0 at tiotg0 port 0: 0x4ea20800 version v0.0.0
 > motg1 at tiotg0 port 1: 0x4ea20800 version v0.0.0
 > motg1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
 > usb0 at motg1: USB revision 2.0
 > cpsw0 at obio0 addr 0x4a100000-0x4a107fff intrbase 40: TI CPSW =
 Ethernet
 > cpsw0: Ethernet address 90:59:af:5b:7d:8d
 > ukphy0 at cpsw0 phy 0: OUI 0x00800f, model 0x000f, rev. 1
 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 > trng0 at obio0 addr 0x48310000-0x48311fff intr 111
 > timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 > timecounter: Timecounter "dmtimer" frequency 24000000 Hz quality 100
 > uhub0 at usb0: Mentor Graphics MOTG root hub, class 9/0, rev =
 1.00/1.00, addr 1
 > uhub0: 1 port with 1 removable, self powered
 > sdhc1: cmd timeout error
 > WARNING: module error: can't find builtin dependency `nfsserver'
 > ld1 at sdmmc1: <0xfe:0x014e:MMC02G:0x00:0x5581cc4e:0x000>
 > ld1: 1832 MB, 930 cyl, 64 head, 63 sec, 512 bytes/sect x 3751936 =
 sectors
 > ld1: 4-bit width, 52.000 MHz
 > ld0 at sdmmc0: <0x03:0x5344:SL08G:0x80:0x00755ab0:0x0f3>
 > ld0: 7580 MB, 3850 cyl, 64 head, 63 sec, 512 bytes/sect x 15523840 =
 sectors
 > ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
 > boot device: ld0
 > root on ld0a dumps on ld0b
 > mountroot: trying ext2fs...
 > mountroot: trying ffs...
 > root file system type: ffs
 > kern.module.path=3D/stand/evbarm/7.99.21/modules
 > WARNING: no TOD clock present
 > WARNING: using filesystem time
 > WARNING: CHECK AND RESET THE DATE!
 > init: copying out path `/sbin/init' 11
 >=20
 > --=20
 > --=20
 >                                 Michael van Elst
 > Internet: mlelstv@serpens.de
 >                                 "A potential Snark may lurk in every =
 tree."
 >=20

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-arm32/50288
 (NetBSD-7.0_RC3/evbarm-earmv7hf/binary/gzimg/armv7.img doesn't boot on BBB)
Date: Thu, 25 May 2017 05:20:06 +0000

 On Tue, Sep 06, 2016 at 04:20:00PM +0000, David S. Alessio wrote:
  >  I suspect your SD card is actually booting from a NetBSD partition on =
  >  the on-board flash.
  >  Can you try erasing the on-board flash?  Does the SD card still boot?

 What's the state of this issue?

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: feedback->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Wed, 03 Jun 2020 19:22:28 +0000
State-Changed-Why:
Feedback timeout. armv7.img works on BBB in 9.x and -current.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.