version 1.56, 2015/12/10 08:07:54
|
version 1.57, 2015/12/10 22:31:14
|
Line 94 partition on the SD card
|
Line 94 partition on the SD card
|
instructions regarding how to boot the kernel (basically the *bootargs* that are |
instructions regarding how to boot the kernel (basically the *bootargs* that are |
passed to the kernel and how to load the kernel from a device to the RAM and |
passed to the kernel and how to load the kernel from a device to the RAM and |
then boot it from the memory address): |
then boot it from the memory address): |
[[!template id=programlisting text=""" |
[[!template id=filecontent name="boot.cmd" text=""" |
setenv kernel_addr 82000000 |
setenv kernel_addr 82000000 |
setenv kernel netbsd.ub |
setenv kernel netbsd.ub |
setenv bootargs "root=ld0a" |
setenv bootargs "root=ld0a" |
Line 135 Board configuration scripts can be found
|
Line 135 Board configuration scripts can be found
|
|
|
To use, copy the compiled FEX to your MS-DOS partition, load it with U-Boot, and then tell the kernel where to find it with the "sysconfig=" boot option. For example, uEnv.txt on a Cubieboard2 might look like this: |
To use, copy the compiled FEX to your MS-DOS partition, load it with U-Boot, and then tell the kernel where to find it with the "sysconfig=" boot option. For example, uEnv.txt on a Cubieboard2 might look like this: |
|
|
[[!template id=programlisting text=""" |
[[!template id=filecontent name="uEnv.txt" text=""" |
bootargs=root=ld0a sysconfig=0x43000000 |
bootargs=root=ld0a sysconfig=0x43000000 |
uenvcmd=mmc dev 0; mmc rescan; fatload mmc 0:1 43000000 cubieboard2.bin; fatload mmc 0:1 82000000 netbsd.ub; bootm 82000000 |
uenvcmd=mmc dev 0; mmc rescan; fatload mmc 0:1 43000000 cubieboard2.bin; fatload mmc 0:1 82000000 netbsd.ub; bootm 82000000 |
"""]] |
"""]] |
Line 166 a31# audiocfg list
|
Line 166 a31# audiocfg list
|
# MAC address |
# MAC address |
|
|
On boards where the ethernet MAC address cannot be determmined, a random MAC address will be generated every boot. You can override this behaviour by specifying a MAC address in *uEnv.txt*: |
On boards where the ethernet MAC address cannot be determmined, a random MAC address will be generated every boot. You can override this behaviour by specifying a MAC address in *uEnv.txt*: |
[[!template id=programlisting text=""" |
[[!template id=filecontent name="uEnv.txt" text=""" |
bootargs=root=ld0a awge0.mac-address=02:a0:3d:88:1a:1e |
bootargs=root=ld0a awge0.mac-address=02:a0:3d:88:1a:1e |
"""]] |
"""]] |