The Petalinux kernel I'm using is derived from the Zynq template (e.g. not the Zybo Z7 BSP provided from here). I did try using the prebuilt image from the Zybo Z7 Petalinux demo BSP as well, and the exact same issue happens.
I've tried reducing the number of partitions, making one big partition, using the default ones from the BSP (all via the menuconfig). In system-user.dtsi I've tried making it compatible with the "micron,m25p80" (which was a suggestion I got from a different post with similar but not identical issues). Below are the flash setups for system-user.dtsi and system-conf.dtsi, respectively
Question
mrcorcoran
Hi,
I've been trying to get partitions set up on my Zybo Z7 and keep running into this problem:
spi-nor spi0.0: s25fl128s1 (16384 Kbytes) spi0.0: error parsing ofpart partition /axi/spi@e000d000/flash@0/partition@0 (/axi/spi@e000d000/flash@0)
The Petalinux kernel I'm using is derived from the Zynq template (e.g. not the Zybo Z7 BSP provided from here). I did try using the prebuilt image from the Zybo Z7 Petalinux demo BSP as well, and the exact same issue happens.
I've tried reducing the number of partitions, making one big partition, using the default ones from the BSP (all via the menuconfig). In system-user.dtsi I've tried making it compatible with the "micron,m25p80" (which was a suggestion I got from a different post with similar but not identical issues). Below are the flash setups for system-user.dtsi and system-conf.dtsi, respectively
system-user.dtsi
system-conf.dtsi
&qspi { #address-cells = <1>; #size-cells = <0>; flash0: flash@0 { /delete-node/ partition@0; /delete-node/ partition@100000; /delete-node/ partition@600000; /delete-node/ partition@620000; /delete-node/ partition@c00000; partition@0 { label = "otp"; reg = <0x00000000 0x00010000>; }; partition@1 { label = "otp2"; reg = <0x00010000 0x00100000>; }; partition@2 { label = "user"; reg = <0x00110000 0x00400000>; }; partition@3 { label = "test"; reg = <0x00510000 0x00af0000>; }; }; };
I'm using Petalinux 2022.1. The Zybo Z7 is a Rev. B board with the S25FL128SAGMFI00 flash chip. I feel like I'm missing something obvious.
(also, yes I know the s25fl128 has a dedicated OTP, however the board I'm developing will not be using this chip)
- Matt
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now