Coder Social home page Coder Social logo

mdb-unu's Introduction

Preliminary Flashing Instructions

The following steps are intended for those familiar with hardware modification and software configuration. Many of these steps will be automated in a future script.

Caution

Proceed only if you are confident in your understanding of the process. Incorrect handling may permanently damage your scooter.

Important: This procedure is recommended only for individuals who are experienced with soldering and the Linux command line. If you are not, it is advisable to wait for more user-friendly instructions.

Instructions

  1. Soldering Connection: Attach pins to the MDB. Ensure a connection through a 3.3V USB UART interface.
  2. Interrupt Boot Process: Within the first few seconds of powering on, repeatedly press the [space] bar until a command prompt appears.
  3. Connection: Connect your Linux-based computer to the Mini USB port on the MDB.
  4. Bootloader Command: At the bootloader prompt, type ums 0 mmc 1.
  5. Disk Identification: Identify the external disk drive and its partition. This can be achieved using fdisk or lsblk commands.
  6. Mount Partition: Proceed to mount the identified partition.
  7. Locate OStree Branch: Determine the OStree branch in use by examining the bootargs parameter within /boot/loader/uEnv.txt.
  8. Copy NFC Directory: Transfer the contents of the nfc/ostree directory from this repository into your OStree root directory.
  9. Copy NFC Directory: Transfer the nfc/home directory from this repository into the MDB root directory.
  10. Service Symlink Removal: Delete the etc/systemd/system/multi-user.target.wants/unu-keycard.service symlink from your OStree root.
  11. Root Password Update: Update the root password in your OStree's etc/shadow file with a password of your choosing.

After completing these steps, unmount the drive, reconnect the DBC to the MDB, and restart the MDB. Upon reboot, you should be able to access the serial console using your new password.

Stop the reunu-keycard service via executing systemctl stop reunu-keycard.service. To obtain NFC readings, run nfcDemoApp poll. When you scan the token intended as the "master key", note the UID. Add this UID to /home/root/reunu-keycard/master_uids.txt using vi or cat.

Following a system reboot, you will be able to use the master key for registering keycards.

mdb-unu's People

Contributors

zanooda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.