This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/BEAGLEBK: USB TFTP boot

Part Number: BEAGLEBK


Tool/software: Linux

Hello,

I'm trying to nail down our factory initial dataload procedure.  I'm using a BeagleBone Black for testing.  I zero filled the eMMC, so it will boot from USB0.

I have my Ubuntu Laptop configured to serve DHCP and bring up the USB RNDIS Ethernet device as 192.168.2.1.  The BeagleBone ROM code is able to get an address and then downloads u-boot-spl-restore.bin.  Next, I was expecting the SPL to use RNDIS to fetch u-boot-restore.img, but instead I get this error:

U-Boot SPL 2017.01-g340fb36f04 (Jul 05 2018 - 22:47:56)
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

I'm applying the following patches to Arago u-boot (340fb36f043fc1c41b987c57350426ca7ee895bf), derived from Am335x_uboot_flasher_patches_psdkl_2_0_0_0.tar.gz

[DELETED link to patch files.  See below...]

My attempts at building are based off of these wiki pages - most of the documentation is heavily fragmented and out of date:

How do I build the u-boot SPL to use RNDIS TFTP Boot?

Thanks,
Matt

  • I'll update this since it took all day to figure out.  Turns out my configuration above was really close, but SPL Networking wasn't turned on.

    If anyone else hits this, see these attached patch files:

    ��>[�Yks�H�W�+�ݔ�Z/ �1���1,�LR3S*=ZA;B�"�k��}oK�i��Όw�է\��{�}��t�$I��p]ꊣ��y=�h�ߙ����?Wn�ę�VH]U�S64i�ɠM?�ӈ��ڑ$뺤��k~�qb����5s�~��c�o�Y4K5\O�UYr�kI5���� ��ږ�۩yUUU��0�7  I��Φ���C�J���	���s?�۪c�~Xq���e%��ɼ|?0�\��U�.�Pb!���?�����Ac�|�3�
    #TDQ�����ktid9�Sk�(ڝiG!����t����`��"�����X�gꖱ��1�%~�ǥ�2��Ҁ���� ���(~��NM�o���l"Ѫ�V*�-�T�AN?ֿU.�����D��eJ�
    ����ư���t?^�Nkl�ڽ���Н�p^(���(J��Z�i��KfCU즓���KE�$��Rǝ�����Eۡe4Mϊ���5�W�_��'4��,��L+�ʎzp��W����Z��W׼�=�=�*@�g�"��4
    �^dc�4M�U��4?!��'8��a�d�Q�RqT�64�O(&��'8���ʲ%�_e���_u�o�qc��=6=���l���.G�F�94���L���lq_����}���4�/ǣ�ܝ����>�����a��n�jtVl�zM�E��~���Cy-����bV|�/�f���7�~�m����=a��ư۸�lovtw��R{X�y��aђ-s�vSKk�,��F���*ۖ�ZﶌW{�1ˇf�:�^�=+�Sx�b�5��jX��q���L�)��U���>k�������e�����8��8ƒ�6$Xv4�ob�Dv���7b���?�Ň�ڗ�O��gE��A�U��l�����,�f�hb��-�es(ZA9�1��db%L&�V�~�6L���W��~G2J?E�uI��$�J����s ��mK�ZSuC��MeIV��5�Fm��X�mQͲ��������2𻙝��'��G4�P�I?d�N�:1�I�,8�Yp'��	��DB�l5�<�֌2A�qBCT�\�#k�&~N�����4��PN��J�}C�m��}��,9��t�j�R�؎ly������f���ʘ\תL�N��a��ޤ���C?9�]3�W�����������C��3c'���^���(�e˅���u��u_�l�H`''LgN_�"l��N&+N��&��͘�6��T�����L�9��N����Ag0���t\z+��Tߕ��׹����1Yz��~F���%Hw�ΆYf��
    �$���7P��#��rOY�pUv���D�pV���h��,ki_oNN���V����/���@��b$���ܚ4�I�Q��6��d�e��eX�y��8#k�"q��&��W�E��ߋ��Id*�mzp!��i1��,Fٞ�N��cq�#˪�2��7��ρ��U�U#cW��fy���Z�Sl˳]��Z��Z���F꒶Od����Z�����#�P�#4�z?t��K����vZ�0�W6΄��O��t�`u�A��ȑ=b�J��Ϩ��R�`�8��DA�VF���Q|���:��C�x�]��;Z��:I�=Mn�k��N����V��/vml����z�m�l%�h_�,ϋ�c�Ù��슳y��������>��ԣ�O��x�nFz��-A�\4&�O�
    ElwBQ���_����H�	�k&�B(�[!�i~��d&s{�Y�����I�L�ɒ^�f���b��dz8
    h֍܀���*�E�<���[��io�:l[Ú�/v.�">�.�>s�����R"�����������#@ыf�bf��G�_fd�������#�����H��(���j�X�F4ES,B�]#��˞Ae���5����cH�U��
    ���TW����(���S5�����9��""���dg.��͋�n�
    >8�UL(L#wq���ڄ�{Z��~O�!�5k�Z�r�U쮠摚�*�Sܮ��� �}��F$RL.� �,Ή���!󮫁�Ɖyi��������8�G�������n�r~!*B��nY;��ѻ��Q{��8n8,���r�+$2��VѾY*�1Vw��,��hߧT ��2����������Bt��?��_�*��9�.)n��j���t�CRU�V
    O�<��\��ڞ�_ݽ����2w?�&�osM�?3��q�8���������j������{c�+��c��P

  • Thank you for the update!