Guest User

Untitled

a guest
Jan 17th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.30 KB | None | 0 0
  1. Hi,
  2.  
  3. I've tried a few options and I still can't get it to work.
  4.  
  5. U-boot, denx master with the kloadaddr patch:
  6.  
  7. [koen@Angstrom-F16-vm-rpm u-boot-denx]$ git log --oneline -10
  8. f260a85 am335x-evm config: avoid moving uImage in memory during boot
  9. c7c6322 Prepare v2012.10-rc3
  10. dec9668 arm: armv7: omap3: Fix restore sequence in lowlevel_init
  11. 8cc64ba yaffs2: Fix GCC 4.6 compile warnings
  12. d1efb64 disk: part_dos: don't claim whole-disk FAT filesystems
  13. bd1a7e3 FAT: check for partition 0 not 1 for whole-disk fs
  14. 03eecab arm: rmobile: bugfix: wrong register saving in lowlevel_init
  15. 8a10180 ide: Correct IDE_BUS(dev) macro
  16. 633efe9 GPIO: pca953x: fix error reporting
  17. d75bc03 GPIO: pca953x: fix spelling in help
  18.  
  19. U-Boot SPL 2012.10-rc3-00001-gf260a85 (Oct 12 2012 - 21:44:47)
  20. OMAP SD/MMC: 0
  21. reading u-boot.img
  22. reading u-boot.img
  23.  
  24.  
  25. U-Boot 2012.10-rc3-00001-gf260a85 (Oct 12 2012 - 21:44:47)
  26.  
  27. I2C: ready
  28. DRAM: 256 MiB
  29. WARNING: Caches not enabled
  30. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
  31. Using default environment
  32.  
  33. Net: cpsw
  34. Hit any key to stop autoboot: 0
  35. SD/MMC found on device 0
  36. reading uEnv.txt
  37.  
  38. 226 bytes read
  39. Loaded environment from uEnv.txt
  40. Importing environment from mmc ...
  41. Running uenvcmd ...
  42. Loading file "/boot/uImage" from mmc device 0:2
  43. 3862384 bytes read
  44. Loading file "/boot/am335x-bone.dtb" from mmc device 0:2
  45. 6875 bytes read
  46. ## Booting kernel from Legacy Image at 80007fc0 ...
  47. Image Name: Linux-3.6.0
  48. Image Type: ARM Linux Kernel Image (uncompressed)
  49. Data Size: 3862320 Bytes = 3.7 MiB
  50. Load Address: 80008000
  51. Entry Point: 80008000
  52. Verifying Checksum ... OK
  53. ## Flattened Device Tree blob at 80f80000
  54. Booting using the fdt blob at 0x80f80000
  55. XIP Kernel Image ... OK
  56. OK
  57. Loading Device Tree to 8fe65000, end 8fe69ada ... OK
  58.  
  59. uEnv.txt:
  60.  
  61. root@bone-mainline:~# cat /media/card/uEnv.txt
  62. devtree=/boot/am335x-bone.dtb
  63. dtboot=run mmcargs; ext2load mmc ${mmcdev}:2 ${kloadaddr} ${bootfile} ; ext2load mmc ${mmcdev}:2 ${fdtaddr} ${devtree} ; bootm ${kloadaddr} - ${fdtaddr}
  64. uenvcmd=run dtboot
  65. optargs=consoleblank=0
  66.  
  67.  
  68. Kernel, matts edma branch, no changes:
  69.  
  70. [koen@Angstrom-F16-vm-rpm kernel]$ git log --oneline -5
  71. 8cbf874 ARM: configs: working am335x edma dmaengine defconfig
  72. e8d7b8b ARM: dts: add BeagleBone Adafruit 1.8 LCD support
  73. 8484c7e ARM: dts: add AM33XX SPI support
  74. 3c9440f spi: omap2-mcspi: add generic DMA request support to the DT binding
  75. 3bb67d1 spi: omap2-mcspi: convert to dma_request_slave_channel_compat()
  76.  
  77. 'make omap2plus_defconfig':
  78.  
  79. Starting kernel ...
  80.  
  81. [ 0.000000] Booting Linux on physical CPU 0
  82. [ 0.000000] Linux version 3.6.0 (koen@Angstrom-F16-vm-rpm) (gcc version 4.5.4 20120305 (prerelease) (GCC) ) #200 SMP Sat Oct 13 11:27:38 CEST 2012
  83. [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
  84. [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  85. [ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
  86. [ 0.000000] Memory policy: ECC disabled, Data cache writeback
  87. [ 0.000000] AM335X ES1.0 (neon )
  88. [ 0.000000] PERCPU: Embedded 9 pages/cpu @c0f05000 s12928 r8192 d15744 u36864
  89. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768
  90. [ 0.000000] Kernel command line: console=ttyO0,115200n8 consoleblank=0 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
  91. [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
  92. [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  93. [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  94. [ 0.000000] Memory: 255MB = 255MB total
  95. [ 0.000000] Memory: 245480k/245480k available, 16664k reserved, 0K highmem
  96. [ 0.000000] Virtual kernel memory layout:
  97. [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
  98. [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
  99. [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
  100. [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
  101. [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
  102. [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
  103. [ 0.000000] .text : 0xc0008000 - 0xc06c0ffc (6884 kB)
  104. [ 0.000000] .init : 0xc06c1000 - 0xc0712280 ( 325 kB)
  105. [ 0.000000] .data : 0xc0714000 - 0xc07a0440 ( 562 kB)
  106. [ 0.000000] .bss : 0xc07a0464 - 0xc0cfc3ec (5488 kB)
  107. [ 0.000000] Hierarchical RCU implementation.
  108. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
  109. [ 0.000000] NR_IRQS:16 nr_irqs:16 16
  110. [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
  111. [ 0.000000] Total of 128 interrupts on 1 active controller
  112. [ 0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
  113. [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
  114. [ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
  115. [ 0.000000] Console: colour dummy device 80x30
  116. [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
  117. [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
  118. [ 0.000000] ... MAX_LOCK_DEPTH: 48
  119. [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
  120. [ 0.000000] ... CLASSHASH_SIZE: 4096
  121. [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384
  122. [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768
  123. [ 0.000000] ... CHAINHASH_SIZE: 16384
  124. [ 0.000000] memory used by lock dependency info: 3695 kB
  125. [ 0.000000] per task-struct memory footprint: 1152 bytes
  126. [ 0.001097] Calibrating delay loop... 364.48 BogoMIPS (lpj=1425408)
  127. [ 0.107579] pid_max: default: 32768 minimum: 301
  128. [ 0.108233] Security Framework initialized
  129. [ 0.108433] Mount-cache hash table entries: 512
  130. [ 0.120356] CPU: Testing write buffer coherency: ok
  131. [ 0.121412] CPU0: thread -1, cpu 0, socket -1, mpidr 0
  132. [ 0.121506] Setting up static identity map for 0x804d7048 - 0x804d70b8
  133. [ 0.124684] Brought up 1 CPUs
  134. [ 0.124717] SMP: Total of 1 processors activated (364.48 BogoMIPS).
  135. [ 0.128405] devtmpfs: initialized
  136. [ 0.150575] pinctrl core: initialized pinctrl subsystem
  137. [ 0.158019] regulator-dummy: no parameters
  138. [ 0.160449] NET: Registered protocol family 16
  139. [ 0.161367] DMA: preallocated 256 KiB pool for atomic coherent allocations
  140. [ 0.186898] platform 49000000.edma: alias fck already exists
  141. [ 0.186945] platform 49000000.edma: alias fck already exists
  142. [ 0.186974] platform 49000000.edma: alias fck already exists
  143. [ 0.192936] OMAP GPIO hardware version 0.1
  144. [ 0.210951] No ATAGs?
  145. [ 0.210978] hw-breakpoint: debug architecture 0x4 unsupported.
  146. [ 0.213010] edma: probe of 49000000.edma failed with error -16
  147. [ 0.302832] bio: create slab <bio-0> at 0
  148. [ 0.308064] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot
  149. [ 0.308135] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5
  150. [ 0.413963] omap-dma-engine omap-dma-engine: OMAP DMA engine driver
  151. [ 0.423503] SCSI subsystem initialized
  152. [ 0.426483] usbcore: registered new interface driver usbfs
  153. [ 0.427146] usbcore: registered new interface driver hub
  154. [ 0.428712] usbcore: registered new device driver usb
  155. [ 0.446556] omap_i2c 44e0b000.i2c: bus 0 rev2.4.0 at 400 kHz
  156. [ 0.454319] DCDC1: at 1800 mV
  157. [ 0.457254] vdd_mpu: 925 <--> 1325 mV at 1275 mV
  158. [ 0.460299] vdd_core: 925 <--> 1150 mV at 1100 mV
  159. [ 0.463003] LDO1: at 1800 mV
  160. [ 0.465622] LDO2: at 3300 mV
  161. [ 0.468773] LDO3: 1800 <--> 3300 mV at 3300 mV
  162. [ 0.471493] LDO4: at 3300 mV
  163. [ 0.473712] tps65217 0-0024: TPS65217 ID 0x7 version 1.0
  164. [ 0.483443] Switching to clocksource gp_timer
  165. [ 0.652441] NET: Registered protocol family 2
  166. [ 0.654871] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
  167. [ 0.655371] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
  168. [ 0.660736] TCP: Hash tables configured (established 8192 bind 8192)
  169. [ 0.661054] TCP: reno registered
  170. [ 0.661099] UDP hash table entries: 256 (order: 2, 20480 bytes)
  171. [ 0.661445] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
  172. [ 0.662499] NET: Registered protocol family 1
  173. [ 0.664362] RPC: Registered named UNIX socket transport module.
  174. [ 0.664394] RPC: Registered udp transport module.
  175. [ 0.664410] RPC: Registered tcp transport module.
  176. [ 0.664426] RPC: Registered tcp NFSv4.1 backchannel transport module.
  177. [ 0.665782] NetWinder Floating Point Emulator V0.97 (double precision)
  178. [ 0.666371] CPU PMU: probing PMU on CPU 0
  179. [ 0.666570] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
  180. [ 0.871784] VFS: Disk quotas dquot_6.5.2
  181. [ 0.872089] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  182. [ 0.875602] NFS: Registering the id_resolver key type
  183. [ 0.876162] Key type id_resolver registered
  184. [ 0.876190] Key type id_legacy registered
  185. [ 0.876373] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
  186. [ 0.879282] msgmni has been set to 479
  187. [ 0.883852] io scheduler noop registered
  188. [ 0.883882] io scheduler deadline registered
  189. [ 0.884007] io scheduler cfq registered (default)
  190. [ 0.887549] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
  191. [ 0.892875] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  192. [ 0.901597] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
  193. [ 0.902187] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
  194. [ 1.553483] console [ttyO0] enabled
  195. [ 1.601592] brd: module loaded
  196. [ 1.631258] loop: module loaded
  197. [ 1.642581] mtdoops: mtd device (mtddev=name/number) must be supplied
  198. [ 1.650573] OneNAND driver initializing
  199. [ 61.671439] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t=7682 jiffies)
  200. [ 61.680491] INFO: Stall ended before state dump start
  201. [ 241.710423] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t=30727 jiffies)
  202. [ 241.719540] INFO: Stall ended before state dump start
  203.  
  204. So it's not a .config problem or a problem with the extra patches since the failure mode is the same between my evil tree + config and matts tree + omap2plus_config. When you get back to work next week, could you try loading the uimage and dtb from mmc and using mmc as rootfs? I'll try to tftpboot later to see if that makes a difference. And a new toolchain.
  205.  
  206. thanks,
  207.  
  208. Koen
Add Comment
Please, Sign In to add comment