Comments (11)
Oh it depends on a bunch of things, so i'd rather users ask before they try to use it.. ;)
Which script are you running?
What Board model?
What's your current rootfs layout (partitions/etc... fdisk -l)
What version (cat /etc/dogtag)
Regards,
from boot-scripts.
Robert, (noob warning here). Basically, I take a fresh BBB Rev C (BeagleBoard.org BeagleBone Debian Image 2014-04-23), install this repo (https://github.com/Yona-Appletree/LEDscape), which requires some mods (see readme) to allow full use of the prus and turning off the HDMI. I then simply want to clone the entire image to make it easy to install on multiple BBBs. The BBB and this repo get used alot for controlling leds. Pretty simple really.
Disk /dev/mmcblk0: 3925 MB, 3925868544 bytes
4 heads, 16 sectors/track, 119808 cylinders, total 7667712 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 2048 198655 98304 e W95 FAT16 (LBA)
/dev/mmcblk0p2 198656 7667711 3734528 83 Linux
Disk /dev/mmcblk0boot1: 1 MB, 1048576 bytes
4 heads, 16 sectors/track, 32 cylinders, total 2048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mmcblk0boot1 doesn't contain a valid partition table
Disk /dev/mmcblk0boot0: 1 MB, 1048576 bytes
4 heads, 16 sectors/track, 32 cylinders, total 2048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mmcblk0boot0 doesn't contain a valid partition table
from boot-scripts.
I was afraid it was that old image, things get pretty fun with that old boot layout. (bb.org had me change things in July 2014). Calling the "./tools/beaglebone-black-eMMC-flasher.sh" should work (ingore the name, it works both directions)... Make sure to un-commit this line i just pushed:
as then it'll add the file used to give a hint to the init script to flash the eMMC..
"it" should still work, but if it fails there should be a log under /boot/uboot/ (the new july 2014 layout auto logs everything to serial/hdmi/etc.. the old may 2014 was a pain to debug..)
Regards,
from boot-scripts.
Robert, thanks for the FYSA. I have no problem updating to the latest image if this will fix things. It looks like there is a 2015-03-01 release. Can you confirm if this will work with your scripts? Otherwise July 2014 is fine with me. We need to get all the board manufs with the latest images! Thanks for all your help.
from boot-scripts.
Correct, with the newer image, (anything after July/August 2014) so the official (2015-03-01) you can just run "./tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh"
from boot-scripts.
I should add, after that change in July, we are more able to protect the board from new users accidentally deleting the boot files, so they have a better out of box experience. and i have "NO" plans on changing it again, it's just too disruptive... ;)
http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
Regards,
from boot-scripts.
Robert, thanks for all your help. I'll be sure to tell Jadon, too! I'll probably throw up a quick blog post and tweet about the need to update. I'm flashing the new image now to SD and will report back on how things went. Fingers Crossed!
from boot-scripts.
Robert, I am making progress here. I had a couple of quick questions about the location of the .dtb files in the latest image. I have been using our LEDscape repo to modify the .dtb file locations to handle the control of the prus to enable 48 parallel outputs for the control of leds. Normally, I would follow one of the procedures below, but for this new image it seems the .dtb file locations have changed. Can you point me to any documentation about where they might reside and any changes made in regard to the .dtb functionality?
PS I posted this on the google groups (sorry to trouble you) - https://groups.google.com/forum/#!category-topic/beagleboard/beaglebone-black/tC6Jo-nc6QI
Angstrom - RevB
git clone git://github.com/Yona-Appletree/LEDscape
cd LEDscape
cp /boot/am335x-boneblack.dtb{,.preledscape_bk}
cp am335x-boneblack.dtb /boot/
modprobe uio_pruss
reboot
Debian - RevC
git clone git://github.com/Yona-Appletree/LEDscape
cd LEDscape
cp /boot/uboot/dtbs/am335x-boneblack.dtb{,.preledscape_bk}
cp am335x-boneblack.dtb /boot/uboot/dtbs/
modprobe uio_pruss
from boot-scripts.
Robert, great news. I was able to use your script without a problem when the 2015-03-01 image was installed. Trouble is that I have a stack of 25 BBBs with 2014-05 (May) images. When I tried using the flasher with these old images I didn't have any luck.
In summary, is there an easy way to go from 2014-05 image to custom 2015-03-01 image, without having to do the intermediary step of flashing 2015-03-01?
from boot-scripts.
Oh, you'll have to do the hold down "boot" button, plug in power, wait for 4 led's, lift up finger-nail on boot button trick. As the custom flasher script doesn't add the "old u-boot in eMMC" compatibility "uEnv.txt"... I need to add that..
from boot-scripts.
Robert, awesome! That did the trick. I've gotten use to the fancy new images. Thanks again for all your help!
from boot-scripts.
Related Issues (20)
- boot-scripts/device/bone/capes/DLPDLCR2000/structured_light won't compile
- Update show-pins for 4.19 kernel
- get_ext4_options in emmc/functions.sh doesn't disable metadata_csum/64bit on buster image HOT 1
- @davewthompson which image? The most common reason for this error occurs when you try to boot a really really old 3.8.13 image with a newer BBB with an eMMC based off the 5.1* spec.. Which i fixed on Jun 15, 2016. HOT 7
- USB Ethernet gadget not recognised by recent MacOS releases HOT 3
- init-EMMC-flasher doesn't work with kernel 5. HOT 7
- init-eMMC-flasher does not copy multiple kernel modules HOT 6
- GIVE ME MY 2-SECOND DELAY BACK!!! HOT 2
- Bluetooth and kernel 5.4 HOT 1
- What script to flash Green Gateway? HOT 3
- mjpg-streamer stops working when using libroboticscontrol example HOT 2
- typo in update_bootloader.sh HOT 1
- boot from eMMC not working after using bbb-eMMC-flasher-eewiki-ext4.sh HOT 4
- eth0 not getting IP address after flashing bone-debian-11.3-iot-armhf-2022-05-10-4gb.img.xz onto BeagleBone Black HOT 2
- over copy HOT 15
- show-pins.pl fails after pulling latest code HOT 4
- Generic eMMC Flasher fails on newest BBone-Images (Ubuntu) HOT 4
- init-eMMC-flasher-v3.sh failing `are_we_flasher` check HOT 4
- Cannot boot from SDcard on BBB rev. A5A board HOT 31
- version.sh should check the CONTROL_STATUS register to determine which SPL was run HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boot-scripts.