comparison gsm-fw/cfgmagic/processconf.sh @ 630:4cd1dcc167e4

gsm-fw/cfgmagic: preparations for building flash images (sane vs. Compal)
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 01 Sep 2014 09:28:09 +0000
parents 407c20f90f6a
children 0677a6fbb8b6
comparison
equal deleted inserted replaced
629:e7ba9fcb3637 630:4cd1dcc167e4
18 # some defaults 18 # some defaults
19 FFS_IN_RAM=1 19 FFS_IN_RAM=1
20 RVTMUX_UART_port=IrDA 20 RVTMUX_UART_port=IrDA
21 RVTMUX_UART_baud=115200 21 RVTMUX_UART_baud=115200
22 FLASH_BOOT_VIA_BOOTROM=1 22 FLASH_BOOT_VIA_BOOTROM=1
23 FLASHIMAGE_BASE_ADDR=0x2000
23 24
24 . ./build.conf 25 . ./build.conf
25 26
26 if [ -z "$TARGET" ] 27 if [ -z "$TARGET" ]
27 then 28 then
58 exit 1 59 exit 1
59 fi 60 fi
60 export_to_c RAMFFS_BLKSIZE_LOG2 RAMFFS_NBLOCKS 61 export_to_c RAMFFS_BLKSIZE_LOG2 RAMFFS_NBLOCKS
61 export_to_m4 RAMFFS_BLKSIZE_LOG2 RAMFFS_NBLOCKS 62 export_to_m4 RAMFFS_BLKSIZE_LOG2 RAMFFS_NBLOCKS
62 fi 63 fi
64
65 # Sane vs. Compal target differences for flash boot
66 export_to_c FLASH_BOOT_VIA_BOOTROM
67 export_to_m4 FLASH_BOOT_VIA_BOOTROM FLASHIMAGE_BASE_ADDR
63 68
64 # L1 configuration 69 # L1 configuration
65 if [ "$CONFIG_GSM" = 1 -a "$CONFIG_L1_STANDALONE" = 1 ] 70 if [ "$CONFIG_GSM" = 1 -a "$CONFIG_L1_STANDALONE" = 1 ]
66 then 71 then
67 echo "Error: feature gsm and feature l1stand are mutually exclusive" \ 72 echo "Error: feature gsm and feature l1stand are mutually exclusive" \