diff options
| author | Matthew McClintock <msm-oss@mcclintock.net> | 2017-06-14 13:24:20 -0500 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2017-07-04 16:49:14 +0100 |
| commit | ff59ad9d4b7d6af1181a5ee9f81df2fc01bf1b45 (patch) | |
| tree | ae5d4b595bd07edf9a84a1148d4d3fd684e55d4b /docs/extra-build-config.md | |
| parent | c750b0ac5d57c31c3086dba94c6cd5e567d6ce40 (diff) | |
| download | meta-raspberrypi-ff59ad9d4b7d6af1181a5ee9f81df2fc01bf1b45.tar.gz | |
sdcard_image-rpi.bbclass: deploy vfat partition
This is useful to update the bootloader/vfat partition from u-boot when
you don't want to update everything:
U-Boot> tftpboot 0x1000000 tmp/0VXje
Waiting for Ethernet connection... done.
Using sms0 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.26
Filename 'image.vfat'.
Load address: 0x1000000
Loading: ################################################## 40 MiB
2.1 MiB/s
done
Bytes transferred = 41943040 (2800000 hex)
U-Boot> mmc part
Partition Map for MMC device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type
1 8192 81920 a63a4fbc-01 0c Boot
2 90112 163840 a63a4fbc-02 83
U-Boot> mmc erase 0x2000 0x14000
MMC erase: dev # 0, block # 8192, count 81920 ... 81920 blocks erased:
OK
U-Boot> mmc write 0x1000000 0x2000 0x14000
MMC write: dev # 0, block # 8192, count 81920 ... 81920 blocks written:
OK
U-Boot>
Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
Diffstat (limited to 'docs/extra-build-config.md')
0 files changed, 0 insertions, 0 deletions
