Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
iconfalse
titleIf 'fdisk' command is not preset

root@OpenWrt:~# opkg update

root@OpenWrt:~# opkg install fdisk

Create a new partitions for RDK-B.

The devicetree database and the Linux kernel are in the FAT32 partition:

Code Block
themeDJango
root@OpenWrt:~# mount /dev/mmcblk0p1 /mnt
root@OpenWrt:~# ls -l /mnt
-rwxr-xr-x    1 root     root         17353 Aug 17  2018 armada-385-turris-omnia.dtb
-rwxr-xr-x    1 root     root       2445072 Aug 17  2018 zImage

Copy the kernel in the FAT32 partition.

...

It is strongly recommend to keep the OpenWrt partition and kernel. If boot fails, it is easy to change the U-boot environment and boot back into OpenWrt(Fail safe OS).

Flashing RDKB image (A Yocto Project based Distro)

Follow instruction from wiki page(https://wiki.rdkcentral.com/display/RDK/Wifi-Extender+Yocto+Build+Instructions) to make yocto's RDK-B image from yocto workspace in your PC.

Boot into openwrt based linux system in turris omnia board. Its downlink interface will have 192.168.1.1 IP address and have it connected to your PC.

Create a new partitions for RDK-B.
Create one primary partition for zImage. Create another extended partition for holding logical partitions for rootfs and /nvram.

...