Jump to content

Recommended Posts

Posted

Getting stuck out of the gate  (of course never goes as documented🤣)

https://puhoy.github.io/posts/armbian_on_espressobin/

 

While attempting to flash the required uboot update I keep getting a "permission" type error

 

I've tried with usb stick and sd card,  formated ext4, formatted fat  and various permutations including simple filename....all give the same error even though usb and mmc commands say the media is there

 

This is a v5.  I have an identical one I set up a few years ago with ubuntu 18 but I did not have to flash this new uboot.   

 

Any thoughts?   Do one of the jumpers have to be set in order to flash?  

 

Marvell>> usb info
1: Hub,  USB Revision 3.0
 - U-Boot XHCI Host Controller 
 - Class: Hub
 - PacketSize: 9  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Mass Storage,  USB Revision 2.0
 - SanDisk Corporation Staples Relay SNDK7E38850327C07602
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0781  Product 0x5202 Version 0.32
   Configuration: 1
   - Interfaces: 1 Bus Powered 200mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 512
     - Endpoint 1 Out Bulk MaxPacket 512

 

Marvell>> bubt flash-image-DDR3-2g_2cs_7-1000_800.bin spi usb
Burning U-BOOT image "flash-image-DDR3-2g_2cs_7-1000_800.bin" from "usb" to "spi"
USB0:   Register 2000104 NbrPorts 2
Starting the controller
USB XHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 2 USB Device(s) found
** File not found flash-image-DDR3-2g_2cs_7-1000_800.bin **
Error: Failed to read file flash-image-DDR3-2g_2cs_7-1000_800.bin from usb
exit not allowed from main input shell.

 

 

Marvell>> mmc info
Device: sdhci@d0000
Manufacturer ID: 3
OEM: 5344
Name: SU08G 
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
Marvell>> bubt flash-image-DDR3-2g_2cs_7-1000_800.bin spi mmc
Burning U-BOOT image "flash-image-DDR3-2g_2cs_7-1000_800.bin" from "mmc" to "spi"
Card did not respond to voltage select!
mmc_init: -95, time 42
MMC Device 1 not found
No SD/MMC/eMMC card found
Error: Failed to read file flash-image-DDR3-2g_2cs_7-1000_800.bin from mmc
exit not allowed from main input shell.


 

 

Posted

Nevermind,  😙 kept trying  reformatted stick again and it worked.   

 

So for those having this issue make sure to format your stick to MBR not GPT and then make a FAT32 partition.

Posted
  On 5/28/2022 at 2:10 AM, dkebler said:

Nevermind,  😙 kept trying  reformatted stick again and it worked.   

 

So for those having this issue make sure to format your stick to MBR not GPT and then make a FAT32 partition.

Expand  


Yes, those has to be fat32. Strange. Otherwise instructions on download pages are working - but with most recent images only.

Posted
  On 5/28/2022 at 2:10 AM, dkebler said:

format your stick to MBR not GPT and then make a FAT32 partition

Expand  

If you had a recent u-boot, you wouldn't have this problem.  It can read gpt, it can read ext4.  Of course, you can't flash recent u-boot until you solve this problem.

Posted

Also, the "new bootscript" is no longer required with u-boot 2022.04.  They include the distro_boot method which finds the boot.scr, and that loads the kernel. 

 

env default -a

saveenv

Posted

I believe this is the default environment, which is compiled into u-boot so the command "env default -a" will set it:

  Reveal hidden contents

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines