bfe6f803 | 27-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_missing_file
Change-Id: I6fb96c921bead334ff178d0d78e9c7e7c7234f0a Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
3376dacd | 27-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_lookup_failed
Change-Id: I3dbb4a14c5052c1689f930744a59b465b482fb68 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
a138f56a | 27-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_lookup_found
Change-Id: I5243ee9d093445437cc6d75400d1d51ff5885719 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
4ca1aa59 | 01-Mar-2018 |
Andrew Jeffery <andrew@aj.id.au> |
pnor_partition_table: Disallow overlapping partitions
Change-Id: I25c6a6c4cee69ce9ba28c238851c7b7c622bb9b3 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
f5a5138f | 26-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_overlap
Change-Id: Iafddb01ad174b27e3f12272e107cc0323d824c81 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
0f9fbd68 | 01-Mar-2018 |
Andrew Jeffery <andrew@aj.id.au> |
pnor_partition_table: Fixes for flag handling in writeUserData()
This is a collection of small fixes:
* Always initialise the field for PARTITION_ECC_PROTECTED so it doesn't contain garbage * Pro
pnor_partition_table: Fixes for flag handling in writeUserData()
This is a collection of small fixes:
* Always initialise the field for PARTITION_ECC_PROTECTED so it doesn't contain garbage * Provide a warning when we encounter a flag we don't understand * Ignore empty flags so we don't trigger the unknown flag warning * Unset the READONLY bit if we encounter READWRITE, implementing last-configuration-wins rather than sticky-readonly
Change-Id: I3dd45139716fe241f9d3e7997e1269d13de638ca Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
9b25b591 | 25-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_flags
Exercises the flags associated with FFS properties.
Change-Id: Id710784cbbf3115712f7ce55e1fd38c8889b2c1f Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
a11a3b06 | 25-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_no_version
Change-Id: I17e876fcb18b69d29bcc439e0f270760e015f246 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
50ab1de1 | 25-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_no_end
Change-Id: I0122a2239df3ec7c83e2bf778d4d8df5a348d495 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
437c80f3 | 25-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_no_start
Change-Id: If712eac2e0f7b2c46e8bd473a5dc1c5b62c534b4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
db493410 | 01-Mar-2018 |
Andrew Jeffery <andrew@aj.id.au> |
pnor_partition_table: Disallow ToC entries with start greater than end
Change-Id: If0861efb0f6bccf82a2df94204821f22198e17b0 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
17bbf453 | 25-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_start_gt_end
Change-Id: Iaac0e7783f1ceba0d009fcd4865861b0109639e4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
b02ef434 | 25-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Add toc_no_name
Change-Id: I30325d8dbee300fc93911a7e9e2650fc592a7055 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
8de4c136 | 23-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Fix partition sizes in create_read_window_partition_exists
The CREATE_READ_WINDOW command supplied by the test case worked by accident more than design with respect to the specified PNO
test: vpnor: Fix partition sizes in create_read_window_partition_exists
The CREATE_READ_WINDOW command supplied by the test case worked by accident more than design with respect to the specified PNOR layout.
Make the partition size one block for sanity.
Change-Id: I2f3e55c8be309b3940447148289b0c5aced0b094 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
de90fdc1 | 22-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Rename create_read_window_vpnor
For separate tests of access to offsets that do and don't contain a partition.
Change-Id: I2466821b81eb721eeffe7db02d177c6f78e06101 Signed-off-by: Andre
test: vpnor: Rename create_read_window_vpnor
For separate tests of access to offsets that do and don't contain a partition.
Change-Id: I2466821b81eb721eeffe7db02d177c6f78e06101 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
733cbe65 | 22-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Rename write_flash_pnor to write_patch and clean up
Change-Id: I36f3946487d0b613fa0ada9bfa777e4d12444fac Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
24f44590 | 22-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Extract write_rw from write_flash_vpnor
Change-Id: Idec2747e2233eea5631740ed702623b5e4409a1c Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
f050fcf9 | 22-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Extract write_ro from write_flash_vpnor
Change-Id: I10b82d84cd40d52b0a489dc834269eec1a0d5240 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
ad341a2e | 22-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Extract write_prsv from write_flash_vpnor
Change-Id: I71641b2c67eebf0b2babd677a46dbc45e0848795 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
a6582531 | 21-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: vpnor: Reduce clutter by defining VPNOR_LDADD
Define a new variable to capture the library requirements of the vpnor tests.
Change-Id: I966f699a9a96ee943602476d1d1015347cfe9c0b Signed-off-by:
test: vpnor: Reduce clutter by defining VPNOR_LDADD
Define a new variable to capture the library requirements of the vpnor tests.
Change-Id: I966f699a9a96ee943602476d1d1015347cfe9c0b Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
09cff3a0 | 21-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: write_flash_vpnor: Remove unused macro
Change-Id: I635a085283d86a1f672f736a26981901d38ea599 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
32476cb4 | 21-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: tmpd: Populate path members under struct mbox_context
Change-Id: I9d18bd108d1c0972a5fefa384152757a2483c103 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
e4cf6ac8 | 01-Mar-2018 |
Andrew Jeffery <andrew@aj.id.au> |
mboxd_pnor_partition_table: Avoid using strcpy
Instead use strncpy() and specify the size of the destination buf, then null-terminate the result.
Change-Id: I02b50010d4ba11feed5a96f27b3ec2bb50b2eab
mboxd_pnor_partition_table: Avoid using strcpy
Instead use strncpy() and specify the size of the destination buf, then null-terminate the result.
Change-Id: I02b50010d4ba11feed5a96f27b3ec2bb50b2eabf Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
fe5cc8f6 | 21-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: write_flash_vpnor: Integrate VpnorRoot
Change-Id: I5d49a090482d280317e75c7a7e2dc68d7fa265e2 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
097495c6 | 21-Feb-2018 |
Andrew Jeffery <andrew@aj.id.au> |
test: tmpd: Make VpnorRoot the parent of ro/rw/prsv/patch
Previously it represented any one of the ro/rw/prsv/patch directories. It's better if we can deal with all of them at once, so rework the ab
test: tmpd: Make VpnorRoot the parent of ro/rw/prsv/patch
Previously it represented any one of the ro/rw/prsv/patch directories. It's better if we can deal with all of them at once, so rework the abstraction.
In the process, the patch exploits other features of std::experimental::filesystem to increase readability of the code.
Change-Id: I06000709622dd66945cc88cb5333847c69215dc7 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|