Changeset 5b586b9 in mainline
- Timestamp:
- 2019-08-17T12:49:43Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a73a1453
- Parents:
- 98975a8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-28 17:03:11)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/meson.build
r98975a8 r5b586b9 4 4 5 5 if MACHINE == 'gta02' 6 LADDR = 0x300080007 SADDR = 0x300080006 LADDR = '0x30008000' 7 SADDR = '0x30008000' 8 8 POSTBUILD = 'uboot' 9 9 POST_OUTPUT = 'uImage.bin' … … 11 11 12 12 if MACHINE == 'beagleboardxm' or MACHINE == 'beaglebone' 13 LADDR = 0x8000000014 SADDR = 0x8000000013 LADDR = '0x80000000' 14 SADDR = '0x80000000' 15 15 POSTBUILD = 'uboot' 16 16 POST_OUTPUT = 'uImage.bin' … … 18 18 19 19 if MACHINE == 'raspberrypi' 20 LADDR = 0x0000800021 SADDR = 0x0000800020 LADDR = '0x00008000' 21 SADDR = '0x00008000' 22 22 POSTBUILD = 'uboot' 23 23 POST_OUTPUT = 'uImage.bin' -
boot/meson.build
r98975a8 r5b586b9 1 1 subdir('arch' / BARCH) 2 3 if POSTBUILD == 'uimage' 4 boot_image_format = 'binary' 5 endif 2 6 3 7 if BUILD … … 137 141 if boot_image_format == 'binary' 138 142 # Some platforms can't ELF. 139 boot_image = custom_target(boot_image_name ,143 boot_image = custom_target(boot_image_name + '.bin', 140 144 input: boot_elf, 141 output: boot_image_name ,145 output: boot_image_name + '.bin', 142 146 command: [ objcopy, '-O', 'binary', '@INPUT@', '@OUTPUT@' ], 143 147 ) … … 154 158 155 159 if POSTBUILD == 'uboot' 156 # TODO 157 error('unfinished') 160 IMAGE_NAME = 'HelenOS-' + HELENOS_RELEASE 161 162 POST_INPUT = custom_target('uboot-image', 163 output: 'uboot-image.bin', 164 input: boot_image, 165 command: [ 166 mkuimage, 167 '-name', IMAGE_NAME, 168 '-laddr', LADDR, 169 '-saddr', SADDR, 170 '-ostype', UIMAGE_OS, 171 '@INPUT@', 172 '@OUTPUT@', 173 ], 174 ) 158 175 endif 159 176 -
meson.build
r98975a8 r5b586b9 26 26 mkext4 = find_program('tools/mkext4.py') 27 27 mkfat = find_program('tools/mkfat.py') 28 mkuimage = find_program('tools/mkuimage.py') 28 29 cp = find_program('cp') 29 30 … … 157 158 'BARCH', 158 159 'GRUB_ARCH', 160 'UIMAGE_OS', 159 161 ] 160 162
Note:
See TracChangeset
for help on using the changeset viewer.