{"action":"created","issue":{"url":"https://api.github.com/repos/openbmc/openbmc/issues/507","repository_url":"https://api.github.com/repos/openbmc/openbmc","labels_url":"https://api.github.com/repos/openbmc/openbmc/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/openbmc/openbmc/issues/507/comments","events_url":"https://api.github.com/repos/openbmc/openbmc/issues/507/events","html_url":"https://github.com/openbmc/openbmc/issues/507","id":170778391,"number":507,"title":"Failed to run on AST2500 EVB","user":{"login":"rednewguy","id":1948285,"avatar_url":"https://avatars.githubusercontent.com/u/1948285?v=3","gravatar_id":"","url":"https://api.github.com/users/rednewguy","html_url":"https://github.com/rednewguy","followers_url":"https://api.github.com/users/rednewguy/followers","following_url":"https://api.github.com/users/rednewguy/following{/other_user}","gists_url":"https://api.github.com/users/rednewguy/gists{/gist_id}","starred_url":"https://api.github.com/users/rednewguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rednewguy/subscriptions","organizations_url":"https://api.github.com/users/rednewguy/orgs","repos_url":"https://api.github.com/users/rednewguy/repos","events_url":"https://api.github.com/users/rednewguy/events{/privacy}","received_events_url":"https://api.github.com/users/rednewguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T00:45:07Z","updated_at":"2016-08-12T17:32:26Z","closed_at":null,"body":"I am not sure if I am doing it right. Used conf at meta-openbmc-machines/meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf and flashed \"image-bmc\" using tftp from u-boot on AST2500 EVB. \r\nU-Boot and Kernel seem to load and run properly, but fails in init. It couldn't find mtd for some reason. \r\nIs this a known issue or am I missing something?\r\n\r\n`U-Boot 2016.07 (Aug 05 2016 - 10:14:49 -0700)\r\n\r\nDRAM:  496 MiB\r\nFlash: 32 MiB\r\nIn:    serial\r\nOut:   serial\r\nErr:   serial\r\nNet:   MAC0 : RGMII\r\nMAC1 : RGMII\r\nFTGMAC100#0, FTGMAC100#1\r\nHit any key to stop autoboot:  0\r\nBooting kernel from Legacy Image at 20080000 ...\r\n   Image Name:   Phosphor OpenBMC (Phosphor OpenB\r\n   Image Type:   ARM Linux Kernel Image (uncompressed)\r\n   Data Size:    1989762 Bytes = 1.9 MiB\r\n   Load Address: 80001000\r\n   Entry Point:  80001000\r\n   Verifying Checksum ... OK\r\nLoading init Ramdisk from Legacy Image at 20300000 ...\r\n   Image Name:   obmc-phosphor-image\r\n   Image Type:   ARM Linux RAMDisk Image (lzma compressed)\r\n   Data Size:    1668196 Bytes = 1.6 MiB\r\n   Load Address: 81000000\r\n   Entry Point:  81000000\r\n   Verifying Checksum ... OK\r\n   Loading Kernel Image ... OK\r\n\r\nStarting kernel ...\r\n\r\nUncompressing Linux... done, booting the kernel.\r\nBooting Linux on physical CPU 0x0\r\nLinux version 4.6.4-openbmc-20160722-1 (docker@docker-Virtual-Machine) (gcc vers                                                                                                                                                             ion 5.3.0 (GCC) ) #1 Fri Aug 5 09:47:51 PDT 2016\r\nCPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d\r\nCPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache\r\nMachine model: AST2500 EVB\r\nMemory policy: Data cache writeback\r\nSOC Rev: 04010303\r\nBuilt 1 zonelists in Zone order, mobility grouping on.  Total pages: 125984\r\nKernel command line: console=ttyS4,115200n8 root=/dev/ram rw\r\nPID hash table entries: 2048 (order: 1, 8192 bytes)\r\nDentry cache hash table entries: 65536 (order: 6, 262144 bytes)\r\nInode-cache hash table entries: 32768 (order: 5, 131072 bytes)\r\nMemory: 496276K/507904K available (3698K kernel code, 184K rwdata, 1344K rodata,                                                                                                                                                              180K init, 107K bss, 11628K reserved, 0K cma-reserved)\r\nVirtual kernel memory layout:\r\n    vector  : 0xffff0000 - 0xffff1000   (   4 kB)\r\n    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)\r\n    vmalloc : 0x9f800000 - 0xff800000   (1536 MB)\r\n    lowmem  : 0x80000000 - 0x9f000000   ( 496 MB)\r\n    modules : 0x7f000000 - 0x80000000   (  16 MB)\r\n      .text : 0x80008000 - 0x804f4a98   (5043 kB)\r\n      .init : 0x804f5000 - 0x80522000   ( 180 kB)\r\n      .data : 0x80522000 - 0x80550058   ( 185 kB)\r\n       .bss : 0x80550058 - 0x8056ae64   ( 108 kB)\r\nNR_IRQS:16 nr_irqs:16 16\r\nclocksource: moxart_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:                                                                                                                                                              77222644334 ns\r\nsched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 2147483647500                                                                                                                                                             0000ns\r\nCalibrating delay loop... 789.70 BogoMIPS (lpj=3948544)\r\npid_max: default: 32768 minimum: 301\r\nMount-cache hash table entries: 1024 (order: 0, 4096 bytes)\r\nMountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)\r\nCPU: Testing write buffer coherency: ok\r\nSetting up static identity map for 0x80008220 - 0x8000827c\r\ndevtmpfs: initialized\r\nclocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911                                                                                                                                                             2604462750000 ns\r\npinctrl core: initialized pinctrl subsystem\r\nNET: Registered protocol family 16\r\nDMA: preallocated 256 KiB pool for atomic coherent allocations\r\nSCSI subsystem initialized\r\nusbcore: registered new interface driver usbfs\r\nusbcore: registered new interface driver hub\r\nusbcore: registered new device driver usb\r\nclocksource: Switched to clocksource moxart_timer\r\nNET: Registered protocol family 2\r\nTCP established hash table entries: 4096 (order: 2, 16384 bytes)\r\nTCP bind hash table entries: 4096 (order: 2, 16384 bytes)\r\nTCP: Hash tables configured (established 4096 bind 4096)\r\nUDP hash table entries: 256 (order: 0, 4096 bytes)\r\nUDP-Lite hash table entries: 256 (order: 0, 4096 bytes)\r\nNET: Registered protocol family 1\r\nRPC: Registered named UNIX socket transport module.\r\nRPC: Registered udp transport module.\r\nRPC: Registered tcp transport module.\r\nRPC: Registered tcp NFSv4.1 backchannel transport module.\r\nTrying to unpack rootfs image as initramfs...\r\nFreeing initrd memory: 1632K (81000000 - 81198000)\r\nfutex hash table entries: 256 (order: -1, 3072 bytes)\r\nworkingset: timestamp_bits=29 max_order=17 bucket_order=0\r\nsquashfs: version 4.0 (2009/01/31) Phillip Lougher\r\njffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.\r\nio scheduler noop registered (default)\r\nSerial: 8250/16550 driver, 6 ports, IRQ sharing enabled\r\nconsole [ttyS4] disabled\r\n1e784000.serial: ttyS4 at MMIO 0x1e784000 (irq = 20, base_baud = 1500000) is a 1                                                                                                                                                             6550A\r\nconsole [ttyS4] enabled\r\nbrd: module loaded\r\nloop: module loaded\r\nbt-host 1e789140.ibt: Found bt host device\r\nbt-host 1e789140.ibt: Using IRQ 18\r\nftgmac100 1e660000.ethernet: Read MAC address from chip 00:0c:cd:dc:ce:b0\r\nlibphy: ftgmac100_mdio: probed\r\nftmac100: Loading version 0.2 ...\r\nehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver\r\nohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver\r\nusbcore: registered new interface driver cdc_acm\r\ncdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters\r\nusbcore: registered new interface driver usb-storage\r\nusbcore: registered new interface driver usbserial\r\nusbcore: registered new interface driver usbserial_generic\r\nusbserial: USB Serial support registered for generic\r\nudc-core: couldn't find an available UDC - added [g_serial] to list of pending d                                                                                                                                                             rivers\r\nmousedev: PS/2 mouse device common for all mice\r\ni2c /dev entries driver\r\ni2c_aspeed 1e78a000.i2c: i2c controller registered, irq 21\r\ni2c_aspeed i2c-0: i2c bus 0 registered, irq 214\r\ni2c_aspeed i2c-1: i2c bus 1 registered, irq 215\r\ni2c_aspeed i2c-2: i2c bus 2 registered, irq 216\r\ni2c_aspeed i2c-3: i2c bus 3 registered, irq 217\r\ni2c_aspeed i2c-4: i2c bus 4 registered, irq 218\r\ni2c_aspeed i2c-5: i2c bus 5 registered, irq 219\r\ni2c_aspeed i2c-6: i2c bus 6 registered, irq 220\r\ni2c_aspeed i2c-7: i2c bus 7 registered, irq 221\r\ni2c_aspeed i2c-8: i2c bus 8 registered, irq 222\r\ni2c_aspeed i2c-9: i2c bus 9 registered, irq 223\r\ni2c_aspeed i2c-10: i2c bus 10 registered, irq 224\r\ni2c_aspeed i2c-11: i2c bus 11 registered, irq 225\r\ni2c_aspeed i2c-12: i2c bus 12 registered, irq 226\r\ni2c_aspeed i2c-13: i2c bus 13 registered, irq 227\r\nusbcore: registered new interface driver usbhid\r\nusbhid: USB HID core driver\r\nip_tables: (C) 2000-2006 Netfilter Core Team\r\nNET: Registered protocol family 17\r\nhctosys: unable to open rtc device (rtc0)\r\nFreeing unused kernel memory: 180K (804f5000 - 80522000)\r\nThis architecture does not have kernel memory protection.\r\ngrep: /sys/class/mtd/*/name: No such file or directory\r\ncp: omitting directory '/run/mtd:u-boot-env'\r\ngrep: /sys/class/mtd/*/name: No such file or directory\r\ngrep: /sys/class/mtd/*/name: No such file or directory\r\ncat: can't open '/run/fw_env': No such file or directory\r\ncat: can't open '/run/fw_env': No such file or directory\r\nrofs = squashfs rwfs = jffs2\r\nmount: mounting /dev/mtdblock on run/initramfs/ro failed: No such file or direct                                                                                                                                                             ory\r\nmount: mounting /dev/mtdblock on run/initramfs/rw failed: No such file or direct                                                                                                                                                             ory\r\n\r\nMounting read-write /dev/mtdblock filesystem failed.  Please fix and run\r\n        mount /dev/mtdblock run/initramfs/rw -t jffs2 -o rw\r\n`"},"comment":{"url":"https://api.github.com/repos/openbmc/openbmc/issues/comments/239509752","html_url":"https://github.com/openbmc/openbmc/issues/507#issuecomment-239509752","issue_url":"https://api.github.com/repos/openbmc/openbmc/issues/507","id":239509752,"user":{"login":"rednewguy","id":1948285,"avatar_url":"https://avatars.githubusercontent.com/u/1948285?v=3","gravatar_id":"","url":"https://api.github.com/users/rednewguy","html_url":"https://github.com/rednewguy","followers_url":"https://api.github.com/users/rednewguy/followers","following_url":"https://api.github.com/users/rednewguy/following{/other_user}","gists_url":"https://api.github.com/users/rednewguy/gists{/gist_id}","starred_url":"https://api.github.com/users/rednewguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rednewguy/subscriptions","organizations_url":"https://api.github.com/users/rednewguy/orgs","repos_url":"https://api.github.com/users/rednewguy/repos","events_url":"https://api.github.com/users/rednewguy/events{/privacy}","received_events_url":"https://api.github.com/users/rednewguy/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T17:32:26Z","updated_at":"2016-08-12T17:32:26Z","body":"@amboar I did try making this change to my local sandbox couple days back. I figured this out by comparing dts of ast2400 and ast2500, and I wasn't aware of this pending merge request until now (read as new to git, yocto and openbmc). \r\nI also modified INITRD_IMAGE_ENTRYPOINT from 0x40800000 to 0x80800000 in meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass. Both didn't help. \r\nI only ran bitbake obmc-phosphor-image after making these changes. Should I be doing something else to take these changes into effect?"}}
{"actor":{"display_login":"rednewguy"}}