jks
About
- Username
- jks
- Joined
- Visits
- 32,340
- Last Active
- Roles
- Member, Administrator, Moderator
- Points
- 331
Reactions
-
Increasing Audio Quality
Here's what I do. I have a git clone of the current Kiwi disto on my Mac. I edit there and compile to get the compilation bugs out. The main Makefile detects when you're not compiling on the Kiwi and allows different compile tools/flags to be used that are particular to your development machine.
Then on the target Kiwi I use NFS to mount the Mac sources read-only onto /root/Beagle_SDR_GPS. So I can just ssh into the Kiwi and build/test there without having to be copying all the source files all the time. unix_env/bashrc (that gets installed as /root/.bashrc on the Kiwi) has some hints about setting up NFS on the Kiwi and your development machine (I don't know about Windows though). Because the mount is read-only if the update process is unintentionally started on the Kiwi it won't reverse-write the sources on the Mac and destroy my work-in-progress (super important obviously).
The various Makefiles have manual targets for copying the Verilog source files to whatever environment Xilinx Vivado happens to be running. In my case I run it on Ubuntu on a VirtualBox VM on my Mac. It works surprisingly well despite all the emulation layers (about 10 minutes to build the FPGA image on a three-year-old MacBook Pro). -
URL to get current user information [solved by parsing the log file]
Be careful making changes to /root/.bashrc New Kiwi releases will overwrite that file (and .profile) if there have been changes made in the release (e.g. I have added some new command alias). Put your changes in /root/.bashrc.local The Kiwi will create this file with some defaults if it's never existed before but then leave it alone forever after that. -
Can't upgrade from v1.242 [fixed with reinstall of Beagle_SDR_GPS git clone]
The git clone seems to be trashed. Assuming there isn't more general filesystem corruption, try setting the clone aside and building from a new one:
Login as root to the /root home directory.
Do a "df" and make sure you have at least 300 MB free on your filesystem.
"cdp; mst; cd" (stop if currently running; go back to root dir)
"mv Beagle_SDR_GPS Beagle_SDR_GPS.bad"
"gclone Beagle_SDR_GPS" (this is an alias for "git clone https://github.com/jks-prv/Beagle_SDR_GPS.git")
"cdp" (cd project)
"mi" (make install)
"ku" (kiwi up)
wait a bit
"ms" (check status) -
Can't upgrade from v1.242 [fixed with reinstall of Beagle_SDR_GPS git clone]
The git clone seems to be trashed. Assuming there isn't more general filesystem corruption, try setting the clone aside and building from a new one:
Login as root to the /root home directory.
Do a "df" and make sure you have at least 300 MB free on your filesystem.
"cdp; mst; cd" (stop if currently running; go back to root dir)
"mv Beagle_SDR_GPS Beagle_SDR_GPS.bad"
"gclone Beagle_SDR_GPS" (this is an alias for "git clone https://github.com/jks-prv/Beagle_SDR_GPS.git")
"cdp" (cd project)
"mi" (make install)
"ku" (kiwi up)
wait a bit
"ms" (check status) -
Can't upgrade from v1.242 [fixed with reinstall of Beagle_SDR_GPS git clone]
The git clone seems to be trashed. Assuming there isn't more general filesystem corruption, try setting the clone aside and building from a new one:
Login as root to the /root home directory.
Do a "df" and make sure you have at least 300 MB free on your filesystem.
"cdp; mst; cd" (stop if currently running; go back to root dir)
"mv Beagle_SDR_GPS Beagle_SDR_GPS.bad"
"gclone Beagle_SDR_GPS" (this is an alias for "git clone https://github.com/jks-prv/Beagle_SDR_GPS.git")
"cdp" (cd project)
"mi" (make install)
"ku" (kiwi up)
wait a bit
"ms" (check status)