Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L librem5-devkit-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • librem5-devkit-tools
  • Issues
  • #28

Closed
Open
Created Sep 17, 2020 by Jonas Smedegaard@jonas.smedegaard

librem5-flash-image and write_flash.sh: fails to invoke uuu (needs to call sudo)

Running the script librem5-flash-image from a regular user account first downloads gigabytes of data, then fails:

Success 0    Failure 1                                                                                                                                                                        
                                                                                                                                                                                               
       1/ 0   [                                      ]                                                                                                                                         
2020-09-17 13:54:54 INFO Cleaning up.e,Try sudo uuu  ]                                                                                                                                         
Traceback (most recent call last):
  File "./librem5-flash-image", line 356, in <module>
    sys.exit(main())
  File "./librem5-flash-image", line 340, in main
    flash_image(uuu_target, args.debug)
  File "./librem5-flash-image", line 256, in flash_image
    subprocess.check_call(['uuu', uuu_target])
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['uuu', './devkit_image_cjd317v2/flash_librem5r3.lst']' returned non-zero exit status 255.

hacking the script to call sudo uuu instead of uuu succeeds.

Similar for the shell script write_flash.sh (needed to flash tps6598x firmware).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking