Saturday, March 12, 2016

Identify and download necessary software resources

I will start with NOOBS and the included Raspbian image to test the Raspberry Pi 3 out of the box.  Once that is working and tested, then build/install a kernel with the Cirrus Logic Audio Card device driver.  There are a number of options to accomplish the driver build/install and I will explore those after the NOOBS/Raspbian install is completed.

NOOBS needs to be copied to the MicroSD card I purchased.  This is not documented well on the RaspberryPi.org site for Linux users so this is what I did.  I found Norman Dunbar's blog entry from 2015/01/11 and used it as a guide for the following.

  • Boot Ubuntu on a Toshiba netbook with SD card slot.
  • Download the desired NOOBS zip file.
root@hoodoo:/tmp# wget https://downloads.raspberrypi.org/NOOBS_latest
root@hoodoo:/tmp# ls NOOBS*
NOOBS_latest

  • Identify SD.  Mine came formatted FAT32 with partition /dev/sdb1. 
root@hoodoo:~# fdisk -l /dev/sdb

Disk /dev/sdb: 31.1 GB, 31104958464 bytes
255 heads, 63 sectors/track, 3781 cylinders, total 60751872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            8192    60751871    30371840    c  W95 FAT32 (LBA)
 

  •  Mount the FAT32 partition
root@hoodoo:~# mount /dev/sdb1 /mnt/sd


  • Unzip the NOOBS zip file to the SD card
root@hoodoo:~# cd /mnt/sd
root@hoodoo:~# unzip /tmp/NOOBS_latest
root@hoodoo:/mnt/sd# sync
root@hoodoo:/mnt/sd# cd /
root@hoodoo:/# umount /mnt/sd





The next step will be to boot the Raspberry Pi 3 for the first time and install Raspbian.

No comments:

Post a Comment