Re: barebox state w/ qemu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> In the target, I'm getting an error with barebox-state:
>
>  # barebox-state -d
>  state: state failed to parse path to backend: No such device
>  unable to initialize state: No such device
>
> Do I need to configure barebox-state somehow? Perhaps the Linux kernel
> can't see the flash?

I discovered the problem.. I'm using Buildroot with the
qemu_aarch64_defconfig and I needed to add these Linux kernel config
options:

CONFIG_MTD=y
CONFIG_MTD_CFI=y
CONFIG_MTD_OF_PARTS=y
CONFIG_MTD_CFI=y
CONFIG_MTD_CFI_INTELEXT=y
CONFIG_MTD_CFI_UTIL=y
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_OF=y

I can successfully run barebox-state on the target, dump, and set
state variables. I'll submit a patch to Buildroot.

Wes




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux