Issue booting from SD om BBB while no problem on BBG, KERNEL 4.1.21-bone-rt-r20

114 views
Skip to first unread message

malkowki

unread,
Jul 6, 2016, 6:00:51 AM7/6/16
to BeagleBoard
Hello all,

I am struggling with booting the BBB REVC from 4GB class 10 uSD flashed with the image 4.1.21-bone-rt-r20 and u-boot image from branch v2016.07-rc2( I have followed all the steps from R.Nelson eewiki). when I press the S2 button and plug the 5V barrel supply I can see on my serial console CCCCCC while I was expecting at start to see all the 4 LEDS lighing on.
I used the same uSD card and try it on the BBG, the board boots without even pressing the S2 button.

Its there sometime I need to setup in the u-boot in order to correctly boot off uSD? I am wondering why I have no problem with the BBG? As I know they use the same ARM Core?

Thanks in advance for your answer.

Beninio


Below the boot message on BBG without even pressing S2
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.21-bone-rt-r20 (beninio@mppdev) (gcc version 4.9.4 20151028 (prerelease) (Linaro GCC 4.9-2016.02) ) #3 Wed May 25 13:55:22 CEST 2016
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x BeagleBone Green
[    0.000000] cma: Reserved 24 MiB at 0x9e800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0ab0d7c, node_mem_map de36d000
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] CPU: All CPU(s) started in SVC mode.


Here the boot message from BBB REV C using the same uSD card pressing S2 and plug in the 5V barrel
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC


William Hermans

unread,
Jul 6, 2016, 1:17:14 PM7/6/16
to beagl...@googlegroups.com
Try holding and pressing the boot button while booting from sdcard. Let's see if the new bootloder thinks the old one is too old.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/9052bc19-bddd-4d62-9bfd-0206971d81f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Jul 6, 2016, 1:23:32 PM7/6/16
to beagl...@googlegroups.com
Passed that, the only other thing I can think of offhand. Is double check to make sure you do not have the board file hard coded.

bonegreen == beaglebone green
boneblack == beaglebone black

https://github.com/torvalds/linux/tree/master/arch/arm/boot/dts

lots to choose from though . . .

Beninio Mbila

unread,
Jul 7, 2016, 3:40:40 AM7/7/16
to beagl...@googlegroups.com
Hello William,

When keep holding boot button the boardd doesn't boot indeed,

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/k2Y4nR5wXpU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORqB86CRtBt9pBUXtKsCkJ9xjiiMkdzMxG7ETapLUEo5zw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Beninio Mbila

Beninio Mbila

unread,
Jul 7, 2016, 3:50:07 AM7/7/16
to beagl...@googlegroups.com
Hello William,

The board file use for this kernel are:
./am335x-arduino-tre.dtb
./am335x-base0033.dtb
./am335x-bone-cape-bone-argus.dtb
./am335x-bone.dtb
./am335x-boneblack-bbb-exp-c.dtb
./am335x-boneblack-bbb-exp-r.dtb
./am335x-boneblack-bbbmini.dtb
./am335x-boneblack-cape-bone-argus.dtb
./am335x-boneblack-emmc-overlay.dtb
./am335x-boneblack-hdmi-overlay.dtb
./am335x-boneblack-nhdmi-overlay.dtb
./am335x-boneblack-overlay.dtb
./am335x-boneblack-replicape.dtb
./am335x-boneblack-wl1835mod.dtb
./am335x-boneblack.dtb
./am335x-bonegreen-overlay.dtb
./am335x-bonegreen.dtb
./am335x-chiliboard.dtb
./am335x-evm.dtb
./am335x-evmsk.dtb
./am335x-lxm.dtb
./am335x-nano.dtb
./am335x-pepper.dtb

I still do not understand how I cannot boot properly off the uSD card on the BBB?
I have used a 4GB uSD Class 10, and use the following command to format it prior sending the kernel file, rootfs, modules.... I have first sent the MLO and u-boot-dtb.img

sudo mkfs.ext4 -L rootfs ${DISK}1, one of the steo from Robert Nelson eewiki to format a uSD card.

It is a bit enoying that I can't even clone another card to deploy on other BBB card.

Can you advise how to solve this? I still do not understand why on BBG I can boot without pressing the S2 button?


You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/k2Y4nR5wXpU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORrJLqsbN-rgLa9LCFRBXNNo35p1xfqKtyqXLyftbaWptg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Beninio Mbila

William Hermans

unread,
Jul 7, 2016, 10:18:25 AM7/7/16
to beagl...@googlegroups.com
Here the boot message from BBB REV C using the same uSD card pressing S2 and plug in the 5V barrel
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

Ok, I did not see this yesterday, the C's we blank on my end. Anyway, "CCCCCCCC. . ." means that the board can not find a suitable bootloader. Which in this case I'm not sure if this is firstage ( MLO ) or second stage ( uboot ).

But this is odd since the Beaglebone green is exactly the same board as the Beaglebone black, with just a few differences. I have not followed Roberts build from scratch guide in a year or more so I've not experienced this personally. However I can say that the latest Jessie testing image boots both as I very recently did just that. Booted both off the same sdcard.

Y M Patil

unread,
Jul 23, 2016, 3:34:36 AM7/23/16
to BeagleBoard
Hi,

I had the same issue on BBB, solution is in this link
You can give a try if you still facing this issue.

Regards,
YG
Reply all
Reply to author
Forward
0 new messages