FAE75 Genesi Pegasos II Linuxtraining
Total Page:16
File Type:pdf, Size:1020Kb
FAE75 Genesi Pegasos II LinuxTraining Maurie Ommerman, Jacob Pan , Sergei Larin, Top Changwatchai June 10, 2004 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 FAE75 Part 1 Introduction and Setup Maurie Ommerman, Jacob Pan June 10, 2004 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Tutorial contents • Physical Set up of the Genesi Pegasos II • Boot Options • Open Firmware Orientation • Starting Linux and setting up the IP addresses and resolution • Debian • Yellow dog – discussed in an apps note later this year • Linux Administration • Window Manager Orientation KDE • Window Manager Orientation GNOME • Network and Internet Orientation • Printers • CD writer – discussed in an aps note later this year Slide 3 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Tutorial contents • Editors and Compilers • Compile/debug/performance monitoring • Altivec – using and debugging • Performance monitoring • Optimizing code with SimG4+ • Sandpoint as a target of Pegasos host • Nfs mount or hard drive • Obtaining and installing packages from the web • Discussed in an aps note later this year Slide 4 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Physical Setup of Pegasos II Maurie Ommerman June 10, 2004 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Turning the machine on and off •There is one access button for the cdrom/dvd device •There are two buttons on the front and two lights. •The large button is the on switch • Push and hold the on switch for 4 seconds to turn power OFF •The small switch is the reset button •The top (or right) light is power •The bottom (or left) light is disk access •How does one turn the machine off • preferred way: Shutdown sequence from linux • only way for morphos: Push the reset button • panic way: push the reset button Push and hold the power switch Unplug the power from either the machine or the outlet Slide 6 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Front of Cabinet Slide 7 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Connecting the cables Rear Connections • Mouse, Keyboard, Ethernet, Power, Video, Serial, Parallel, Digital Video, Sound, Game Port • Sound can be connected in front or rear • Mouse is the top ps2 port • Keyboard is bottom ps2 post • Serial port next to the firewire ports • Ethernet is toward the video port • Port under mouse is not physically connected • USB two rear • /dev/sda2, /dev/sda3 Slide 8 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Back of Cabinet mouse usb ethernet digital video parallel serial power speaker vga Slide 9 keyboard Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. firewire All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Connecting the cables Front Connections • Sound, USB, CD/DVD • CD/DVD can be accessed under blue panel on right. • If the drawer does not open, check for power • USB bottom front • /dev/sda1 • Top front /dev/sda0 is not physically connected Slide 10 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Front Access Panels Open DVD/CDrom power speaker reset Slide 11 usb /dev/sda1 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Connecting the cables Inside • Remove the cover by unscrewing the back two thumb screws. • Slice cover toward front of machine before lifting cover upward. • Notice that there is only a small fan on the processor and the power supply • No fan on the cabinet • Close the lid and replace the screws Slide 12 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Inside Front and Back dvd/cdrom power video card processor card Slide 13 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Boot Options Maurie Ommerman June 10, 2004 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Booting Boot Options Upon PowerUP, this menu is presented Pegasos boot menu 1.MorphOS 2.Debian GNU/Linux 2.4 kernel 3.Debian GNU/Linux 2.6 kernel 4.Yellow Dog Linux 2.4 kernel 5.Return to OF prompt Press 1-5 (default: 3): 25 seconds to choose Error: error while trying to load or boot Slide 15 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Boot Screen Slide 16 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Booting 1. MorphOS • Genesi proprietary “Linux like” OS • Lot’s of detailed documentation Slide 17 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 MorphOS splash screen Slide 18 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Booting 2. Debian GNU/Linux 2.4 kernel • Debian Linux distribution • www.debian.com => www.debian.org • This is the previous distribution kernel • Free distribution Slide 19 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Booting 3. Debian GNU/Linux 2.6 kernel • Debian Linux distribution • www.debian.com => www.debian.org • Genesi preferred Linux • This is the current distribution kernel • Free distribution Slide 20 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Debian logon and Gnome splash screens Slide 21 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Debian KDE splash screen Slide 22 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Booting 4. Yellow Dog 2.4 kernel • Yellow dog Linux distribution • www.yellowdoglinux.com • Distribution on web or shrink wrap box • For sale, not free Slide 23 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Booting 5. Return to OF prompt • Open Firmware prompt • www.openfirmware.com • Implementation is Proprietary, owned by CodeGen, Inc, standard is open • For sale, not free • Supported on Genesi • Genesi firmware – boots the board Slide 24 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Where is the boot file? •The boot file is a text file in the forth language •It is located on hda1, which is an FFS partition mount as –t affs affs is a amiga fast file system partition type •I will discuss this in the Debian presentation Slide 25 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Geneses Partitions List of partitions device location part name style name 1. hda1 0 FFS boot –t affs 2. hda2 1 SFS MOS morphos 3. hda3 2 SFS MOS-DATA morphos 4. hda4 3 LNX swap 5. hda5 4 LNX debian –t ext3 6. hda6 5 LNX ydl yellowdog –t ext3 Slide 26 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004 Genesi Presentation Part 1 Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2004.