This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3358: Device tree in RAM inaccessible

Part Number: AM3358


Tool/software: Linux

HI all,

I'm attempting to get a Linux v 4.1.15 build running on an AM3358 board with 1GB RAM. During Kernel boot, the device hangs when it attempts to unpack the device tree in RAM. I traced the source of the corruption to the function `early_paging_init()`. Once this function has returned, I am unable to access the Device Tree from Virtual RAM. The processor hangs, then reboots after ~10 seconds.

The same image runs on my v1.0 board with 512MB RAM, and to my best knowledge, I have updated the RAM settings in u-boot and device trees. u-boot successfully detects 1GiB Ram, and the mtest function returns no errors.

The only known difference between the RAM chips is the Row Address changed from 32 to 64, the rest of the settings remained identical. This change was reflected in the ddr_defs.h file of u-boot.

Has anyone encountered these issues? Or have any recommendations for continuing my investigation?

  • Further information:

    If I force uboot to only recognise 512MB RAM then my kernel boots properly on the 1GB hardware.
  • Hello Phill,

    Can you attach your U-Boot environments and complete kernel boot log when the U-Boot it forced to use 512M on 1G hardware?

    Best regards,
    Kemal
  • Hi Kemal,

    Sorry for the late reply, I had some issues with my build machine.

    This is the log for the hardcoded 512GiB ram

    U-Boot SPL 2015.10 (Mar 07 2018 - 05:59:06)
    MMC: block number 0x100 exceeds max(0x0)
    MMC: block number 0x200 exceeds max(0x0)
    *** Error - No Valid Environment Area found
    *** Warning - bad CRC, using default environment
    
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2015.10 (Mar 07 2018 - 05:59:06 +0000), Build: jenkins-JupiterHub-312
    
           Watchdog enabled
    I2C:   ready
    DRAM:  512 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Net:   Phy 0 not found
    cpsw, usb_ether
    Battery at 4114 mV
    reading boot.bin
    409632 bytes read in 27 ms (14.5 MiB/s)
    Writing to framebuffer 1
    Hit any key to stop autoboot:  0 
    Booting partition 2
    ** File not found JupiterImage.fit **
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    Invalid image? Trying partition 1
    Saving Environment to MMC...
    Writing to MMC(1)... done
    ** File not found JupiterImage.fit **
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    => load mmc 0:1 0x82000000 JupiterImage.fit;bootm 0x82000000
    reading JupiterImage.fit
    87776180 bytes read in 4712 ms (17.8 MiB/s)
    ## Loading kernel from FIT Image at 82000000 ...
       Using 'conf@1' configuration
       Verifying Hash Integrity ... OK
       Trying 'kernel@1' kernel subimage
         Description:  LX Jupiter Kernel
         Created:      2018-03-07   6:24:27 UTC
         Type:         Kernel Image
         Compression:  uncompressed
         Data Start:   0x820000c8
         Data Size:    7168688 Bytes = 6.8 MiB
         Architecture: ARM
         OS:           Linux
         Load Address: 0x80008000
         Entry Point:  0x80008000
         Hash algo:    sha1
         Hash value:   122fa12e179ed314b91bb8d5dafac0467db5ed01
       Verifying Hash Integrity ... sha1+ OK
    ## Loading ramdisk from FIT Image at 82000000 ...
       Using 'conf@1' configuration
       Trying 'ramdisk@1' ramdisk subimage
         Description:  LX Jupiter Ram Disk
         Created:      2018-03-07   6:24:27 UTC
         Type:         RAMDisk Image
         Compression:  gzip compressed
         Data Start:   0x826d6468
         Data Size:    80494688 Bytes = 76.8 MiB
         Architecture: ARM
         OS:           Linux
         Load Address: 0x00000000
         Entry Point:  0x00000000
         Hash algo:    sha1
         Hash value:   cf91a11370a5521b2ac3f4d195e408cd37381629
       Verifying Hash Integrity ... sha1+ OK
    ## Loading fdt from FIT Image at 82000000 ...
       Using 'conf@1' configuration
       Trying 'fdt@1' fdt subimage
         Description:  LX Jupiter DT
         Created:      2018-03-07   6:24:27 UTC
         Type:         Flat Device Tree
         Compression:  uncompressed
         Data Start:   0x8739a5b0
         Data Size:    55533 Bytes = 54.2 KiB
         Architecture: ARM
         Hash algo:    sha1
         Hash value:   ce63632484c7d2247572bc74c49a32d16d728be0
       Verifying Hash Integrity ... sha1+ OK
       Booting using the fdt blob at 0x8739a5b0
       Loading Kernel Image ... OK
       Loading Ramdisk to 9a144000, end 9ee08060 ... OK
       Loading Device Tree to 9a133000, end 9a1438ec ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.15 (jenkins@lx-jenkins-ci-agent-ubuntu-1604) (gcc version 5.4.0 (Buildroot 2016.11.1-8
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM335x Jupiter Hub
    [    0.000000] cma: Reserved 24 MiB at 0x98800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] PERCPU: Embedded 13 pages/cpu @df928000 s21900 r8192 d23156 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129408
    [    0.000000] Kernel command line: console=ttyS0,115200n8 panic=10
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 398844K/522240K available (9197K kernel code, 852K rwdata, 3188K rodata, 676K init, 856K bss, 9)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0c20a08   (12387 kB)
    [    0.000000]       .init : 0xc0c21000 - 0xc0cca000   ( 676 kB)
    [    0.000000]       .data : 0xc0cca000 - 0xc0d9f348   ( 853 kB)
    [    0.000000]        .bss : 0xc0da2000 - 0xc0e7816c   ( 857 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000036] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000047] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000209] Console: colour dummy device 80x30
    [    0.000247] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.088996] pid_max: default: 32768 minimum: 301
    [    0.089106] Security Framework initialized
    [    0.089367] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089382] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090238] Initializing cgroup subsys blkio
    [    0.090266] Initializing cgroup subsys memory
    [    0.090310] Initializing cgroup subsys devices
    [    0.090328] Initializing cgroup subsys freezer
    [    0.090344] Initializing cgroup subsys net_cls
    [    0.090358] Initializing cgroup subsys net_prio
    [    0.090408] CPU: Testing write buffer coherency: ok
    [    0.090469] ftrace: allocating 31363 entries in 92 pages
    [    0.168085] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.168218] Setting up static identity map for 0x80008340 - 0x80008398
    [    0.172292] Brought up 1 CPUs
    [    0.172319] SMP: Total of 1 processors activated (996.14 BogoMIPS).
    [    0.172328] CPU: All CPU(s) started in SVC mode.
    [    0.173065] devtmpfs: initialized
    [    0.188547] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.203434] omap_hwmod: tptc0 using broken dt data from edma
    [    0.203618] omap_hwmod: tptc1 using broken dt data from edma
    [    0.203780] omap_hwmod: tptc2 using broken dt data from edma
    [    0.208914] omap_hwmod: debugss: _wait_target_disable failed
    [    0.264242] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.266422] pinctrl core: initialized pinctrl subsystem
    [    0.268464] NET: Registered protocol family 16
    [    0.271212] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.272614] cpuidle: using governor ladder
    [    0.272639] cpuidle: using governor menu
    [    0.277034] OMAP GPIO hardware version 0.1
    [    0.288902] No ATAGs?
    [    0.290915] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.290937] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.309317] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.312723] vgaarb: loaded
    [    0.313346] SCSI subsystem initialized
    [    0.314028] usbcore: registered new interface driver usbfs
    [    0.314106] usbcore: registered new interface driver hub
    [    0.314172] usbcore: registered new device driver usb
    [    0.314758] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinme
    [    0.314814] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinme
    [    0.314850] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinme
    [    0.314989] pps_core: LinuxPPS API ver. 1 registered
    [    0.314997] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.315027] PTP clock support registered
    [    0.315959] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.316646] Advanced Linux Sound Architecture Driver Initialized.
    [    0.317443] NetLabel: Initializing
    [    0.317456] NetLabel:  domain hash size = 128
    [    0.317462] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.317528] NetLabel:  unlabeled traffic allowed by default
    [    0.317775] Switched to clocksource timer1
    [    0.406828] NET: Registered protocol family 2
    [    0.407640] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.407692] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.407852] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.407940] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.407962] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.408169] NET: Registered protocol family 1
    [    0.408758] RPC: Registered named UNIX socket transport module.
    [    0.408775] RPC: Registered udp transport module.
    [    0.408781] RPC: Registered tcp transport module.
    [    0.408787] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.409125] Compressed data magic: 0x1f 0x8b at 0xc0cc20f4
    [    0.409136] Detected gzip compressed data
    [    0.409144] unpack_to_rootfs 485 (null)
    [    0.409451] unpack_to_rootfs 516 (null)
    [    0.409461] Trying to unpack rootfs image as initramfs...
    [    0.409475] Compressed data magic: 0x1f 0x8b at 0xda144000
    [    0.409482] Detected gzip compressed data
    [    0.409488] unpack_to_rootfs 485 (null)
    [    4.797971] unpack_to_rootfs 516 (null)
    [    4.882143] Freeing initrd memory: 78612K (da144000 - dee09000)
    [    4.884893] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    4.894084] zpool: loaded
    [    4.894110] zbud: loaded
    [    4.894882] VFS: Disk quotas dquot_6.6.0
    [    4.895159] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    4.897481] NFS: Registering the id_resolver key type
    [    4.897562] Key type id_resolver registered
    [    4.897570] Key type id_legacy registered
    [    4.897597] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    4.898243] fuse init (API version 7.23)
    [    4.898880] SGI XFS with ACLs, security attributes, realtime, no debug enabled
    [    4.903807] NET: Registered protocol family 38
    [    4.903949] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [    4.904118] io scheduler noop registered
    [    4.904135] io scheduler deadline registered
    [    4.904188] io scheduler cfq registered (default)
    [    4.906805] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    4.909662] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
    [    4.912992] console [ttyS0] disabled
    [    4.913054] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 155, base_baud = 3000000) is a 8250
    [    5.687515] console [ttyS0] enabled
    [    5.691749] pinctrl-single 44e10800.pinmux: pin 44e10980.0 already requested by 44e09000.serial; cannot claim for 4l
    [    5.703530] pinctrl-single 44e10800.pinmux: pin-96 (48022000.serial) status -22
    [    5.710899] pinctrl-single 44e10800.pinmux: could not request pin 96 (44e10980.0) from group pinmux_uart0_pins  on e
    [    5.723228] omap8250 48022000.serial: Error applying setting, reverse things back
    [    5.731397] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 156, base_baud = 3000000) is a 8250
    [    5.741959] [drm] Initialized drm 1.1.0 20060810
    [    5.746615] tilcdc_drm_init :: entered
    [    5.752203] brd: module loaded
    [    5.755670] bone_capemgr bone_capemgr: Probing...
    [    5.760521] bone_capemgr bone_capemgr: Using base without EEPROM
    [    5.766562] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,0000,000000000000'
    [    5.773849] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=0
    [    5.782237] bone_capemgr bone_capemgr: initialized OK.
    [    5.793165] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
    [    5.800829] usbcore: registered new interface driver pegasus
    [    5.806576] usbcore: registered new interface driver rtl8150
    [    5.812351] usbcore: registered new interface driver r8152
    [    5.817957] usbcore: registered new interface driver asix
    [    5.823429] usbcore: registered new interface driver ax88179_178a
    [    5.831424] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.838116] ehci-pci: EHCI PCI platform driver
    [    5.842658] ehci-platform: EHCI generic platform driver
    [    5.848121] ehci-omap: OMAP-EHCI Host Controller driver
    [    5.853482] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    5.859743] ohci-pci: OHCI PCI platform driver
    [    5.864273] uhci_hcd: USB Universal Host Controller Interface driver
    [    5.870900] usbcore: registered new interface driver usb-storage
    [    5.878660] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    5.887940] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [    5.894168] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [    5.902382] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    5.909237] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.916491] usb usb1: Product: MUSB HDRC host driver
    [    5.921494] usb usb1: Manufacturer: Linux 4.1.15 musb-hcd
    [    5.926916] usb usb1: SerialNumber: musb-hdrc.0.auto
    [    5.932747] hub 1-0:1.0: USB hub found
    [    5.936562] hub 1-0:1.0: 1 port detected
    [    5.950917] mousedev: PS/2 mouse device common for all mice
    [    5.957135] omap_rtc 44e3e000.rtc: already running
    [    5.962557] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    5.970117] i2c /dev entries driver
    [    5.975232] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    5.983311] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    5.991580] /ocp/mmc@48060000: voltage-ranges unspecified
    [    5.997226] omap_hsmmc: probe of 48060000.mmc failed with error -22
    [    6.039541] ledtrig-cpu: registered to indicate activity on CPUs
    [    6.045873] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    6.053693] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    6.064163] hidraw: raw HID events driver (C) Jiri Kosina
    [    6.070902] usbcore: registered new interface driver usbhid
    [    6.076508] usbhid: USB HID core driver
    [    6.080964] ashmem: initialized
    [    6.094313] NET: Registered protocol family 10
    [    6.100356] mip6: Mobile IPv6
    [    6.103364] NET: Registered protocol family 17
    [    6.108060] Key type dns_resolver registered
    [    6.112359] mpls_gso: MPLS GSO support
    [    6.116321] omap_voltage_late_init: Voltage driver support not added
    [    6.123254] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [    6.132062] cpu cpu0: cpu0 clock notifier not ready, retry
    [    6.138086] ThumbEE CPU extension supported.
    [    6.142400] Registering SWP/SWPB emulation handler
    [    6.148542] registered taskstats version 1
    [    6.167715] mmc0: MAN_BKOPS_EN bit is not set
    [    6.176062] Key type encrypted registered
    [    6.182826] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
    [    6.196153] mmc0: new high speed MMC card at address 0001
    [    6.202389] mmcblk0: mmc0:0001 M52516 14.2 GiB 
    [    6.207173] mmcblk0boot0: mmc0:0001 M52516 partition 1 4.00 MiB
    [    6.213529] mmcblk0boot1: mmc0:0001 M52516 partition 2 4.00 MiB
    [    6.221496]  mmcblk0: p1 p2 p3 p4
    [    6.247437] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    6.252904] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [    6.260213] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    6.267147] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
    [    6.273744] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [    6.284394] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [    6.294724] dovmgr_init: OK
    [    6.298005] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:33 UTC (946684833)
    [    6.306692] of_cfs_init
    [    6.309215] of_cfs_init: OK
    [    6.317148] ALSA device list:
    [    6.320252]   No soundcards found.
    [    6.325089] Freeing unused kernel memory: 676K (c0c21000 - c0cca000)
    Starting logging: OK
    Populating /dev using udev: [    6.427226] udevd[109]: starting version 3.2
    [    6.455031] random: udevd urandom read with 13 bits of entropy available
    [    6.497085] udevd[110]: starting eudev-3.2
    [    6.550578] musb-hdrc musb-hdrc.0.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
    done
    Initializing random number generator... done.
    Starting system message bus: Unknown username "pulse" in message bus configuration file
    done
    [    7.496316] EXT4-fs (mmcblk0p4): mounting ext3 file system using the ext4 subsystem
    [    7.636834] EXT4-fs (mmcblk0p4): recovery complete
    [    7.642160] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
    [    7.663482] bone_capemgr bone_capemgr: part_number 'BB-JUPITER-01', version 'N/A'
    [    7.671190] bone_capemgr bone_capemgr: slot #0: override
    [    7.676535] bone_capemgr bone_capemgr: Using override eeprom data at slot 0
    [    7.683590] bone_capemgr bone_capemgr: slot #0: 'Override Board Name,00A0,Override Manuf,BB-JUPITER-01'
    [    7.694565] bone_capemgr bone_capemgr: slot #0: dtbo 'BB-JUPITER-01-00A0.dtbo' loaded; overlay id #0
    [    8.810210] bone_capemgr bone_capemgr: part_number 'BB-CC3100-01', version 'N/A'
    [    8.817681] bone_capemgr bone_capemgr: slot #1: override
    [    8.823169] bone_capemgr bone_capemgr: Using override eeprom data at slot 1
    [    8.830200] bone_capemgr bone_capemgr: slot #1: 'Override Board Name,00A0,Override Manuf,BB-CC3100-01'
    [    8.841406] omap2_mcspi 48030000.spi: Adding new device cc3100 at 0
    [    8.851362] bone_capemgr bone_capemgr: slot #1: dtbo 'BB-CC3100-01-00A0.dtbo' loaded; overlay id #1
    [    8.868874] bone_capemgr bone_capemgr: part_number 'BB-IAQ-01', version 'N/A'
    [    8.876084] bone_capemgr bone_capemgr: slot #2: override
    [    8.881546] bone_capemgr bone_capemgr: Using override eeprom data at slot 2
    [    8.888576] bone_capemgr bone_capemgr: slot #2: 'Override Board Name,00A0,Override Manuf,BB-IAQ-01'
    [    8.901763] bone_capemgr bone_capemgr: slot #2: dtbo 'BB-IAQ-01-00A0.dtbo' loaded; overlay id #2
    [    8.918764] bone_capemgr bone_capemgr: part_number 'BB-BME280-01', version 'N/A'
    [    8.926229] bone_capemgr bone_capemgr: slot #3: override
    [    8.931682] bone_capemgr bone_capemgr: Using override eeprom data at slot 3
    [    8.938713] bone_capemgr bone_capemgr: slot #3: 'Override Board Name,00A0,Override Manuf,BB-BME280-01'
    [    8.949825] bme280-i2c 1-0076: bme280_i2c_probe :: Probing...
    [    8.968185] bme280-i2c 1-0076: bme280_i2c_probe :: Device not found
    [    8.974509] bme280-i2c: probe of 1-0076 failed with error 1
    [    8.980271] bone_capemgr bone_capemgr: slot #3: dtbo 'BB-BME280-01-00A0.dtbo' loaded; overlay id #3
    [    8.995739] bone_capemgr bone_capemgr: part_number 'BB-LIS3DH-01', version 'N/A'
    [    9.003366] bone_capemgr bone_capemgr: slot #4: override
    [    9.008759] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
    [    9.015761] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,BB-LIS3DH-01'
    [    9.037191] bone_capemgr bone_capemgr: slot #4: dtbo 'BB-LIS3DH-01-00A0.dtbo' loaded; overlay id #4
    [    9.052820] bone_capemgr bone_capemgr: part_number 'BB-ISL29018-01', version 'N/A'
    [    9.060618] bone_capemgr bone_capemgr: slot #5: override
    [    9.065963] bone_capemgr bone_capemgr: Using override eeprom data at slot 5
    [    9.073010] bone_capemgr bone_capemgr: slot #5: 'Override Board Name,00A0,Override Manuf,BB-ISL29018-01'
    [    9.084488] isl29018 1-0044: No cache defaults, reading back from HW
    [    9.093061] isl29018 1-0044: regmap initialization failed: -121
    [    9.099199] isl29018: probe of 1-0044 failed with error -121
    [    9.104967] bone_capemgr bone_capemgr: slot #5: dtbo 'BB-ISL29018-01-00A0.dtbo' loaded; overlay id #5
    [    9.120703] bone_capemgr bone_capemgr: part_number 'BB-T67XX-01', version 'N/A'
    [    9.128224] bone_capemgr bone_capemgr: slot #6: override
    [    9.133569] bone_capemgr bone_capemgr: Using override eeprom data at slot 6
    [    9.140620] bone_capemgr bone_capemgr: slot #6: 'Override Board Name,00A0,Override Manuf,BB-T67XX-01'
    [    9.153699] t67xx 0-0015: t67xx_i2c_modbus_read :: Failed to send command 0 (ret = -121)
    [    9.161977] t67xx 0-0015: t67xx_probe :: failed to indentify device: got -1, expected 161
    [    9.170238] t67xx 0-0015: t67xx_probe :: init failed
    [    9.175247] t67xx: probe of 0-0015 failed with error -1
    [    9.180606] bone_capemgr bone_capemgr: slot #6: dtbo 'BB-T67XX-01-00A0.dtbo' loaded; overlay id #6
    [    9.195988] bone_capemgr bone_capemgr: part_number 'BB-EKMC-01', version 'N/A'
    [    9.203441] bone_capemgr bone_capemgr: slot #7: override
    [    9.208831] bone_capemgr bone_capemgr: Using override eeprom data at slot 7
    [    9.215831] bone_capemgr bone_capemgr: slot #7: 'Override Board Name,00A0,Override Manuf,BB-EKMC-01'
    [    9.230722] bone_capemgr bone_capemgr: slot #7: dtbo 'BB-EKMC-01-00A0.dtbo' loaded; overlay id #7
    [    9.247222] bone_capemgr bone_capemgr: part_number 'BB-NTC-01', version 'N/A'
    [    9.254603] bone_capemgr bone_capemgr: slot #8: override
    [    9.259993] bone_capemgr bone_capemgr: Using override eeprom data at slot 8
    [    9.266995] bone_capemgr bone_capemgr: slot #8: 'Override Board Name,00A0,Override Manuf,BB-NTC-01'
    [    9.283344] bone_capemgr bone_capemgr: slot #8: dtbo 'BB-NTC-01-00A0.dtbo' loaded; overlay id #8
    [    9.300407] bone_capemgr bone_capemgr: part_number 'BB-AUDIO-01', version 'N/A'
    [    9.307927] bone_capemgr bone_capemgr: slot #9: override
    [    9.313270] bone_capemgr bone_capemgr: Using override eeprom data at slot 9
    [    9.320314] bone_capemgr bone_capemgr: slot #9: 'Override Board Name,00A0,Override Manuf,BB-AUDIO-01'
    [    9.334043] sph0645lm4h sph0645lm4h: Probing...
    [    9.346653] asoc-simple-card sound: wm8974-hifi <-> 4803c000.mcasp mapping ok
    [    9.354025] Codec is slave...
    [    9.357005] Format is I2S...
    [    9.361266] asoc-simple-card sound: sph0645lm4h-hifi <-> 48038000.mcasp mapping ok
    [    9.473090] bone_capemgr bone_capemgr: slot #9: dtbo 'BB-AUDIO-01-00A0.dtbo' loaded; overlay id #9
    [    9.496500] bone_capemgr bone_capemgr: part_number 'BB-PRU-01', version 'N/A'
    [    9.503873] bone_capemgr bone_capemgr: slot #10: override
    [    9.509354] bone_capemgr bone_capemgr: Using override eeprom data at slot 10
    [    9.516443] bone_capemgr bone_capemgr: slot #10: 'Override Board Name,00A0,Override Manuf,BB-PRU-01'
    [    9.529025] gpio-of-helper ocp:wheel_helper: Allocated GPIO id=0
    [    9.535241] gpio-of-helper ocp:wheel_helper: Allocated GPIO id=1
    [    9.541561] gpio-of-helper ocp:wheel_helper: Allocated GPIO id=2
    [    9.547801] gpio-of-helper ocp:wheel_helper: Allocated GPIO id=3
    [    9.553836] gpio-of-helper ocp:wheel_helper: ready
    [    9.559800] pruss_uio 4a300000.pruss: pins are not configured from the driver
    [    9.585335] bone_capemgr bone_capemgr: slot #10: dtbo 'BB-PRU-01-00A0.dtbo' loaded; overlay id #10
    [    9.605918] bone_capemgr bone_capemgr: part_number 'BB-STC3115-01', version 'N/A'
    [    9.613640] bone_capemgr bone_capemgr: slot #11: override
    [    9.619118] bone_capemgr bone_capemgr: Using override eeprom data at slot 11
    [    9.626205] bone_capemgr bone_capemgr: slot #11: 'Override Board Name,00A0,Override Manuf,BB-STC3115-01'
    [    9.639781] STC3115 :: I2C write 1
    [    9.644862] STC3115 :: I2C read 16 data: 0x42 0xCC 0x47 0xBF 0x68 0x9A 0x77 0xFD 0x2E 0x94 0x4 0x3E 0x3E 0xB 0x11 0 
    [    9.656472] STC3115 :: I2C write 1
    [    9.660208] STC3115 :: I2C read 1 data: 0x14 
    [    9.664841] STC3115 :: I2C write 1
    [    9.668660] STC3115 :: I2C read 2 data: 0x9 0x14 
    [    9.673650] STC3115 :: I2C write 1
    [    9.677392] STC3115 :: I2C read 2 data: 0x38 0x1D 
    [    9.682630] STC3115 :: I2C write 2
    [    9.687896] STC3115 :: I2C write 17
    [    9.691738] STC3115 :: I2C write 2
    [    9.695480] STC3115 :: I2C write 2
    [    9.699282] STC3115 :: I2C write 2
    [    9.703118] STC3115 :: I2C write 3
    [    9.706951] STC3115 :: I2C write 3
    [    9.710746] STC3115 :: I2C write 2
    [    9.714492] STC3115 :: I2C write 2
    [    9.718374] STC3115 :: I2C write 3
    [    9.723472] STC3115 :: I2C write 17
    [    9.727330] stc3115 0-0070: stc3115_probe :: Loaded Driver
    [    9.732992] bone_capemgr bone_capemgr: slot #11: dtbo 'BB-STC3115-01-00A0.dtbo' loaded; overlay id #11

    And uBoot enviroment variables:

    arch=arm
    baudrate=115200
    board=am335x
    board_name=A335BNLT
    board_rev=000C
    boot_primary=1
    bootargs=console=ttyS0,115200n8 panic=10
    bootcmd=if test ${boot_primary} = 1;then echo Booting partition 1;load mmc 1:2 0x82000000 JupiterImage.fit;bootm 0x8200
    0000;echo Invalid image? Trying partition 2;setenv boot_primary 2;saveenv;load mmc 1:3 0x82000000 JupiterImage.fit;boot
    m 0x82000000;else echo Booting partition 2;load mmc 1:3 0x82000000 JupiterImage.fit;bootm 0x82000000;echo Invalid image
    ? Trying partition 1;setenv boot_primary 1;saveenv;load mmc 1:2 0x82000000 JupiterImage.fit;bootm 0x82000000;fi;
    bootcount=1
    bootdelay=1
    check-battery=battery 0x82000000;mw 0x82000004 0xA8C 1; if itest *82000000 < *82000004;then run low-batt-event;setenv b
    ootdelay 5;else setenv img boot.bin;fi;
    cpu=armv7
    eth1addr=98:5d:ad:7b:e5:a3
    ethact=cpsw
    ethaddr=98:5d:ad:7b:e5:a1
    filesize=64020
    img=boot.bin
    low-batt-event=setenv img low_batt.bin;run show-splash; jupiter powerdown 10;
    preboot=if env exists skip_battery;then echo Skipping battery check;setenv img boot.bin;setenv bootdelay 1;else run che
    ck-battery;fi;run show-splash;
    show-splash=if fatload mmc 1:1 0x82000000 ${img};then splash show-img 0x82000000 409632; else splash show-error; fi;
    soc=am33xx
    stderr=serial@44e09000
    stdin=serial@44e09000
    stdout=serial@44e09000
    usbnet_devaddr=98:5d:ad:7b:e5:a3
    vendor=ti
    ver=U-Boot 2015.10 (Mar 07 2018 - 05:59:06 +0000)

    Environment size: 1457/131067 bytes

    and bdinfo:

    arch_number = 0x00000E05
    boot_params = 0x80000100
    DRAM bank = 0x00000000
    -> start = 0x80000000
    -> size = 0x20000000
    eth0name = cpsw
    ethaddr = 98:5d:ad:7b:e5:a1
    eth1name = usb_ether
    eth1addr = 98:5d:ad:7b:e5:a3
    current eth = cpsw
    ip_addr = <NULL>
    baudrate = 115200 bps
    TLB addr = 0x9FFF0000
    relocaddr = 0x9FE32000
    reloc off = 0x1F632000
    irq_sp = 0x9EE09560
    sp start = 0x9EE09550

  • Seems the Jupiter kernel is not able to see the whole system memory. Force it to use 1G memory by appending mem=1G to bootargs in U-Boot.

  • Hi Kemal,

    The 'mem=1G' does not change the boot behaviour. I believe there is an issue with configuring my high page address line in u-boot, so I am investigating there further.

  • Did you  solve the issue - I have similar issues for am335x 512Mib (works) and 1Gib (fails with page faults when trying to load RAM disk) ?