UUB Linux Development, continued

OK – so PetaLinux’s setup is starting to be a little clearer to me.

You can’t configure everything via the menu. But that’s fine, because u-boot’s configuration can’t all be set by the menu either. Any u-boot configuration changes (or device tree configuration changes) need to happen in subsystems/linux/configs. Device tree changes can happen in subsystems/linux/configs/devicetree/system-top.dts. U-boot configuration changes can happen in subsystems/linux/configs/u-boot/platform-top.h. Changes in those files will never be overwritten.

For some reason PetaLinux’s “automatic bootargs” doesn’t work right. It doesn’t choose the right UART.

Right now I’m trying to set up:

  • 1 flash partition for FSBL and u-boot. This will never be touched.
  • 1 flash partition for ITBs and U-boot environments, under UBI.
  • 1 flash partition for rootfs UBIs: 1 read-only, with squashfs, and 1 read-write, with UBIFS. Still thinking about this one.

Leave a Reply

Your email address will not be published. Required fields are marked *