summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/devmem2/devmem2.bb
Commit message (Collapse)AuthorAgeFilesLines
* devmem2: the source and patches moved to github repoDenys Dmytriyenko2022-05-311-30/+0
| | | | | | | | | | | | To cleanup metadata and improve source code management, github repo was created here with all patches integrated: https://github.com/denix0/devmem2 Update recipe accordingly, bump the version while at it to distinguish from the original. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* devmem2: update SRC_URI according to redirectMichael Opdenacker2022-05-061-1/+1
| | | | | | | http://www.free-electrons.com now redirects to https://bootlin.com Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* devmem2: add support for different page sizesDenys Dmytriyenko2022-05-051-1/+3
| | | | | | | | Instead of hardcoding 4K page size, query the system and use the value for memory mapping. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* devmem2: reinstate previous patches, removed by mistakeDenys Dmytriyenko2022-05-051-1/+2
| | | | | | | This reverts commit 5e8f4720aaa3da7350ead06959cae0492133cd61. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* devmem2: patches have been upstreamedS. Lockwood-Childs2022-03-031-2/+1
| | | | | | | | quilt complains that both patches have already been applied, so drop them. Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-1/+1
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* devmem2: ensure word is 32-bit, add support for 64-bit longDenys Dmytriyenko2018-06-201-1/+3
| | | | | | | | | | Since sizeof(unsigned long) can be 8-byte on 64-bit architectures, use uint32_t instead for "word" access to always be 4-byte/32-bit long. Also introduce proper "long" 8-byte/64-bit access by using uint64_t. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* devmem2: use different filename to avoid checksum conflictsDenys Dmytriyenko2017-03-161-1/+5
| | | | | | | | | | | | | | | | | | | | | The newly resurrected devmem2.c file besides having a new location, also updates its header, producing different checksums, which would conflict with any previously cached or mirrored instances. To avoid such conflicts, use a different filename in fetch(). Rename it back to original name at unpack() for devmem2-fixups-2.patch to succeed w/o modifications. WARNING: devmem2-1.0-r7 do_fetch: Fetcher failure for URL: 'http://www.free-electrons.com/pub/mirror/devmem2.c'. Checksum mismatch! File: '/OE/master/downloads/devmem2.c' has md5 checksum be12c0132a1ae118cbf5e79d98427c1d when e23f236e94be4c429aa1ceac0f01544b was expected File: '/OE/master/downloads/devmem2.c' has sha256 checksum ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191 when 3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639 was expected If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe: SRC_URI[md5sum] = "be12c0132a1ae118cbf5e79d98427c1d" SRC_URI[sha256sum] = "ec382c90af3ef2f49695ff14a4d6521e58ac482c4e29d6c9ebca8768f699c191" Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified. WARNING: devmem2-1.0-r7 do_fetch: Renaming /OE/sources/devmem2.c to /OE/sources/devmem2.c_bad-checksum_be12c0132a1ae118cbf5e79d98427c1d Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* devmem2: Change source URL to regain access to itNicolas Ferre2017-03-041-4/+4
| | | | | | | | | Change URL due to connexion error on the original page. As the header of the new devmem2.c source file has changed, change the signature and the LIC_FILES_CHKSUM specificaiton. Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* devmem2: import from OE rev d4f0211e2078d5033ae0dee74664de5520d8392dMartin Jansa2011-05-301-0/+22
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>