dzhou
June 24, 2020, 4:01pm
1
Hi,
I downloaded and built the Bootloader:
But under deploy folder, there is no bootloader.spl file. How to generate, convert, or output u-boot.spl file for 2 stages booting?
Thank You,
David
Hi @dzhou , Sorry, I’ve never used that method to boot the AM335x, so none of my personal git repositories will build the image you require.
The u-boot building procedure is listed in ravidp7’s personal git repo, under “U-boot binary build instructions:”
# node-beagle-boot [](https://travis-ci.org/ravikp7/node-beagle-boot) [](https://www.npmjs.com/package/beagle-boot)
A node.js bootloader server running over usb connection for BeagleBone hardware which can transfer bootloader files, ramdisk etc. It can also boot it into usb mass storage mode utilising the uboot's ums feature for flashing purposes.
This project is developed during `Google Summer of Code 2017 under BeagleBoard Organisation`.
This project is a port of [BBBlfs](https://github.com/ungureanuvladvictor/BBBlfs), a flashing app which integrates a bootloader server for BeagleBone Black written in C language to JavaScript (node.js)
This project differs from BBBlfs in the way of booting into usb mass storage mode. BBBlfs utilizes a Kernel/ Ramdisk approach for the same and this new tool will be using uboot's ums feature for the same purpose. See [this video](https://www.youtube.com/watch?v=5JYfh2_0x8s) for more info about the project.
The ultimate goal for this project is to integrate this bootloader server to an [etcher.io](https://etcher.io) like tool to make a complete flashing tool for BeagleBone hardware.
## Complete Flashing app [here](https://github.com/ravikp7/BeagleBoot)
### Supported Devices: All BeagleBones and PocketBone
### Supported Platforms: Linux, OSX, Windows (work in progress)
#### Working of the bootloader server
When the AM335x ROM is connected to PC by holding down boot switch, it exposes a RNDIS interface which is a virtual ethernet link over usb.
1. After running the server through API or start script, it listens to events of device connection.
2. Once it detects the device connection, it starts serving BOOTP, ARP requests and finally TFTP request for respective file transfer for the device.
3. For USB Mass Storage functionality first TFTP trasnfer of SPL(Secondary Program Loader) is done for ROM device. SPL runs in device.
This file has been truncated. show original
Regards,