logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.
Issue
0
Hi ,

Just received a full edition.
I booted on the shipped Ubuntu micro-SD card, "free" reports only 1G ram instead of 4G.

Any idea ?
Responses (13)
  • Accepted Answer

    egavinc
    egavinc
    Offline
    Monday, May 04 2015, 04:27 PM - #permalink
    0
    Hi ,

    There is a hook on ISEE uboot that implements i2c eeprom flashing.
    You should keep pressed button several seconds on IGEPv5 board during power-on.
    That flashes default uboot memory configuration into eeprom.

    Probably, moreover, you will need uboot with 4Gb memory configuration.
    So, you should compile 4Gb MEMORY uboot version (#define IGEPv5_MEMORY_4G)
    http://git.isee.biz/?p=pub/scm/u-boot-arm.git;a=blob;f=include/configs/omap5_igep0050.h;h=f1b23d6533c679f411c49e984b640c240cf280d4;hb=refs/heads/u-boot-2014.01.y-omap5

    Best regards,
    Eduard
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, May 10 2015, 05:58 PM - #permalink
    0
    Thanks, but I did all mentioned and still only get 1G ram.
    I have no uEnv.txt.
    What should I do ?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, May 10 2015, 06:09 PM - #permalink
    0
    U-Boot 2014.01-0-omap5 (May 10 2015 - 15:26:02)

    strings u-boot.img | grep IGEP
    Board: IGEPv5
    IGEPv5
    IGEP0050-FULL-NI

    strings u-boot.img | grep mem

    mem=1008M@0x80000000
    mem=2032M@0x80000000 mem=2048M@0x300000000
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 11 2015, 07:09 PM - #permalink
    0
    I noticed that the default kernel isn't compiled with lpae, can it be a problem ?

    My custom u-boot doesn't even see 4G RAM :
    U-Boot 2014.01-0-omap5 (May AP5432 ES2.0)
    Board: IGEPv5
    I2C ready
    DRAM: 1008 MiB
    The reply is currently minimized Show
  • Accepted Answer

    egavinc
    egavinc
    Offline
    Tuesday, May 12 2015, 09:17 AM - #permalink
    0
    Hello,
    After compile the u-boot with #define IGEPv5_MEMORY_4G, is needed restart the igepV5 keep pressed button several seconds on IGEPv5 board during power-on again.
    Have you done this after updating the u-boot?
    In other side, I have attached a link, where you can find the binaries MLO an u-boot.img that I have used for test it.
    https://www.dropbox.com/sh/yld4s9chqb62abi/AADq2hfSkZ5NIo4oFndOLHSMa?dl=0
    Best Regards
    Eduard
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 12 2015, 09:37 AM - #permalink
    0
    Ok thanks, I'll try that.

    Yes, i pressed the button and wait until I saw the reset.

    Is the MLO really needed ? I mean it just load u-boot from a mmc.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 12 2015, 06:36 PM - #permalink
    0
    Tried your u-boot.img, I still only see 1G.

    Do you use some uEnv.txt ?

    Please can you elaborate about what happens when we keep the button pressed ?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 12 2015, 06:55 PM - #permalink
    0
    Okay, seems that the custom MLO was also needed !

    Thanks for the help !
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 30 2016, 05:40 PM - #permalink
    0
    I compiled a mainline 4.7, unfortunately, the RAM was back at 1G.
    I redid the procedure, but this time I only get 2G.
    Any idea what happened here ?
    Do I have to tweak the .dts ?
    The reply is currently minimized Show
  • Accepted Answer

    egavinc
    egavinc
    Offline
    Wednesday, August 24 2016, 11:54 AM - #permalink
    0
    Hello,
    In order to reproduce the issue. Can you send me the DTS file and defconfig file that are you using?
    What is the compiler and version that are you using?
    Best Regards
    Eduard Gavin
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 25 2016, 07:08 PM - #permalink
    1
    I tried again with a mainstream vanilla 4.7.2, still 2G RAM.
    I use omap2plus_defconfig and the omap5-igep0050.dts without any modification.
    And gcc version 5.4.0 on Slackware ARM -current which is now armhf (had the same behavior with the 14.2 soft float version).
    I use the same u-boot that previously enabled 4G RAM.

    --EDIT: attachments don't work, anyway files are in the 4.7.2 kernel.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, September 05 2016, 08:15 AM - #permalink
    0
    I have the same problem with the 4.8.0-rc5 kernel.
    Any help is welcome.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, September 10 2016, 07:52 PM - #permalink
    0
    Ok, so it was a kernel config problem.
    Thanks to Tony Lindgren, I was able to get back 4G RAM.

    What I did :
    -Grab the 4.7.3 mainline kernel

    -Patch the config, of course that can be done manually, but it's a pain. Here's the patch :
    --- arch/arm/configs/omap2plus_defconfig
    +++ arch/arm/configs/omap2plus_defconfig
    @@ -1,3 +1,4 @@
    +# CONFIG_LOCALVERSION_AUTO is not set
     CONFIG_KERNEL_LZMA=y
     CONFIG_SYSVIPC=y
     CONFIG_POSIX_MQUEUE=y
    @@ -36,23 +37,23 @@
     CONFIG_MODULE_SRCVERSION_ALL=y
     # CONFIG_BLK_DEV_BSG is not set
     CONFIG_PARTITION_ADVANCED=y
    -CONFIG_ARCH_MULTI_V6=y
    -CONFIG_POWER_AVS_OMAP=y
    -CONFIG_POWER_AVS_OMAP_CLASS3=y
     CONFIG_OMAP_RESET_CLOCKS=y
     CONFIG_OMAP_MUX_DEBUG=y
    -CONFIG_ARCH_OMAP2=y
    -CONFIG_ARCH_OMAP3=y
    -CONFIG_ARCH_OMAP4=y
     CONFIG_SOC_OMAP5=y
    -CONFIG_SOC_AM33XX=y
    -CONFIG_SOC_AM43XX=y
    -CONFIG_SOC_DRA7XX=y
    +CONFIG_SOC_HAS_OMAP2_SDRC=y
    +CONFIG_ARM_LPAE=y
     CONFIG_ARM_THUMBEE=y
    -CONFIG_ARM_ERRATA_411920=y
     CONFIG_ARM_ERRATA_430973=y
    +CONFIG_PL310_ERRATA_588369=y
    +CONFIG_PL310_ERRATA_727915=y
    +CONFIG_ARM_ERRATA_430973=y
    +CONFIG_ARM_ERRATA_720789=y
    +CONFIG_ARM_ERRATA_754322=y
    +CONFIG_ARM_ERRATA_775420=y
     CONFIG_SMP=y
     CONFIG_NR_CPUS=2
    +# CONFIG_HIGHPTE is not set
    +CONFIG_TRANSPARENT_HUGEPAGE=y
     CONFIG_CMA=y
     CONFIG_SECCOMP=y
     CONFIG_ZBOOT_ROM_TEXT=0x0
    @@ -116,7 +117,6 @@
     CONFIG_DEVTMPFS_MOUNT=y
     CONFIG_DMA_CMA=y
     CONFIG_OMAP_OCP2SCP=y
    -CONFIG_CONNECTOR=m
     CONFIG_MTD=y
     CONFIG_MTD_CMDLINE_PARTS=y
     CONFIG_MTD_BLOCK=y
    @@ -132,7 +132,6 @@
     CONFIG_MTD_NAND_OMAP_BCH=y
     CONFIG_MTD_ONENAND=y
     CONFIG_MTD_ONENAND_VERIFY_WRITE=y
    -CONFIG_MTD_ONENAND_OMAP2=y
     CONFIG_MTD_SPI_NOR=m
     CONFIG_MTD_UBI=y
     CONFIG_BLK_DEV_LOOP=y
    @@ -147,6 +146,30 @@
     CONFIG_SCSI_SCAN_ASYNC=y
     CONFIG_ATA=y
     CONFIG_SATA_AHCI_PLATFORM=y
    +CONFIG_MD=y
    +CONFIG_MD_LINEAR=m
    +CONFIG_MD_RAID0=m
    +CONFIG_MD_MULTIPATH=m
    +CONFIG_MD_FAULTY=m
    +CONFIG_BCACHE=m
    +CONFIG_BLK_DEV_DM=m
    +CONFIG_DM_CRYPT=m
    +CONFIG_DM_SNAPSHOT=m
    +CONFIG_DM_THIN_PROVISIONING=m
    +CONFIG_DM_CACHE=m
    +CONFIG_DM_ERA=m
    +CONFIG_DM_MIRROR=m
    +CONFIG_DM_LOG_USERSPACE=m
    +CONFIG_DM_RAID=m
    +CONFIG_DM_ZERO=m
    +CONFIG_DM_MULTIPATH=m
    +CONFIG_DM_MULTIPATH_QL=m
    +CONFIG_DM_MULTIPATH_ST=m
    +CONFIG_DM_DELAY=m
    +CONFIG_DM_FLAKEY=m
    +CONFIG_DM_VERITY=m
    +CONFIG_DM_SWITCH=m
    +CONFIG_DM_LOG_WRITES=m
     CONFIG_NETDEVICES=y
     # CONFIG_NET_VENDOR_ARC is not set
     # CONFIG_NET_CADENCE is not set
    @@ -167,7 +190,6 @@
     CONFIG_SMC91X=y
     CONFIG_SMSC911X=y
     # CONFIG_NET_VENDOR_STMICRO is not set
    -CONFIG_TI_DAVINCI_EMAC=y
     CONFIG_TI_CPSW=y
     CONFIG_TI_CPTS=y
     # CONFIG_NET_VENDOR_VIA is not set
    @@ -230,8 +252,6 @@
     CONFIG_SPI_OMAP24XX=y
     CONFIG_SPI_TI_QSPI=m
     CONFIG_HSI=m
    -CONFIG_OMAP_SSI=m
    -CONFIG_SSI_PROTOCOL=m
     CONFIG_PINCTRL_SINGLE=y
     CONFIG_DEBUG_GPIO=y
     CONFIG_GPIO_SYSFS=y
    @@ -248,6 +268,7 @@
     CONFIG_CHARGER_BQ24190=m
     CONFIG_CHARGER_BQ24735=m
     CONFIG_POWER_RESET=y
    +CONFIG_POWER_SUPPLY=y
     CONFIG_POWER_AVS=y
     CONFIG_HWMON=m
     CONFIG_SENSORS_GPIO_FAN=m
    @@ -259,9 +280,7 @@
     CONFIG_CPU_THERMAL=y
     CONFIG_TI_SOC_THERMAL=m
     CONFIG_TI_THERMAL=y
    -CONFIG_OMAP4_THERMAL=y
     CONFIG_OMAP5_THERMAL=y
    -CONFIG_DRA752_THERMAL=y
     CONFIG_WATCHDOG=y
     CONFIG_OMAP_WATCHDOG=m
     CONFIG_TWL4030_WATCHDOG=m
    @@ -270,6 +289,8 @@
     CONFIG_MFD_TPS65217=y
     CONFIG_MFD_TPS65218=y
     CONFIG_MFD_TPS65910=y
    +CONFIG_TWL4030_CORE=y
    +CONFIG_TWL4030_POWER=y
     CONFIG_TWL6040_CORE=y
     CONFIG_REGULATOR_LP872X=y
     CONFIG_REGULATOR_PALMAS=y
    @@ -289,9 +310,7 @@
     CONFIG_VIDEO_V4L2_SUBDEV_API=y
     CONFIG_LIRC=m
     CONFIG_RC_DEVICES=y
    -CONFIG_IR_RX51=m
     CONFIG_V4L_PLATFORM_DRIVERS=y
    -CONFIG_VIDEO_OMAP3=m
     # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
     CONFIG_VIDEO_TVP5150=m
     CONFIG_FB=y
    @@ -336,11 +355,11 @@
     CONFIG_SND_USB_AUDIO=m
     CONFIG_SND_SOC=m
     CONFIG_SND_EDMA_SOC=m
    -CONFIG_SND_AM33XX_SOC_EVM=m
    +CONFIG_SND_DAVINCI_SOC_MCASP=m
     CONFIG_SND_OMAP_SOC=m
     CONFIG_SND_OMAP_SOC_OMAP_TWL4030=m
     CONFIG_SND_OMAP_SOC_OMAP_ABE_TWL6040=m
    -CONFIG_SND_OMAP_SOC_OMAP3_PANDORA=m
    +CONFIG_SND_SOC_TLV320AIC3X=m
     CONFIG_SND_SIMPLE_CARD=m
     CONFIG_HID_GENERIC=m
     CONFIG_USB_HIDDEV=y
    @@ -411,7 +430,6 @@
     CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
     CONFIG_RTC_CLASS=y
     CONFIG_RTC_DRV_DS1307=m
    -CONFIG_RTC_DRV_TWL92330=y
     CONFIG_RTC_DRV_TWL4030=m
     CONFIG_RTC_DRV_PALMAS=m
     CONFIG_RTC_DRV_OMAP=m
    @@ -454,6 +472,10 @@
     CONFIG_JFFS2_RUBIN=y
     CONFIG_UBIFS_FS=y
     CONFIG_CRAMFS=y
    +CONFIG_PSTORE=y
    +CONFIG_PSTORE_CONSOLE=y
    +CONFIG_PSTORE_FTRACE=y
    +CONFIG_PSTORE_RAM=y
     CONFIG_NFS_FS=y
     CONFIG_NFS_V3_ACL=y
     CONFIG_NFS_V4=y
    @@ -469,6 +491,8 @@
     CONFIG_TIMER_STATS=y
     CONFIG_PROVE_LOCKING=y
     # CONFIG_DEBUG_BUGVERBOSE is not set
    +CONFIG_FUNCTION_TRACER=y
    +CONFIG_FUNCTION_PROFILER=y
     CONFIG_SECURITY=y
     CONFIG_CRYPTO_MICHAEL_MIC=y
     CONFIG_CRC_CCITT=y
    


    -make omap2plus_defconfig

    -Compile and install the new kernel + dtb . You can safely ignore the warning "override: reassigning to symbol ARM_ERRATA_430973".

    -Add these parameters to the uEnv.txt :
    mem=2032M@0x80000000
    mem=2048M@0x300000000
    


    -Reboot et voilĂ  !

    For the sake of completeness, switching from 3.8.x to recent kernel implies major changes to uEnv.txt.
    Here's a sample uEnv.txt with the new parameters. This one is tweaked for mSATA boot (sdaX) into Slackware (ro flag), so edit it according to your needs :
    loadaddr=80c00000
    fdtaddr=80a00000
    fdt_high=8c000000
    rdaddr=81400000
    console=ttyO2,115200n8
    fdtfile=omap5-igep0050.dtb
    bootpart=0:2
    bootdir=/boot
    bootfile=zImage
    usbtty=cdc_acm
    vram=16M
    mem=2032M@0x80000000
    mem=2048M@0x300000000
    root=/dev/sda2 ro
    mmcroot=/dev/sda2 ro
    setenv bootdev "sata init; sata dev 0; ext2load sata 0"
    
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat