BBB fails to complete Jessie flasher

I tried to flash my BBB rev A5C with the 2014-10-22 Debian Jessie lxqt flasher from http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-10-22. The flashing never completed, at least the user LEDs never changed from the cylon flashing pattern. I left the board run overnight. I have attached a log from the serial debug port.

Just in case the flasher had worked even though it never completed, I tried booting from the eMMC. This started but dropped out to a shell. I have also attached a log from the serial console for that boot.

My BBB correctly boots and runs the 2014-10-22 standalone lxde image from the same site using a different SD card.

I verified the md5sum of the image file I downloaded.

Any idea why the flasher fails? Has anyone else used this flasher successfully?

Thanks.

flasher_log.txt (24.2 KB)

jessie_boot_log.txt (21.4 KB)

Odd..

Hi Robert,

I tried it again and it hung right after:

Begin: Running /scripts/init-bottom … done.

I rewrote the image file to the SD card and tried again. This time it took about 10 minutes to copy the first partition as indicated by the time stamp.

Copying: /dev/mmcblk0p1 → /dev/mmcblk1p1
rsync: /boot/uboot/ → /tmp/boot/
Copying: /dev/mmcblk0p2 → /dev/mmcblk1p2
[ 584.455920] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
rsync: / → /tmp/rootfs/

It has been copying the second partition for about 1/2 hour.

I guess I will try a different SD card.

I think the progress bar is a good idea. The version of rsync in Jessie should support the --info=progress2 option. Some hints can be found at http://www.cyberciti.biz/faq/show-progress-during-file-transfer/

Dennis Cote

That's exactly what i was testing this morning:

https://github.com/RobertCNelson/boot-scripts/commit/f3f0812023466737ed5184886ec5e44cb932aeea

Other then the wacky %'s value, it shows MB progress.

Regards,

I tried to flash my BBB rev A5C with the 2014-10-22 Debian Jessie lxqt

flasher from
Beagleboard:BeagleBoneBlack Debian - eLinux.org. The
flashing
Any idea why the flasher fails? Has anyone else used this flasher
successfully?

I used this flasher successfully on a BBB rev C yesterday. It has been
running continuously since yesterday afternoon.

Brandon

I’m glad to hear that.

I reran the flasher using a different SD card and it finally completed. It finished with all user LEDs turned on. (It seems that the end state of the LEDs has changed from all on, to all off, and back to all on).

It took about 10 minutes for the first partition and about 6 minutes for the second.

I booted into ldqt, but it seems very minimal. There are no applications installed, not even a terminal program. I guess its back to the command line.

Dennis Cote

"qterminal" is under accessories..

Currently fighting oom linker issues when building chromium on my
omap5/2gb/sata build box.

Regards,

But the big change, it's using qt 5.3.2 on the backend, so it's really
easy for end users to develop applications vs the old gtk2 backend we
used on wheezy..

Regards,

I tried to flash my BBB rev A5C with the 2014-10-22 Debian Jessie lxqt
flasher from
Beagleboard:BeagleBoneBlack Debian - eLinux.org. The
flashing never completed, at least the user LEDs never changed from the
cylon flashing pattern. I left the board run overnight. I have attached
a
log from the serial debug port.

Just in case the flasher had worked even though it never completed, I
tried
booting from the eMMC. This started but dropped out to a shell. I have
also
attached a log from the serial console for that boot.

My BBB correctly boots and runs the 2014-10-22 standalone lxde image
from
the same site using a different SD card.

I verified the md5sum of the image file I downloaded.

Any idea why the flasher fails? Has anyone else used this flasher
successfully?

Odd..

-----------------------------
Copying: /dev/mmcblk0p1 -> /dev/mmcblk1p1
rsync: /boot/uboot/ -> /tmp/boot/

Copying: /dev/mmcblk0p2 -> /dev/mmcblk1p2

[ 585.521293] EXT4-fs (mmcblk1p2): mounted filesystem with ordered
data mode. Opts: (null)
rsync: / -> /tmp/rootfs/

Give it another run, it should only take about 10 minutes.. I should
find a switch for a progress bar in rsync..

I don¹t think there is one, but I usually use rsync -avz which displays
the files being copied. Might be a bit slower, but at least you can see
what¹s happening.

Regards,
John

Yes… that is why I wanted to try it out. We plan on using qt based applications for our project. Are there any QT demo programs installed by default?

BTW, when I first booted into Jessie the lxqt application menu was empty. I got nothing when I left clicked my mouse. I got a configuration menu when I right clicked. I played with the configuration, changed the menu file to lxqt-config.menu, and later changed it back to the lxde-application menu. Somewhere along the line the the Application menu started working. Its all good now, but I had no application menu when I said it was minimal.

Dennis Cote

But the big change, it's using qt 5.3.2 on the backend, so it's really
easy for end users to develop applications vs the old gtk2 backend we
used on wheezy..

Yes... that is why I wanted to try it out. We plan on using qt based
applications for our project. Are there any QT demo programs installed by
default?

Actually the whole desktop lxqt so all the lxqt-<xyz> apps are native
qt 5.3.2 applications. qterminal and cmst are also qt5 applications.

BTW, when I first booted into Jessie the lxqt application menu was empty. I
got nothing when I left clicked my mouse. I got a configuration menu when I
right clicked. I played with the configuration, changed the menu file to
lxqt-config.menu, and later changed it back to the lxde-application menu.
Somewhere along the line the the Application menu started working. Its all
good now, but I had no application menu when I said it was minimal.

That is odd, i know the icons are messed up initially, so there's a
few tweaks we need to do for the first startup..

Regards,

Actually the whole desktop lxqt so all the lxqt- apps are native
qt 5.3.2 applications. qterminal and cmst are also qt5 applications.

I knew that, but I was wondering if there was something that might show off the 3D capabilities of the SGX module.

That is odd, i know the icons are messed up initially, so there’s a
few tweaks we need to do for the first startup…

Also, I noticed that the lxqt-panel program is burning up nearly 20% of the CPU all the time, even when sitting idle, or the display blanked by DPMS. They must be polling for some status change or something.

I have also noticed that the file icons in the file manager are sometimes missing on startup, but can be restored by changing the file manager preferences to select a different icon theme, and then changing it back.

I see that there is no web browser installed. Do you know which one they might use?

Finally, the dpkg-reconfigure program is not installed so it can’t be used to set the timezone (as indicated at Beagleboard:BeagleBoneBlack Debian - eLinux.org). I just set the /etc/timezone file and copied the zoneinfo file from /usr/share/zoneinfo// to /etc/localtime.

Dennis Cote

Actually the whole desktop lxqt so all the lxqt-<xyz> apps are native
qt 5.3.2 applications. qterminal and cmst are also qt5 applications.

I knew that, but I was wondering if there was something that might show off
the 3D capabilities of the SGX module.

Ah, well that's the plan.. Just not ready..

https://github.com/rcn-ee/repos/tree/master/qtbase

That is odd, i know the icons are messed up initially, so there's a
few tweaks we need to do for the first startup..

Also, I noticed that the lxqt-panel program is burning up nearly 20% of the
CPU all the time, even when sitting idle, or the display blanked by DPMS.
They must be polling for some status change or something.

Yeap, i'm seeing that too..

I have also noticed that the file icons in the file manager are sometimes
missing on startup, but can be restored by changing the file manager
preferences to select a different icon theme, and then changing it back.

I see that there is no web browser installed. Do you know which one they
might use?

I'm trying to get chromium 38 built, but fighting the out of memory
linker stage. (really need to find a 4GB cortex-a15 board.)

I'm also looking at http://www.qupzilla.com/ which uses qt's webkit...

Finally, the dpkg-reconfigure program is not installed so it can't be used
to set the timezone (as indicated at
Beagleboard:BeagleBoneBlack Debian - eLinux.org). I just set
the /etc/timezone file and copied the zoneinfo file from
/usr/share/zoneinfo/<area>/<city> to /etc/localtime.

It's there, just got a be root:

debian@beaglebone:~$ dpkg-reconfigure tzdata
/usr/sbin/dpkg-reconfigure must be run as root

Regards,

Ah, well that’s the plan… Just not ready…

https://github.com/rcn-ee/repos/tree/master/qtbase

That’s good to hear. I’ll look for it later.

I’m trying to get chromium 38 built, but fighting the out of memory
linker stage. (really need to find a 4GB cortex-a15 board.)

I’m also looking at http://www.qupzilla.com/ which uses qt’s webkit…

Also good to hear.

It’s there, just got a be root:

debian@beaglebone:~$ dpkg-reconfigure tzdata
/usr/sbin/dpkg-reconfigure must be run as root

Right you are. I got a “command not found” error when I tried, and “which” returned nothing so I did it by hand. I must have typed it wrong each time (I seem to suffer from dyslexic typing some times).

Thanks for the help.

Dennis Cote

Actually, a little more testing shows the problem is related to the terminal used. When I use the QTerminal application, I get the following:

debian@beaglebone:~$ dpkg-reconfigure tzdata
bash: dpkg-reconfigure: command not found
debian@beaglebone:~$ which dpkg-reconfigure
debian@beaglebone:~$ sudo which dpkg-reconfigure
/usr/sbin/dpkg-reconfigure

When I use the a text or serial console I get the following:

debian@beaglebone:~$ dpkg-reconfigure tzdata
/usr/sbin/dpkg-reconfigure must be run as root
debian@beaglebone:~$ which dpkg-reconfigure
/usr/sbin/dpkg-reconfigure

I had originally tried using a QTerminal, and it looked like it wasn’t installed. Using sudo I can see that it is. Why do the different consoles produce different results? I suspect it is a login shell vs a non-login shell thing again.

Dennis Cote

Thanks!

We had this issue with lxterminal in wheezy, i need to add the "root"
path for qterminal too.. (now to figure out where append /sbin/
/usr/bin/ and ~/bin)

Regards,

Quick update, qupzilla is now in the repo, pages like html5test.com do
crash, but most thinks (like gmail) do seem to work pretty smoothly...

Regards,