Changeset 40597


Ignore:
Timestamp:
2014-04-29T23:02:05+02:00 (4 years ago)
Author:
hauke
Message:

at91: AT91SAM9G20-EK fixes

From 272f548fe8d0b811e0589e535f650f0507f6bccd Mon Sep 17 00:00:00 2001
From: Owen Kirby <osk@…>
Date: Fri, 11 Apr 2014 17:59:55 -0700
Subject: [PATCH 2/3] [at91] AT91SAM9G20-EK fixes.

While testing the 3.10 kernel update, I found that the out-of-the-box device tree for the
the AT91SAM9G20EK uses a UBIFS rootfs and stores the DTB separately from the zImage.

Signed-off-by: Owen Kirby <osk@…>

Location:
trunk/target/linux/at91
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/at91/config-default

    r40596 r40597  
    5959CONFIG_CRC16=y 
    6060CONFIG_CRYPTO_CRC32C=y 
     61CONFIG_CRYPTO_DEFLATE=y 
    6162CONFIG_CRYPTO_HASH=y 
    6263CONFIG_CRYPTO_HASH2=y 
     64CONFIG_CRYPTO_LZO=y 
    6365CONFIG_DEBUG_BUGVERBOSE=y 
    6466CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" 
     
    136138CONFIG_KTIME_SCALAR=y 
    137139CONFIG_LEDS_TRIGGER_HEARTBEAT=y 
     140CONFIG_LZO_COMPRESS=y 
     141CONFIG_LZO_DECOMPRESS=y 
    138142CONFIG_M25PXX_PREFER_SMALL_SECTOR_ERASE=y 
    139143CONFIG_M25PXX_USE_FAST_READ=y 
     
    157161CONFIG_MTD_PHYSMAP_OF=y 
    158162# CONFIG_MTD_SM_COMMON is not set 
     163CONFIG_MTD_UBI=y 
     164CONFIG_MTD_UBI_BEB_LIMIT=20 
     165# CONFIG_MTD_UBI_FASTMAP is not set 
     166# CONFIG_MTD_UBI_GLUEBI is not set 
     167CONFIG_MTD_UBI_WL_THRESHOLD=4096 
    159168CONFIG_MULTI_IRQ_HANDLER=y 
    160169CONFIG_NEED_DMA_MAP_STATE=y 
     
    219228CONFIG_SYS_SUPPORTS_APM_EMULATION=y 
    220229CONFIG_TICK_CPU_ACCOUNTING=y 
     230CONFIG_UBIFS_FS=y 
     231CONFIG_UBIFS_FS_ADVANCED_COMPR=y 
     232CONFIG_UBIFS_FS_LZO=y 
     233# CONFIG_UBIFS_FS_XZ is not set 
     234CONFIG_UBIFS_FS_ZLIB=y 
    221235CONFIG_UID16=y 
    222236CONFIG_UIDGID_CONVERTED=y 
  • trunk/target/linux/at91/image/Makefile

    r36452 r40597  
    77include $(TOPDIR)/rules.mk 
    88include $(INCLUDE_DIR)/image.mk 
     9 
     10UBIFS_OPTS = -F -m 2048 -e 126KiB -c 2048 -U 
     11UBI_OPTS = -m 2048 -p 128KiB -s 512 
    912 
    1013define Build/Clean 
     
    2932endef 
    3033 
     34define MkOftree 
     35        cp -u $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage 
     36        cp $(LINUX_DIR)/arch/arm/boot/dts/$(2).dtb $(BIN_DIR)/$(IMG_PREFIX)-$(1)-oftree.dtb 
     37endef 
     38 
    3139# Atmel 
    3240Image/Build/Kernel/AT91SAM9263EK=$(call MkuImageDtb,9263ek,at91sam9263ek) 
    3341Image/Build/Kernel/AT91SAM9G15EK=$(call MkuImageDtb,9g15ek,at91sam9g15ek) 
    34 Image/Build/Kernel/AT91SAM9G20EK=$(call MkuImageDtb,9g20ek,at91sam9g20ek) 
    35 Image/Build/Kernel/AT91SAM9G20EK-2MMC=$(call MkuImageDtb,9g20ek_2mmc,at91sam9g20ek_2mmc) 
     42Image/Build/Kernel/AT91SAM9G20EK=$(call MkOftree,9g20ek,at91sam9g20ek) 
     43Image/Build/Kernel/AT91SAM9G20EK-2MMC=$(call MkOftree,9g20ek_2mmc,at91sam9g20ek_2mmc) 
    3644Image/Build/Kernel/AT91SAM9G25EK=$(call MkuImageDtb,9g25ek,at91sam9g25ek) 
    3745Image/Build/Kernel/AT91SAM9G35EK=$(call MkuImageDtb,9g35ek,at91sam9g35ek) 
Note: See TracChangeset for help on using the changeset viewer.