Giter Club home page Giter Club logo

raspberrypi / rpi-imager Goto Github PK

View Code? Open in Web Editor NEW
1.5K 50.0 233.0 36.9 MB

The home of Raspberry Pi Imager, a user-friendly tool for creating bootable media for Raspberry Pi devices.

Home Page: https://www.raspberrypi.com/software

License: Other

CMake 1.39% C 76.53% C++ 4.60% QML 0.44% Batchfile 0.02% Makefile 9.13% Assembly 0.18% Python 0.64% Shell 2.44% TypeScript 0.11% Objective-C 0.01% Objective-C++ 0.04% M4 0.48% Roff 2.98% Awk 0.09% JavaScript 0.01% SAS 0.01% Ada 0.36% Pascal 0.30% C# 0.22%
raspberry-pi raspberry-pi-1 raspberry-pi-2 raspberry-pi-3 raspberry-pi-4b raspberry-pi-computer raspberry-pi-zero raspberry-pi-zero-2-w raspberry-pi-zero-w raspberry-pi-zero-wh

rpi-imager's Introduction

rpi-imager

Raspberry Pi Imaging Utility

  • Download the latest version for Windows, macOS and Ubuntu from the Raspberry Pi downloads page.
  • To install on Raspberry Pi OS, use sudo apt update && sudo apt install rpi-imager.

How to use Raspberry Pi Imager

Please see our official documentation.

License

The main code of the Imaging Utility is made available under the terms of the Apache license. See license.txt and files in "src/dependencies" folder for more information about the various open source licenses that apply to the third-party dependencies used such as Qt, libarchive, drivelist, mountutils and libcurl. For the embedded (netboot) build see also "embedded/legal-info" for more information about the extra system software included in that.

How to rebuild

Debian/Ubuntu Linux

Get dependencies

Install the build dependencies:

sudo apt install --no-install-recommends build-essential devscripts debhelper cmake git libarchive-dev libcurl4-gnutls-dev liblzma-dev \
    qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev libqt5svg5-dev qttools5-dev libgnutls28-dev \
    qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtgraphicaleffects

Get the source

git clone --depth 1 https://github.com/raspberrypi/rpi-imager

Building on the Pi

If building on a device with limited memory (e.g. 1 GB Pi), disable parallel build or it may run out of memory:

export DEB_BUILD_OPTIONS="parallel=1"

Build the Debian package

cd rpi-imager
debuild -uc -us

debuild will compile everything, create a .deb package and put it in the parent directory. Can install it with apt:

cd ..
sudo apt install ./rpi-imager*.deb

It should create an icon in the start menu under "Utilities" or "Accessories". The imaging utility will normally be run as regular user, and will call udisks2 over DBus to perform privileged operations like opening the disk device for writing. If udisks2 is not functional on your Linux distribution, you can alternatively start it as "root" with sudo and similar tools.

Fedora/RHEL/CentOS Linux

Get dependencies

Install the build dependencies:

sudo yum install git gcc gcc-c++ make cmake libarchive-devel libcurl-devel lzma-sdk-devel openssl-devel qt5-qtbase-devel qt5-qtquickcontrols2-devel qt5-qtsvg-devel qt5-linguist xz-devel

Get the source

git clone --depth 1 https://github.com/raspberrypi/rpi-imager

Build and install the software

cd rpi-imager
mkdir -p build
cd build
cmake ../src
make
sudo make install

Windows

Get dependencies

  • Get the Qt online installer from: https://www.qt.io/download-open-source During installation, choose a Qt 5.x with Mingw32 32-bit toolchain and CMake.

  • If using the official Qt distribution that does NOT have schannel (Windows native SSL library) support, compile OpenSSL libraries ( https://wiki.qt.io/Compiling_OpenSSL_with_MinGW ) and copy the libssl/crypto DLLs to C:\qt\5.x\mingw73_32\bin the include files to C:\qt\5.x\mingw73_32\include and the import library files to C:\qt\5.x\mingw73_32\lib

  • For building installer get Nullsoft scriptable install system: https://nsis.sourceforge.io/Download

  • It is assumed you already have a proper code signing certificate, and signtool.exe from the Windows SDK installed. If NOT and are you only compiling for your own personal use, comment out all lines mentioning signtool from CMakelists.txt and the .nsi installer script.

Building

Building can be done manually using the command-line, using "cmake", "make", etc., but if you are not that familar with setting up a proper Windows build environment (setting paths, etc.), it is easiest to use the Qt creator GUI instead.

  • Download source .zip from github and extract it to a folder on disk
  • Open src/CMakeLists.txt in Qt creator.
  • For builds you distribute to others, make sure you choose "Release" in the toolchain settings and not the debug flavour.
  • Menu "Build" -> "Build all"
  • Result will be in build_rpi-imager_someversion
  • Go to the BUILD folder, right click on the .nsi script "Compile NSIS script", to create installer.

Note: the CMake integration in Qt Creator is a bit flaky at times. If you made any custom changes to the CMakeLists.txt file and it subsequently gets in an endless loop where it never finishes the "configures" stage while re-processing the file, delete "build_rpi-imager_someversion" directory and try again.

macOS

Get dependencies

  • Get the Qt online installer from: https://www.qt.io/download-open-source During installation, choose a Qt 5.x edition and CMake.
  • For creating a .DMG for distribution you can use an utility like: https://github.com/sindresorhus/create-dmg
  • It is assumed you have an Apple developer subscription, and already have a "Developer ID" code signing certificate for distribution outside the Mac Store. (Privileged apps are not allowed in the Mac store)

Building

  • Download source .zip from github and extract it to a folder on disk
  • Start Qt Creator (may need to start "finder" navigate to home folder using the "Go" menu, and find Qt folder to start it manually as it may not have created icon in Applications), and open src/CMakeLists.txt
  • Menu "Build" -> "Build all"
  • Result will be in build_rpi-imager_someversion
  • For distribution to others: code sign the .app, create a DMG, code sign the DMG, submit it for notarization to Apple and staple the notarization ticket to the DMG.

E.g.:

cd build-rpi-imager-Desktop_Qt_5_14_1_clang_64bit-Release/
codesign --deep --force --verify --verbose --sign "YOUR KEYID" --options runtime rpi-imager.app
mv rpi-imager.app "Raspberry Pi Imager.app"
create-dmg Raspberry\ Pi\ Imager.app
mv Raspberry\ Pi\ Imager\ .dmg imager.dmg
xcrun altool --notarize-app -t osx -f imager.dmg --primary-bundle-id="org.raspberrypi.imagingutility" -u YOUR-EMAIL-ADDRESS -p YOUR-APP-SPECIFIC-APPLE-PASSWORD -itc_provider TEAM-ID-IF-APPLICABLE
xcrun stapler staple imager.dmg

Linux embedded (netboot) build

The embedded build runs under a minimalistic Linux distribution compiled by buildroot. To build:

cd rpi-imager/embedded
./build.sh

The result will be in the "output" directory. The files can be copied to a FAT32 formatted SD card, and inserted in a Pi for testing. If you would like to build a (signed) netboot image there are tools for that at: https://github.com/raspberrypi/usbboot/tree/master/tools

Other notes

Debugging

On Linux and Mac the application will print debug messages to console by default if started from console. On Windows start the application with the command-line option --debug to let it open a console window.

Custom repository

If the application is started with "--repo [your own URL]" it will use a custom image repository. So can simply create another 'start menu shortcut' to the application with that parameter to use the application with your own images.

Telemetry

In order to understand usage of the application (e.g. uptake of Raspberry Pi Imager versions and which images and operating systems are most popular) when using the default image repository, the URL, operating system name and category (if present) of a selected image are sent along with the running version of Raspberry Pi Imager, your operating system, CPU architecture, locale and Raspberry Pi revision (if applicable) to https://rpi-imager-stats.raspberrypi.com by downloadstatstelemetry.cpp.

This web service is hosted by Heroku and only stores an incrementing counter using a Redis Sorted Set for each URL, operating system name and category per day in the eu-west-1 region and does not associate any personal data with those counts. This allows us to query the number of downloads over time and nothing else.

The last 1,500 requests to the service are logged for one week before expiring as this is the minimum log retention period for Heroku.

On Windows, you can opt out of telemetry by disabling it in the Registry:

reg add "HKCU\Software\Raspberry Pi\Imager" /v telemetry /t REG_DWORD /d 0

On Linux, run rpi-imager --disable-telemetry or add the following to ~/.config/Raspberry Pi/Imager.conf:

[General]
telemetry=false

On macOS, disable it by editing the property list for the application:

defaults write org.raspberrypi.Imager.plist telemetry -bool NO

OS Customization

When using the app, press CTRL + SHIFT + X to reveal the OS Customization dialog.

In here, you can specify several things you would otherwise set in the boot configuration files. For example, you can enable SSH, set the Wi-Fi login, and specify your locale settings for the system image.

rpi-imager's People

Contributors

63beetlesmurf avatar aarondewes avatar bovirus avatar cillian64 avatar ghisvail avatar ghollingworth avatar jofrefaraudo avatar jose1711 avatar kosssi avatar lurch avatar martignoni avatar maxnet avatar miharix avatar mudge avatar okaits avatar olesyagerasimenko avatar onuralpszr avatar oscfdezdz avatar peterdavehello avatar qoijjj avatar rejas avatar ruffalolavoisier avatar scottamain avatar shlyakpavel avatar tdewey-rpi avatar vovkiv avatar waveform80 avatar ykla avatar yuzukitsuru avatar zaryob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rpi-imager's Issues

Allow installing Home Assistant

Opening an issue as per https://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/#comment-1523756

Home Assistant is an open source home automation platform that focuses on local control and privacy. We provide our own operating system that turns your Raspberry Pi into a home automation hub, including easy updates via the UI. We recommend users that are starting out to get a Raspberry Pi 4. We support all variants of the Raspberry Pi.

It would be great if Home Assistant would be available as an OS option in the Raspberry Pi Imager.

Our OS can be found here: https://github.com/home-assistant/operating-system/releases

Imager does not save .img files correctly while other program does.

Hi All

For some reason Raspberry Pi Imager for Windows does not save .img files correctly to SD card. The weird thing is that Win32 Disk Imager saves the same .img file properly one the same card with the same card reader.

I tried two SD card readers and four SD cards, every time getting the same result.

Basically not matter what .img file I am trying to save using RPi Imager it always fail after verification. Also there are no partitions at all after saving .img file on SD (i was checking that in gparted).

I tried my own backups and official Buster img file downloaded from raspberrypi.org.

When i select from RPi Imager Buster OS which is downloaded from Internet by the program then it saves it on SD card correctly!!?

So it looks like problem lays down in saving .img images.

Anybody can help what is the reason why it does not save partition table correctly when saving .img files?

Anybody has the same issue?

Thank you.

Windows 10: Doesn't recognize SD card

On my Windows 10 54bit system, the card is not shown in the card selection. Windows sees the card fine as drive J:, but Raspberry Pi Imager only shows me two internal 250 GB SSDs that belong to a dynamic volume / mirrored disk in Windows and what seems to be two empty slots of my SD/CF/MMC/etc. card reader.

Screenshot

Screenshot2

Noninteractive command-line interface

It would be nice to have a CLI version of this tool where I can supply the operating system and SD card to use as arguments and have the process run automatically without requiring user input.

Is it necessary to remove country code?

A custom image that had country code set and allowed hostapd to run seems to have had that removed when written with rpi-imager. This prevents locale specific images from being duplicated without the extra work of setting country code again.

Discussion: verification of writes

Currently the app verifies all SD card writes, which adds on a couple of minutes after the write, depending on how large the image file is. I haven't currently exposed a way of disabling this.

My thoughts are it should be enabled by default, but I'm currently unsure whether we want an option for disabling it at all. Verification is rather useful, and eliminates bad SD cards and other issues. However some users may get irritated with the extra few minutes it takes.

Add ssh and WiFi settings for Raspbian

For the official raspbian images, it would be a helpful feature and a time saver to add two buttons that perform post-writing operations: one adds an empty ssh file and the other prompts WiFi credentials and writes a corresponding wpa_supplicant.conf file.

Drive Letter Not Released After Verify Sucessful

Windows 10 Pro 64bit.
SDHC Card inserted into Drive F on built-in SD Card Reader of PC.
Local .IMG file written to SDHC Card Via Raspberry Pi Imager v1.2
After Verify is complete and successful, Drive is automatically 'ejected' from the PC, but the Drive letter F remains in Windows explorer and is not accessible.
After re-inserting SDHC Card and manually ejecting SDHC card via the System Tray, then both driver letters F and G are properly removed from Windows Explorer.

Build fails under CentOS 7.7

The cmake call was happy with all libs, but the compiler can't do it job.

LANG=C make -j4
[  5%] Automatic MOC for target rpi-imager
[  5%] Built target rpi-imager_autogen
[ 29%] Building CXX object CMakeFiles/rpi-imager.dir/downloadthread.cpp.o
[ 29%] Building CXX object CMakeFiles/rpi-imager.dir/downloadextractthread.cpp.o
[ 29%] Building CXX object CMakeFiles/rpi-imager.dir/dependencies/mountutils/src/linux/functions.cpp.o
[ 29%] Building CXX object CMakeFiles/rpi-imager.dir/linux/linuxdrivelist.cpp.o
[ 35%] Building CXX object CMakeFiles/rpi-imager.dir/linux/udisks2api.cpp.o
/var/tmp/imagewriter/downloadextractthread.cpp: In member function 'virtual void DownloadExtractThread::extractMultiFileRun()':
/var/tmp/imagewriter/downloadextractthread.cpp:242:43: error: 'ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS' was not declared in this scope
     int r, flags = ARCHIVE_EXTRACT_TIME | ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS
                                           ^
make[2]: *** [CMakeFiles/rpi-imager.dir/downloadextractthread.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/tmp/imagewriter/downloadthread.h:17:0,
                 from /var/tmp/imagewriter/downloadthread.cpp:6:
/var/tmp/imagewriter/downloadthread.cpp: In member function 'virtual void DownloadThread::run()':
/var/tmp/imagewriter/downloadthread.cpp:272:26: error: 'CURLOPT_XFERINFOFUNCTION' was not declared in this scope
     curl_easy_setopt(_c, CURLOPT_XFERINFOFUNCTION, &DownloadThread::_curl_xferinfo_callback);
                          ^
make[2]: *** [CMakeFiles/rpi-imager.dir/downloadthread.cpp.o] Error 1
make[1]: *** [CMakeFiles/rpi-imager.dir/all] Error 2
make: *** [all] Error 2

Imager SD Card list misleading

On my iMac, Imager shows four other devices, with a blank space underneath, more than large enough to list a fifth device. With the list selected, moving the mouse over the list of devices highlights each of the four shown, with only a thin grey bar beneath to hint that there is a fifth. Only when the mouse is moved to the extreme right of the list (with the list selected), or scrolled, does a scroll bar appear.

Although I am an experienced MacOS (and Windows) user, the first time I tried to use Imager I concluded that my SD card wasn't being detected, and switched to the Windows version for the first installation. The mouse/scrollbar behaviour is standard for MacOS, but normally a list would extend right to the bottom edge of the window with a partial item shown if room, as a cue there are more items.

Windows Support

Regarding: https://www.raspberrypi.org/downloads/

The link to the imager has no information about which operating systems it supports. Is Windows XP still supported? Personally, I receive an error when launching "rpi-imager.exe": "Entry Point Not Found \n The procedure entry point CancelIoEx could not be located in the dynamic link library KERNEL32.dll".

This could be due to a need to update Qt--or perhaps my operating system is simply no longer compatible. In either case, it would be nice if it stated this somewhere since the installation otherwise went smoothly.

I don't need help personally (I wound up successfully writing the Raspbian image using Rufus v2.18 which was the last version to support Windows XP), but I'd like to save others the time/frustration of trying methods that won't work or being uncertain how to proceed (I've had to bug the folks on IRC more than a couple times).

(Wishlist) Checkbox to enable SSH

In many tutorials, it is mentioned that one has to create an empty file called ssh on the boot partition in order to enable SSH. It would be very useful if Imager had a checkbox that would, when checked, create this file automatically.

Remove items empty drives

When you have mass storage readers with multiple volumes, they come up as drives with 0GB size. Remove these from the drive list.

Calculates drive size differently from other apps

Imager calculates the drive size differently from other apps. As a result, it displays a 4 GB microSD card as "3 GB":

The "Disks" application in Gnome calls it "4 GB", as does the vendor on the packaging:

Show warning before quitting

I accidentally closed the window and I had to write the whole thing again. It would be great to have a pop-up message to warn the user before quitting.

Windows: Not going to use this virus-style program

I'm not going to do anything with a program (especially a program doing something with drives/hard disks), that first requests administrator rights and in the next step only offers an "Install" button and telling me nebulously somthing about installing and upgrading system components.

Why does an imager need some kind of installation? Why is it not enough to unzip a zip archive if not an exe without installation is enough?

I definitifly want to know what kind of things a program, that I'm going to use mostlikly once, is going to install on my system and I think I would refuse the installation of some frameworks (perhaps Qt or similar) in most cases.

macOS minimum requirements? (imager crashes on 10.12.6)

Does Raspberry Pi Imager for macOS require 10.13 or greater?
(I couldn't find any mention of requirements on raspberrypi.org or the github readme)

I think it's missing a Qt library, or my OS (Sierra, 10.12.6) is too old.

Crash report (sent to apple) excerpt has the following:

Dyld Error Message:
  Symbol not found: _OBJC_CLASS_$_MTLCaptureManager
  Referenced from: /Applications/Raspberry Pi Imager.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/5/QtGui (which was built for Mac OS X 10.13)
  Expected in: /System/Library/Frameworks/Metal.framework/Versions/A/Metal
 in /Applications/Raspberry Pi Imager.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/5/QtGui

Fuzzy text on macOS Retina Displays

On macOS using a Retina display (5k) the text is fuzzy. It looks fine on non-retina displays.

I'm not sure how well this will be replicated in a screenshot, but here it is:

fuzzy-text

Imager offers Time Machine backup disk

Not sure this is a bug, but the Imager will offer my Time Machine backup disk as an SD Card available for writing the image (with a niche SD card icon next to it). Maybe it could save some troubles if the tool would detect this. Anyway, thanks for the nice tool!

User Repo

The imaging Utility does not like to access resources hosted on sourceforge.
I suspect it is because the UserAgent is set to a default value that is not compatible.
I suggest to use "Wget/1.15 (linux-gnu)" which works in PINN.
I notice there is void DownloadThread::setUserAgent(const QByteArray &ua) but I don't know what it gets set to (if at all).

Windows10 : Poor Scaling, Small font

Under Windows 10, it doesn't respond to OS "Make Everything Bigger" scaling very well.
It ignores Font scaling "Make Text Bigger"

The default roboto, size 10/12 fonts are hard to read on 15.6" 1080 displays standard laptop displays. Many displays are smaller then this at 13"/14" with 1080p

Make them 16point minimum, I would guess. (or don't specify and use the OS default?)
Allow the program to respond to OS settings.

How, I don't know. though I can see the font sizes in the files.

Refrence https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=267080#p1622462

Empty dialog shown if SD card is read-only

Windows 10, Imager v1.2

I've got an adapter from SD to microSD that happens to have a "read only" switch. Which, inevitably, was on.
If this switch is set then when you try to find the SD card, Imager will

  • Take ages
  • Give you a blank dialog if/when it does finish

Check that the SD card is writeable, and provide a suitable error message if not.

Discussion: show/hide "system" drives

The app currently only shows USB drives and SD cards in the list (detection done by Etcher's SDK). There is the option to show "system" drives - ie. hard drive partitions, C:\, etc. Etcher and other writer tools have an option for showing these, and this could be added to this app if desired.

I strongly think that we shouldn't have this option, as the potential for an inexperienced user to wreck their computer is too high. In a similar thought to #2, if this is something a user really wants/needs, they can always use Etcher.

rpi-imager destroyed the microSD card, I believe

I was trying to flash Ubuntu 19.10.1 64-bit server (built-in to Imager) on to a NOOBS card that came with a Raspberry Pi 4 Desktop Kit (SanDisk SDHC 16 GB). Then it said it couldn't verify. I then tried to erase the card with Imager, but that didn't work. I then tried to erase it with fdisk and create a partition, but that didn't work, since /dev/sda1 doesn't get created I couldn't format it. I did all this on Raspberry Pi 4 B 4 GB using a USB 2.0 microSD card reader. I have used this NOOBS card since summer 2019. It is strange if this card would break just when I write an image to it, so I believe the card was destroyed by rpi-imager. I used Imager to create the current Raspbian I use from an empty 32 GB card using the same USB 2.0 microSD card reader. I use Imager 1.2 in most updated Raspbian Buster.

I used the top blue USB 3 connector. I was running boinc-client with Einstein@home when I flashed the first image, and the boinc-client used two cores. I believe that flashing to a NOOBS and running BOINC at the same time was too complicated.

Then I tried to use SD Card Formatter 5.1 on a Windows 10 computer, but that formatting fails also.

I also tried another microSD card reader in Windows 10 (the built-in), but no change. I now also installed Imager for Windows 10, but with the same result with this SanDisk card.

I included debug.txt from SD Card Formatter for both quick and overwrite format.
debug1.txt
debug2.txt

Don't remove boot/ssh if present in custom image

The following is on windows 10. I can install a custom image, but the ssh file is removed from boot so headless operation is not possible. Please do not do this or add an option to prevent it. The situation is more difficult in that the sd card is unmounted at the end of verify (good), but must be remounted to add the ssh file and then properly unmounted.

QML warnings on start

A few qml warnings are shown in stdout on program start:

qrc:/main.qml:739:13: QML QQuickText: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/main.qml:60:17: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/main.qml:95:17: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/main.qml:131:17: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.

rpi-imager version: v1.2
Qt version: 5.14.1

[OS Request] Add Manjaro ARM

I don't see a list anywhere we can make pull requests to, so I am just making this request, as it seems to be the only way to do it.

We (Manjaro ARM) would like to be represented on the list of possible OS's to be installed via this tool.

Our current images can always be found at OSDN:
https://osdn.net/projects/manjaro-arm/storage/rpi4/

Currently our supported editions are KDE Plasma and XFCE editions.

Ubuntu 18.04 small font on 4K

Ubuntu 18.04.4 LTS
GNOME 3.28.2
Linux mad 4.15.0-88-generic #88-Ubuntu SMP x86_64
Dimensions: 7680x2160 pixels (2032x571 millimeters)
Resolution: 3840x2160 (16:9)
Scaling: 200%

Seems application is not using Scale percentages.

Screenshot from 2020-03-11 14-32-18
Screenshot from 2020-03-11 14-22-35

Discussion: when to show cached images

When the user has an internet connection and they select an online OS image, that image will be downloaded to their cache directory to speed up future writes of that image.

If the user tries to use the app and doesn't have an internet connection, the app will show the cached images that have been downloaded previously.

If the user has an internet connection and tries to the the app, but the cached images they have are out of date (discovered by comparing the version numbers), the out of date cached images will not be displayed, and the only options will be current in-date cached images, and the rest of the online images.

This behaviour make sense to me, however some users may desire an option to show all cached images regardless of their age, so it may be worth discussing.

Failure to install Ubuntu Server

Hello!

Ubuntu Server 18.04.4 LTS fails to install correctly on a Raspberry Pi 2 B v1.1. It fails the validation step and then does not boot.

The Image Writer installs Raspbian correctly on this device, and Ubuntu installs correctly using Etcher.

Add feature to make an image from an SD card without empty space

Having the feature to make an iso from an SD card including ONLY actual content (without any empty space whereas a simple image is the size of the disk itself), so that making backup becomes way easier than using dd and PiShrink.
Also make this option compatible with windows.

A few debug messages on Windows

I get a few error messages on my Win10 Pro build 1903 laptop that may need addressing at some point.


C:\Program Files (x86)\Raspberry Pi Imager>DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.25, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Roboto", lfWidth=0, lfHeight=-11) dpi=96
DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.25, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Noto", lfWidth=0, lfHeight=-11) dpi=96
qrc:/main.qml:739:13: QML QQuickText: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/main.qml:60:17: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/main.qml:95:17: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
qrc:/main.qml:131:17: QML ColumnLayout: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.```

Discussion: write multiple SD cards simultaneously

The Etcher SDK supports writing to multiple SD cards simultaneously, and indeed this is something Etcher supports too.

Currently this app doesn't yet support that, however it should be fairly trivial to add in if that's something that would be desired. I was initially thinking this may not be something we want to support in this app, due to the goal of keeping everything as simple as possible for the user, and if they want more advanced features, they can always use Etcher.

Ubuntu OS image options didn't show up and then did show up

I'm on Kubuntu 18.04 I built and ran the tool and didn't see the Ubuntu OS options but after installing and running the Raspberry Pi org version(also v1.2) I saw the Ubuntu OS options. What's strange is after going back to the one I'd built now the Ubuntu OS options show up.

Steps:
Built from source using exactly the commands in the readme.
I installed using 'dpkg -i' and then opened rpi-imager and didn't see any Ubuntu OS options.
Uninstalled using 'apt remove' and installed rpi-imager from raspberrypi.org
Ran it and the Ubuntu OS option was there.
Uninstalled using 'apt remove', installed rpi-imager_1.2_amd64.deb and SEE Ubuntu OS options.

Is there something I missed during the building and running of the locally compiled version?

Policy regarding third-party operating systems?

I wonder if you're open to include third-party operating systems and how that might work in the future. I've built a repository endpoint for info-beamer hosted OS.

You can try it out with:

imagingutility --repo https://info-beamer.com/repo.json

It can be embedded into an existing configuration using:

{
    "name": "info-beamer",
    "description": "Turn your Raspberry Pi into a digital signage display or video wall.",
    "icon": "https://info-beamer.com/repo.png",
    "subitems_url": "https://info-beamer.com/repo.json"
}

The images in the repository are automatically up-to-date thanks to the programmatic OS releases info-beamer does.

Thoughts?

WiFi setup

Would it be possible to add a wpa_supplicant generator to the imager so headless users of the pi don't have to plug a monitor to pi.

Rapsberry Pi Imager makes SD cards unusable

My 32GB Samsung EVO micro-SDHC UHS-1 Card cannot be read with my Mac now after failing to be formatted with the Raspberry Pi Imager.

^ I commented this yesterday on the imager page.

I would like to find out if there is a way to repair the sd card as it is not possible with Mac OS X Mojave's Disk Utility Application.

Thanks.

Ryan

Screenshot 2020-03-09 at 8 12 32 PM

Another user had a similar problem.
I quote:
"I have tested this application with 3 different SD cards and in all cases it fails. Moreover after retrying the procedure the SD card become unusable and my Windows 7 computer can not longer read it, it looks like that thy have been damaged by the tool.

I have used 1 32GB and 2 64GB and in all cases the 3 SD cards are broken due to the tool.

Have you experienced this problem?
Any workaround recover my damaged SD cards ?

Thanks,
Antonio"

Rename repository to match application name

Maybe it would be a good idea to rename the repository to match the application name, e.g., to rpi-imager. In case you are afraid of breakage: Renaming the repository in GitHub automatically sets up forwarding so nothing should break (I've done it in my repos before.)

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.