So I thought about it for a few minutes when not otherwise busy, and
figured it out on my own.


$ cd /opt/scripts/tools/developers/
$ git pull
$ sudo ./update_bootloader.sh
$ sudo reboot

serial debug:
...
[84389.038894] reboot: Restarting system

U-Boot SPL 2017.01-rc2-00003-ga4c7d45040 (Dec 30 2016 - 11:30:57)
Trying to boot from MMC2

*U-Boot 2017.01-rc2-00003-ga4c7d45040 (Dec 30 2016 - 11:30:57 -0600),
Build: jenkins-github_Bootloader-Builder-497*
...


*But I forgot to change /boot/uEnv.txt to allow uboot cape manager . . .*
$ sudo nano /boot/uEnv.txt
. . .
##BeagleBone Black: HDMI (Audio/Video) disabled:
*enable_uboot_overlays=1*
dtb=am335x-boneblack-emmc-overlay.dtb
dtb_overlay=/lib/firmware/BB-W1-P8.26-00A0.dtbo

. . .

Serial debug now:
loading /boot/vmlinuz-4.4.12-ti-r31 ...
7777640 bytes read in 514 ms (14.4 MiB/s)
loading /boot/dtbs/4.4.12-ti-r31/am335x-boneblack-emmc-overlay.dtb ...
60139 bytes read in 39 ms (1.5 MiB/s)


*debug: [dtb_overlay=/lib/firmware/BB-W1-P8.26-00A0.dtbo] ...loading
/lib/firmware/BB-W1-P8.26-00A0.dtbo ...974 bytes read in 72 ms (12.7 KiB/s)*

Testing 1-wire temp sensor:
debian@beaglebone:~$ cat /sys/bus/w1/devices/28-00000647ddf6/w1_slave
1c 01 4b 46 7f ff 04 10 e8 : crc=e8 YES
1c 01 4b 46 7f ff 04 10 e8 t=17750

Everything working fine.

On Fri, Dec 30, 2016 at 2:07 PM, William Hermans <[email protected]> wrote:

> On Fri, Dec 30, 2016 at 11:03 AM, Robert Nelson <[email protected]>
> wrote:
>
>> Okay, time to push it out as default...
>>
>> First stable build is:
>>
>> U-Boot SPL 2017.01-rc2-00003-ga4c7d45040 (Dec 30 2016 - 11:30:57)
>> Trying to boot from MMC1
>>
>> U-Boot 2017.01-rc2-00003-ga4c7d45040 (Dec 30 2016 - 11:30:57 -0600),
>> Build: jenkins-github_Bootloader-Builder-497
>>
>> This includes a U-Boot overlays disabled by default, end user has to
>> enable in /boot/uEnv.txt overide..
>>
>> Doc's:
>>
>> to enable this new feature, set enable_boot_overlays in /boot/uEnv.txt
>>
>> enable_uboot_overlays=1
>>
>> First 4 slots are then auto-loaded
>> 5th slot, can be set by user
>>
>> dtb_overlay=/lib/firmware/*.dtbo
>>
>> Works best with a r78 based v4.4.x kernel..
>>
>
> Hey Robert,
>
> So, a question some of us who already have existing, and working images
> may have. Is how do we update our uboot ? When updating to a new kernel, I
> suspect this will happen automatically via dpkg. But what if "we" do not
> wish to update our kernel? Things may be working perfectly etc, and maybe
> we're a bit skittish about updating to a newer kernel. Or maybe we have
> kernel reliant software ( custom kernel modules, etc ).
>
> I just did a git pull update of the scripts repo's but the only two files
> updated seem like they're unrelated. Or maybe it just seems that way to me
> . . .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORpWuvSfU_6OKy4dt1cRsPd-av_4T1F1xZ58URSoJA6Yzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to