loading the os image into sd card

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

loading the os image into sd card

Jump to solution
576 Views
shankovai
Contributor III

Hello support team,

Configuration

Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6qdlsabresd"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.15-kirkstone"
TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:27de52e402ae000dfa502d52908cd6e6aef923ec"
meta-oe
meta-multimedia
meta-python = "HEAD:5357c7a40eaf8d1bcf7ff58edbba8e9527e40c7d"
meta-freescale = "HEAD:2fb1ce365338126aad365012ebb913b3e4a9f1be"
meta-freescale-3rdparty = "HEAD:de0eb1408150d77f9cce97c559f9a5a3c71e5d6c"
meta-freescale-distro = "HEAD:fc15f5003043da23212596be7366ae2547c308ad"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:5bc708f56575a878da17f2148e959c95d06cf8db"
meta-nxp-demo-experience = "HEAD:8fade3993b832ecd823771644f2a7b731f8f4527"
meta-chromium = "HEAD:d25d8ee98a656b2534d0eec6138ef264529fab4f"
meta-clang = "HEAD:85d956d95401479ca666139e31f662f60c156d5f"
meta-gnome
meta-networking
meta-filesystems = "HEAD:5357c7a40eaf8d1bcf7ff58edbba8e9527e40c7d"
meta-qt6 = "HEAD:b2894aad5c1aaa85f2f5c7b94391b7c51c39e555"
meta-virtualization = "HEAD:973c8d0964c6f40338857efe5b8009b2f647d485"

bitbake core-image-minimal

after building the image, flash the image into sd card by giving below command

bzcat <image_name>.wic.bz2 | sudo dd of=/dev/sd<partition> bs=1M conv=fsync

 

sudo fdisk /dev/sda  -l
Disk /dev/sda: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3f9d3c50

Device     Boot Start    End Sectors   Size Id Type
/dev/sda1  *     8192  60825   52634  25.7M  c W95 FAT32 (LBA)
/dev/sda2       65536 288921  223386 109.1M 83 Linux

question

usually three partition will be generated ? but  from the above two partition are shown, is the above is correct

uboot.sb will be burned in partition1 (memory loader FSBL)

uimage and .dtb burned in partition2 (Uboot, environment variable)

rootfs,linux image(dev,etc......) burned in partition3 (rootfs, uimage)

 

please confirm

0 Kudos
Reply
1 Solution
567 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @shankovai 

Two partitions are correct. U-boot, dtb, and kernel will be stored at first partition. Rootfs will be at second partition.

Best regards

Harvey

View solution in original post

0 Kudos
Reply
1 Reply
568 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @shankovai 

Two partitions are correct. U-boot, dtb, and kernel will be stored at first partition. Rootfs will be at second partition.

Best regards

Harvey

0 Kudos
Reply