diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/bsp-guide/bsp.xml | 85 |
1 files changed, 39 insertions, 46 deletions
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 3cda0f6b70..2f2dca0084 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml | |||
@@ -1252,12 +1252,12 @@ | |||
1252 | $ yocto-bsp list karch | 1252 | $ yocto-bsp list karch |
1253 | Architectures available: | 1253 | Architectures available: |
1254 | qemu | 1254 | qemu |
1255 | mips64 | ||
1256 | powerpc | ||
1257 | x86_64 | ||
1255 | arm | 1258 | arm |
1256 | mips | 1259 | mips |
1257 | x86_64 | ||
1258 | i386 | 1260 | i386 |
1259 | powerpc | ||
1260 | mips64 | ||
1261 | </literallayout> | 1261 | </literallayout> |
1262 | </para> | 1262 | </para> |
1263 | 1263 | ||
@@ -1291,37 +1291,35 @@ | |||
1291 | $ yocto-bsp create myarm qemu | 1291 | $ yocto-bsp create myarm qemu |
1292 | Checking basic git connectivity... | 1292 | Checking basic git connectivity... |
1293 | Done. | 1293 | Done. |
1294 | |||
1295 | Which qemu architecture would you like to use? [default: i386] | 1294 | Which qemu architecture would you like to use? [default: i386] |
1296 | 1) i386 (32-bit) | 1295 | 1) i386 (32-bit) |
1297 | 2) x86_64 (64-bit) | 1296 | 2) x86_64 (64-bit) |
1298 | 3) ARM (32-bit) | 1297 | 3) ARM (32-bit) |
1299 | 4) PowerPC (32-bit) | 1298 | 4) PowerPC (32-bit) |
1300 | 5) MIPS (32-bit) | 1299 | 5) MIPS (32-bit) |
1301 | 6) MIPS64 (64-bit) | 1300 | 6) MIPS64 (64-bit) |
1302 | 3 | 1301 | 3 |
1303 | Would you like to use the default (3.17) kernel? (y/n) [default: y] y | 1302 | Would you like to use the default (3.17) kernel? (y/n) [default: y] y |
1304 | Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] | 1303 | Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] |
1305 | Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.17.git... | 1304 | Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-3.17.git... |
1306 | Please choose a machine branch to base your new BSP branch on: [default: standard/base] | 1305 | Please choose a machine branch to base your new BSP branch on: [default: standard/base] |
1307 | 1) standard/arm-versatile-926ejs | 1306 | 1) standard/arm-versatile-926ejs |
1308 | 2) standard/base | 1307 | 2) standard/base |
1309 | 3) standard/beagleboard | 1308 | 3) standard/beagleboard |
1310 | 4) standard/beaglebone | 1309 | 4) standard/beaglebone |
1311 | 5) standard/ck | 1310 | 5) standard/ck |
1312 | 6) standard/common-pc | 1311 | 6) standard/common-pc |
1313 | 7) standard/crownbay | 1312 | 7) standard/crownbay |
1314 | 8) standard/edgerouter | 1313 | 8) standard/edgerouter |
1315 | 9) standard/fsl-mpc8315e-rdb | 1314 | 9) standard/fsl-mpc8315e-rdb |
1316 | 10) standard/mti-malta32 | 1315 | 10) standard/mti-malta32 |
1317 | 11) standard/mti-malta64 | 1316 | 11) standard/mti-malta64 |
1318 | 12) standard/qemuarm64 | 1317 | 12) standard/qemuarm64 |
1319 | 13) standard/qemuppc | 1318 | 13) standard/qemuppc |
1320 | 1 | 1319 | 1 |
1321 | Would you like SMP support? (y/n) [default: y] | 1320 | Would you like SMP support? (y/n) [default: y] |
1322 | Does your BSP have a touchscreen? (y/n) [default: n] | 1321 | Does your BSP have a touchscreen? (y/n) [default: n] |
1323 | Does your BSP have a keyboard? (y/n) [default: y] | 1322 | Does your BSP have a keyboard? (y/n) [default: y] |
1324 | |||
1325 | New qemu BSP created in meta-myarm | 1323 | New qemu BSP created in meta-myarm |
1326 | </literallayout> | 1324 | </literallayout> |
1327 | Take a closer look at the example now: | 1325 | Take a closer look at the example now: |
@@ -1409,13 +1407,10 @@ | |||
1409 | Recall that the easiest way to see exactly what sub-commands are available | 1407 | Recall that the easiest way to see exactly what sub-commands are available |
1410 | is to use the <filename>yocto-kernel</filename> built-in help as follows: | 1408 | is to use the <filename>yocto-kernel</filename> built-in help as follows: |
1411 | <literallayout class='monospaced'> | 1409 | <literallayout class='monospaced'> |
1412 | $ yocto-kernel | 1410 | $ yocto-kernel --help |
1413 | Usage: | 1411 | Usage: |
1414 | |||
1415 | Modify and list Yocto BSP kernel config items and patches. | 1412 | Modify and list Yocto BSP kernel config items and patches. |
1416 | |||
1417 | usage: yocto-kernel [--version] [--help] COMMAND [ARGS] | 1413 | usage: yocto-kernel [--version] [--help] COMMAND [ARGS] |
1418 | |||
1419 | Current 'yocto-kernel' commands are: | 1414 | Current 'yocto-kernel' commands are: |
1420 | config list List the modifiable set of bare kernel config options for a BSP | 1415 | config list List the modifiable set of bare kernel config options for a BSP |
1421 | config add Add or modify bare kernel config options for a BSP | 1416 | config add Add or modify bare kernel config options for a BSP |
@@ -1430,11 +1425,7 @@ | |||
1430 | feature describe Describe a particular feature | 1425 | feature describe Describe a particular feature |
1431 | feature create Create a new BSP-local feature | 1426 | feature create Create a new BSP-local feature |
1432 | feature destroy Remove a BSP-local feature | 1427 | feature destroy Remove a BSP-local feature |
1433 | |||
1434 | See 'yocto-kernel help COMMAND' for more information on a specific command. | 1428 | See 'yocto-kernel help COMMAND' for more information on a specific command. |
1435 | |||
1436 | |||
1437 | |||
1438 | Options: | 1429 | Options: |
1439 | --version show program's version number and exit | 1430 | --version show program's version number and exit |
1440 | -h, --help show this help message and exit | 1431 | -h, --help show this help message and exit |
@@ -1449,11 +1440,11 @@ | |||
1449 | <literallayout class='monospaced'> | 1440 | <literallayout class='monospaced'> |
1450 | $ yocto-kernel patch add myarm ~/test.patch | 1441 | $ yocto-kernel patch add myarm ~/test.patch |
1451 | Added patches: | 1442 | Added patches: |
1452 | test.patch | 1443 | test.patch |
1453 | 1444 | ||
1454 | $ yocto-kernel patch add myarm ~/yocto-testmod.patch | 1445 | $ yocto-kernel patch add myarm ~/yocto-testmod.patch |
1455 | Added patches: | 1446 | Added patches: |
1456 | yocto-testmod.patch | 1447 | yocto-testmod.patch |
1457 | </literallayout> | 1448 | </literallayout> |
1458 | <note>Although the previous example adds patches one at a time, it is possible | 1449 | <note>Although the previous example adds patches one at a time, it is possible |
1459 | to add multiple patches at the same time.</note> | 1450 | to add multiple patches at the same time.</note> |
@@ -1466,8 +1457,8 @@ | |||
1466 | <literallayout class='monospaced'> | 1457 | <literallayout class='monospaced'> |
1467 | $ yocto-kernel patch list myarm | 1458 | $ yocto-kernel patch list myarm |
1468 | The current set of machine-specific patches for myarm is: | 1459 | The current set of machine-specific patches for myarm is: |
1469 | 1) test.patch | 1460 | 1) test.patch |
1470 | 2) yocto-testmod.patch | 1461 | 2) yocto-testmod.patch |
1471 | </literallayout> | 1462 | </literallayout> |
1472 | </para> | 1463 | </para> |
1473 | 1464 | ||
@@ -1478,11 +1469,11 @@ | |||
1478 | <literallayout class='monospaced'> | 1469 | <literallayout class='monospaced'> |
1479 | $ yocto-kernel patch rm myarm | 1470 | $ yocto-kernel patch rm myarm |
1480 | Specify the patches to remove: | 1471 | Specify the patches to remove: |
1481 | 1) test.patch | 1472 | 1) test.patch |
1482 | 2) yocto-testmod.patch | 1473 | 2) yocto-testmod.patch |
1483 | 1 | 1474 | 1 |
1484 | Removed patches: | 1475 | Removed patches: |
1485 | test.patch | 1476 | test.patch |
1486 | </literallayout> | 1477 | </literallayout> |
1487 | </para> | 1478 | </para> |
1488 | 1479 | ||
@@ -1492,7 +1483,7 @@ | |||
1492 | <literallayout class='monospaced'> | 1483 | <literallayout class='monospaced'> |
1493 | $ yocto-kernel patch list myarm | 1484 | $ yocto-kernel patch list myarm |
1494 | The current set of machine-specific patches for myarm is: | 1485 | The current set of machine-specific patches for myarm is: |
1495 | 1) yocto-testmod.patch | 1486 | 1) yocto-testmod.patch |
1496 | </literallayout> | 1487 | </literallayout> |
1497 | </para> | 1488 | </para> |
1498 | 1489 | ||
@@ -1503,15 +1494,17 @@ | |||
1503 | <filename>myarm</filename> BSP: | 1494 | <filename>myarm</filename> BSP: |
1504 | <literallayout class='monospaced'> | 1495 | <literallayout class='monospaced'> |
1505 | $ yocto-kernel config add myarm CONFIG_MISC_DEVICES=y | 1496 | $ yocto-kernel config add myarm CONFIG_MISC_DEVICES=y |
1506 | Added items: | 1497 | Added item: |
1507 | CONFIG_MISC_DEVICES=y | 1498 | CONFIG_MISC_DEVICES=y |
1508 | 1499 | ||
1509 | $ yocto-kernel config add myarm CONFIG_YOCTO_TESTMOD=y | 1500 | $ yocto-kernel config add myarm CONFIG_YOCTO_TESTMOD=y |
1510 | Added items: | 1501 | Added item: |
1511 | CONFIG_YOCTO_TESTMOD=y | 1502 | CONFIG_YOCTO_TESTMOD=y |
1512 | </literallayout> | 1503 | </literallayout> |
1513 | <note>Although the previous example adds config items one at a time, it is possible | 1504 | <note> |
1514 | to add multiple config items at the same time.</note> | 1505 | Although the previous example adds config items one at a time, it is possible |
1506 | to add multiple config items at the same time. | ||
1507 | </note> | ||
1515 | </para> | 1508 | </para> |
1516 | 1509 | ||
1517 | <para> | 1510 | <para> |