Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odroidm1 v2017.09 - hardkernel travis build #75

Open
wants to merge 42 commits into
base: odroidm1-v2017.09
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
dc63241
ODROID-COMMON: fix to use local toolchains to build U-boot
tobetter Jun 8, 2021
430b1e3
ODROID-COMMON: mtd: spi-nor-ids: Add Macronix mx25u12832f ID
tobetter Jun 2, 2021
86031e3
ODROID-COMMON: Revert "cmd: source: update terminal value"
tobetter Jun 10, 2021
031bc40
ODROID-COMMON: cmd: fix to support 'ini' command
tobetter Jun 17, 2021
85a7789
ODROID-COMMON: add new git submodule to download 'rkbin/*'
tobetter Jun 8, 2021
6c8796f
ODROID-COMMON: cmd: Add 'bcb' command to read/modify/write BCB fields
May 23, 2019
851d03c
ODROID-COMMON: cmd: bcb: Fix duplicated handling in two case-branches
erosca Jul 19, 2019
8bc4a7b
ODROID-COMMON: cmd: bcb: Use strcmp() instead of strncmp() for string…
erosca Jul 19, 2019
1bac869
ODROID-COMMON: cmd: bcb: Apply non-functional refinements
erosca Jul 19, 2019
dde526c
ODROID-COMMON: add setbootdev command.
xiane Jul 19, 2021
eec8e78
ODROID-COMMON: renamed and replaced android_bootloader msg stuffs.
xiane Jul 20, 2021
fb6409d
ODROID-COMMON: include: android_bootloader_message.h: Minimize the di…
May 23, 2019
fde5a2b
ODROID-COMMON: Changed the dtb load method.
xiane Oct 15, 2021
e88f29a
ODROID-COMMON: cmd/bmp: fix in the function 'gunzip_bmp'
tobetter Nov 25, 2021
d444cff
ODROID-COMMON: distro_bootcmd: Removed bootable args.
xiane Oct 29, 2021
acd93cf
ODROID-COMMON: drivers/mmc: Add support eMMC H/W reset
ckkim Aug 31, 2021
6bc3b9d
ODROID-COMMON: arch/arm: fix to add missing header
tobetter Oct 14, 2021
356906e
ODROID-M1: add new board Hardkernel ODROID-M1 based on RK3568
tobetter Jun 1, 2021
518bbfe
ODROID-M1: add to load default splash image
tobetter Nov 26, 2021
f9ec44d
ODROID-COMMON: Revert "rockchip: board: implement board_fdt_chosen_bo…
JosephChen2017 Sep 8, 2021
37ebf59
ODROID-M1: fix incorrect SPI flash access
tobetter Dec 13, 2021
68e0027
ODROID-M1: improve loading splash image
tobetter Dec 14, 2021
ca5c344
ODROID-COMMON: Revert "driver: core: reject all mmc device from kernel"
tobetter Dec 30, 2021
4880a4b
ODROID-COMMON: Revert "board_r: skip mmc init when CONFIG_USING_KERNE…
tobetter Dec 30, 2021
67023fa
ODROID-M1: remove to use vendor partition feature from Rockchip
tobetter Dec 23, 2021
361a4cf
ODROID-M1: add not to apply display fixup
tobetter Jan 27, 2022
2781478
ODROID-M1: add to read 'ODROIDBIOS.BIN' when booted from SD Card
tobetter Feb 9, 2022
f158e43
ODROID-M1: reorder boot devices (eMMC -> SD -> SPI)
tobetter Mar 3, 2022
7ee2a5e
ODROID-M1: add to initiate SPI flash memory on booting
tobetter Mar 3, 2022
34751fb
ODROID-M1: add to load boot splash image from MMC
tobetter Mar 4, 2022
88b784f
ODROID-M1: fix add 'variant' env variable as 'm1'
tobetter Apr 13, 2022
09ffccc
ODROID-M1: Revert "gpt: return 1 directly when test the mbr sector"
tobetter Apr 20, 2022
0fd92ea
ODROID-M1: load environment from SPI flash at very early
tobetter Apr 22, 2022
5dcb2af
ODROID-M1: load 'panel' environment value for DSI display
tobetter Apr 19, 2022
207f688
ODROID-M1: add DSI lcd panel for 'ODROID-Vu8M'
tobetter Apr 22, 2022
d9b7946
ODROID-M1: Change configs for display subsystem
tobetter Apr 22, 2022
0677e14
ODROID-M1: disk/efi: suppress GPT error if disk is not EFI partition
tobetter Apr 8, 2022
7ff3b52
squash! ODROID-COMMON: add new git submodule to download 'rkbin/*'
tobetter May 28, 2022
f383d2d
add odroid_rk3568 travis build
mcarbonneaux Jun 13, 2022
df28b19
fix build script
mcarbonneaux Jun 13, 2022
3176e1d
Update .travis.yml
mcarbonneaux Jun 13, 2022
331ef1d
Update .travis.yml
mcarbonneaux Jun 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ODROID-COMMON: cmd/bmp: fix in the function 'gunzip_bmp'
This patch is to resolve two issues:

1) Compile error
	cmd/bmp.c: In function ‘gunzip_bmp’:
	cmd/bmp.c:61:31: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
	  bmp = (struct bmp_image *)((((unsigned int)dst + 1) & ~3) + 2);
				       ^
	cmd/bmp.c:61:8: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
	  bmp = (struct bmp_image *)((((unsigned int)dst + 1) & ~3) + 2);
		^

2) Return lenght of decompressed buffer to given arguemnt 'lenp' when
   decompression is success.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I485ab72186f7130997fb6d0793c3b805efaa8b17
tobetter committed Dec 11, 2021
commit e88f29a498d4bd80e55c7713d22ec0e3550502bc
3 changes: 2 additions & 1 deletion cmd/bmp.c
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
bmp = dst;

/* align to 32-bit-aligned-address + 2 */
bmp = (struct bmp_image *)((((unsigned int)dst + 1) & ~3) + 2);
bmp = (struct bmp_image *)((((unsigned long)dst + 1) & ~3) + 2);

if (gunzip(bmp, CONFIG_SYS_VIDEO_LOGO_MAX_SIZE, map_sysmem(addr, 0),
&len) != 0) {
@@ -81,6 +81,7 @@ struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
debug("Gzipped BMP image detected!\n");

*alloc_addr = dst;
*lenp = len;
return bmp;
}
#else