Difference between revisions of "USB Boot"

From ArmadeusWiki
Jump to: navigation, search
(creation)
 
Line 1: Line 1:
 
{{Under_Construction}}
 
{{Under_Construction}}
  
Only possible with the DevFull development board for the moment
+
{{Note|Only possible with the [[APF9328DevFull]] and [[APF27]] boards.}}
  
* create a partition on your USB key
+
* create a partition on your USB key (supposing it is recognized as /dev/sdb)
 +
<pre class="host">
 +
$ sudo fdisk /dev/sdb
 +
n
 +
p
 +
1
 +
<ENTER>
 +
<ENTER>
 +
w
 +
</pre>
 
* format it as ext2:
 
* format it as ext2:
 +
<pre class="host">
 
  $ sudo mkfs.ext2 /dev/sdb1
 
  $ sudo mkfs.ext2 /dev/sdb1
 +
</pre>
 
* mount it:
 
* mount it:
 
  $ sudo mount /dev/sdb1 /media/disk/
 
  $ sudo mount /dev/sdb1 /media/disk/
 
* copy rootfs on it:
 
* copy rootfs on it:
  $ sudo tar xvf buildroot/binaries/armadeus/rootfs.arm.tar -C /media/disk/
+
$ make shell_env
 +
$ source armadeus_env.sh
 +
  $ sudo tar xvf $ARMADEUS_ROOTFS_TAR -C /media/disk/
 
  $ sudo umount /media/disk/
 
  $ sudo umount /media/disk/
  
*recompile kernel with ISP driver as staticaly linked '''(not working yet)''':
+
* kernel should be compiled with ISP driver as static (done by default in current Armadeus configuration)
 
  $ make linux-menuconfig
 
  $ make linux-menuconfig
  Device Drivers  ---> Armadeus specific drivers  ---> <*>  isp1761 USB 2.0 Host controller   (static)
+
<pre class="config">
* or make a ramdisk which will load ISP modules
+
  Device Drivers  --->  
 +
    Armadeus specific drivers  --->  
 +
        <*>  isp1761 USB 2.0 Host controller
 +
</pre>

Revision as of 21:22, 24 February 2009

Page under construction... Construction.png Informations on this page are not guaranteed !!

Note Note: Only possible with the APF9328DevFull and APF27 boards.


  • create a partition on your USB key (supposing it is recognized as /dev/sdb)
 $ sudo fdisk /dev/sdb
 n
 p
 1
 <ENTER>
 <ENTER>
 w
  • format it as ext2:
 $ sudo mkfs.ext2 /dev/sdb1
  • mount it:
$ sudo mount /dev/sdb1 /media/disk/
  • copy rootfs on it:
$ make shell_env
$ source armadeus_env.sh
$ sudo tar xvf $ARMADEUS_ROOTFS_TAR -C /media/disk/
$ sudo umount /media/disk/
  • kernel should be compiled with ISP driver as static (done by default in current Armadeus configuration)
$ make linux-menuconfig
 Device Drivers  ---> 
     Armadeus specific drivers  ---> 
         <*>   isp1761 USB 2.0 Host controller