Hackaday.io Hackaday.io
Projects
Recently Updated Most Likes Newest Project Lists
Discover Contests Courses Stack
More
Courses Tutorials Events Hackerspaces Profiles Hackaday.com Tindie Marketplace
Sign up Log in
Close
0%
0%

Lichee Zero u-boot Getting Started!

What to do with a little SoC and an SD-card? Let's start with a little bit of u-boot!

NYH-workshopNYH-workshop
Following Follow project
Liked Like project

Become a Hackaday.io member

Not a member? You should Sign up.

Already have an account? Log in.

Sign up with Github
Sign up with Twitter
OR
Forgot your password?

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

Pick an awesome username
hackaday.io/
Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters.
Pick a few interests
Projects that share your interests
People that share your interests

We found and based on your interests.

Choose more interests.

OK, I'm done! Skip
Join this project
Similar projects worth following
1.6k views
0 comments
2 followers
1 likes
  • Description
  • Details
  • Files 0
  • Components 8
    • View all
  • Logs 0
  • Instructions 8
    • View all
  • Discussion 0
View Gallery
1.6k
0
2
1

Team (1)

  • NYH-workshopNYH-workshop

Join this project's team
  • How to build uart0-helloworld-sdboot
  • simple U-boot tutorial
  • How to add copy and paste from virtual machine to
  • Allwinner FEL/FES/NAND dumping
MISC
ongoing project
allwinner v3s lichee zero

This project was created on 05/04/2020 and last updated 2 years ago.

Description

This page is a small tutorial on how to get started on u-boot on Lichee Zero.

Note: This is not a simple and straightforward tutorial - expect failures and more of it as you go. You need patience and a lot of time to work with it.

Components

  • 1 × Sipeed Lichee Zero
  • 1 × VirtualBox
  • 1 × Any Linux ISO - I'm using Lubuntu here as an example
  • 1 × USB->Serial converter cable
  • 1 × Breadboard Electronic Components / Misc. Electronic Components

View all 8 components

Build Instructions
Collapse

  • 1
    First thing first - set up Linux Environment in Virtual Box
    1. Install Virtual Box.
    2. Download a Linux ISO - preferably small size like Lubuntu.
    3. Once you have Virtual Box installed, load up the Linux ISO and install it in the virtual HDD (follow the directions provided).
    4. When you have the Linux all installed - go to the Terminal.
  • 2
    Enable cut and paste to/from host machine to virtual Linux

    On the Virtual Box manager:

    Make sure these are selected in the settings.

    Then, do the following:

    [Source: https://askubuntu.com/questions/63420/how-to-fix-virtualboxs-copy-and-paste-to-host-machine]

    1. Start the virtual machine
    2. Click Devices menu
    3. Select Insert Guest Additions CD image
    4. Change to the directory where your CD-ROM drive is mounted (typically /media/<user>/VBOXADDITIONS_x.x.x/)
    5. Go back to terminal, then key in "sudo sh ./VBoxLinuxAdditions.run"
    6. Reboot the virtual machine!

    Thanks to the author for that directions in the source provided.

  • 3
    Install dependencies and supporting software and drivers

    You need these dependencies. Enter these in terminal:

    1. sudo apt-get install build-essential
    2. sudo apt-get install libusb-dev
    3. sudo apt-get install build-essential pkg-config
    4. sudo apt-get install libncurses5-dev libncursesw5-dev
    5. sudo apt-get install gcc-arm*
    6. sudo apt-get install python

    References:

    1. https://askubuntu.com/questions/161104/how-do-i-install-make
    2. https://github.com/nealey/hdjd/issues/12, https://stackoverflow.com/questions/4853389/how-to-install-libusb-in-ubuntu
    3. https://whycan.cn/t_539.html
    4. https://www.cyberciti.biz/faq/linux-error-cursesh-no-such-file-directory/
    5. https://stackoverflow.com/questions/14180185/gcc-arm-linux-gnueabi-command-not-found

View all 8 instructions

Enjoy this project?

Share

Discussions

Log In/Sign up to comment

Become a Hackaday.io Member

Create an account to leave a comment. Already have an account? Log In.

Sign up with Github
Sign up with Twitter
OR

Similar Projects

a hardware sampler based on the raspberry pi running bare metal (so no Linux)
Project Owner Contributor

openSampler

Nick VerlindenNick Verlinden

Parallax Propeller plays our classic MIDI tunes from the SD-Card!
Project Owner Contributor

Propeller Weekender: Andy Schenk's Music Obj.!

NYH-workshopNYH-workshop

Cassette tape replacement for old 8-bit machines
Project Owner Contributor

ArduiTape

sad_kensad_ken

A quick upgrade of my venerable 20GB iPod from 2005, replacing the spinning hard drive with an SD card reader.
Project Owner Contributor

iPod (4th gen) with 128GB SD Storage

re4matre4mat

Does this project spark your interest?

Become a member to follow this project and never miss any updates

Going up?

About Us Contact Hackaday.io Give Feedback Terms of Use Privacy Policy Hackaday API

© 2022 Hackaday

Yes, delete it Cancel

Report project as inappropriate

You are about to report the project "Lichee Zero u-boot Getting Started!", please tell us the reason.

Send message

Your application has been submitted.

Remove Member

Are you sure you want to remove yourself as a member for this project?

Project owner will be notified upon removal.