---+!! Rockbox Player Little %TOC% ---+ Objectives Make a simple and cheap DIY kind of prototype for be able to promote the Rockbox Player idea near to the companies that already produce and sells online electronics systems as the [[http://www.olimex.com][Olimex]] or [[http://sparkfun.com/][Sparkfun]]. We are a few individuals who believes on possibility of building our own DAP from the scratch, since the hardware to the firmware. We don't own any electronics company and as that we just can build our hardware using cheap and world available electronics parts - final prototype will not look as good as any commercial device. We believe that then we can convince some electronics companies to build and sell our own player to us but with all the characteristic as any commercial device. ---+ Hardware <img src="http://www.rockbox.org/twiki/bin/viewfile/Main/LyreLittlePrototype?rev=1;filename=rockboxplayer_little-diagram-600x.png"> The prototype is based on a [[http://www.rockbox.org/twiki/bin/view/Main/LyrePrototype#Development_board_Olimex_SAM9_L9][development board]] and have one [[LyreLittlePrototypeLCD][color LCD]], a connector for one SD flash memory card, [[http://www.rockbox.org/twiki/bin/view/Main/LyreLittlePrototypeExpansionBoard][one output audio jack, buttons]] and some batteries. The MCU is one ARM9 operating at 180MHz (maximum). The memories are: 64MB SDRAM and 2MB DataFlash memory. The Rockbox bootloader will be stored on the 2MB DataFlash memory while the Rockbox firmware and audio data files will the stored on SD flash memory card. Please read more about hardware used on LyrePrototype page. We have one [[http://code.google.com/p/rockboxplayer/][SVN server at code.google with an initial port code and with more information about the tools we are using as the JTAG hardware debugger, OpenOCD, Sam-ba and Eclipse]]. ---+Software This section describes the RockBox port for the hardware. We are hosting our patch against Rockbox source [[http://code.google.com/p/rockboxplayer/source/browse/#svn/trunk/rockbox_patch][here]]. ---++Bootstrap *Status* - %Y% _done_. The AT91SAM9260 will boot directly from DataFlash memory. A program called [[http://code.google.com/p/rockboxplayer/wiki/BootStrap][Bootstrap]] will run on boot and will launch another application - the Rockbox bootloader. Bootstrap also initializes the SDRAM and various peripherals of MCU. The [[http://code.google.com/p/rockboxplayer/wiki/BootStrap][Bootstrap]] is already tested and actually launches applications that are flashed on DataFlash memory starting at address 0x1000. ---++Rockbox bootloader The Rockbox bootloader is an application that will be launched by bootstrap. The following was code was implemented: /* Initialize system */ %Y% done.<br> _system_init();_ /* to initialize some peripherals. Bootstrap already did initialize the SDRAM controller, the SDRAM, etc, so not need to do much on this stage. */<br> /* Initialize the kernel */ %Y% done.<br> _kernel_init();_ /* to initialize the Rockbox kernel. Kernel sleep() function is used on LCD, buttons and ATA drivers.*/<br> /* Initialize the LCD */ %Y% done.<br> _spi_init();_ /* to initialize SPI bus communications. We use SPI to communicate with the LCD. */<br> _lcd_init();_ /* to initialize the LCD. */<br> /* Initialize the buttons */ %Y% done.<br> _button_init();_ /* to initialize the buttons - configure the MCU IOs that connect to buttons, as digital inputs. */ /* Initialize ATA (SD card reader) and mount the FAT file system partition on SD card */ %Y% done.<br> _storage_init();_ /* Initialize the SD card reader and the controller */<br> _disk_mount_all();_ /* Mount all partitions of SD card. */<br> /* Load Rockbox firmware and start it */ %Y% done.<br> load_firmware(loadbuffer, _BOOTFILE, MAX_LOADSIZE);<br> ---++Rockbox firmware The firmware is loaded from the SD card by the bootloader and run it. *Status* - %X% some work had been done. Firmware is working, but we don't have the hardware for audio codec IC, so no sound is played yet. ---+Topic discussions on Rockbox forum * [[http://forums.rockbox.org/index.php?topic=6751.new;topicseen#new][Rockbox Player - Project to design and build a Free/Open hardware audio player]] ---+License All documentation to produce the LyreProject is under license:<br> <br> <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/us/88x31.png"/></a><br/>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/">Creative Commons Attribution-Share Alike 3.0 United States License</a>. If you use this work, you must reference this project as "Rockbox Player" and use this link: http://www.rockbox.org/twiki/bin/view/Main/LyreProject
23 Aug 2008 - 11:10
ore topic actions
r16 - 23 Mar 2009 - 08:36:21 -
Copyright © by the contributing authors.