Changeset 696ee75 in umon


Ignore:
Timestamp:
Jun 20, 2016, 12:36:21 PM (3 years ago)
Author:
Ben Gras <beng@…>
Branches:
master
Children:
6e6815e
Parents:
ecb72ce
git-author:
Ben Gras <beng@…> (06/20/16 12:36:21)
git-committer:
Ben Gras <beng@…> (06/20/16 15:44:57)
Message:

FAT fs changes: FAT code and larger ROM size

. add fatfs umon cli to it. unmodified from the umon 1.19

distribution, apache-licensed.

. also add dosfs from the umon 1.19 distribution, which is

similarly liberally licensed.

. increase available 'ROM' size to 128kB minus

1kB secure + 18kB reserved (numbers from uboot wiki).

. no unaligned access - needed to access fields in

on-disk structs without gcc generating unaligned
access instructions (causes data abort exceptions)

. turn on shellvars for BBB as they are needed to

connect FATFS to the SD i/o functions

Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • ports/beagleboneblack/Makefile

    recb72ce r696ee75  
    4040LIBABIDIR       = -L $(ABIDIR)
    4141COMMON_AFLAGS   = -c -D PLATFORM_$(PLATFORM)=1 -D ASSEMBLY_ONLY
    42 CUSTOM_CFLAGS   = -mcpu=cortex-a8 -O2 -isystem $(ABIDIR)/include -Wno-char-subscripts
     42CUSTOM_CFLAGS   = -mcpu=cortex-a8 -O2 -isystem $(ABIDIR)/include -Wno-char-subscripts -mno-unaligned-access
    4343
    4444
     
    4949#
    5050BOOTROMBASE=0x402F0400
    51 BOOTROMLEN=0x010000
     51BOOTROMLEN=0x01b000
    5252BOOTRAMBASE=0x80000000
    5353BOOTRAMLEN=0x010000
     
    7676                          start.c struct.c symtbl.c syslog.c tcpstuff.c tfs.c tfsapi.c \
    7777                          tfsclean1.c tfscli.c tfsloader.c tfslog.c tftp.c timestuff.c \
    78                           tsi.c xmodem.c
     78                          tsi.c xmodem.c dosfs.c fatfs.c
    7979CPUCSRC         = except_arm.c misc_arm.c strace_arm.c
    8080IODEVSRC        = uart16550.c
  • ports/beagleboneblack/config.h

    recb72ce r696ee75  
    177177#define INCLUDE_BBC             0
    178178#define INCLUDE_STOREMAC        0
    179 #define INCLUDE_SHELLVARS       0
     179#define INCLUDE_SHELLVARS       1
    180180#define INCLUDE_MALLOC          0
    181181#define INCLUDE_PORTCMD         0
     
    192192#define INCLUDE_DNS             0
    193193#define INCLUDE_BLINKLED        1
     194#define INCLUDE_FATFS           1
    194195#define TARGET_BLINKLED         target_blinkled
    195196
Note: See TracChangeset for help on using the changeset viewer.