RobertCNelson / netinstall

Network Install for a bunch of arm boards
https://rcn-ee.com
80 stars 19 forks source link

Latest netinstall kernel fail to load on beaglebaord #5

Closed pedjaman closed 12 years ago

pedjaman commented 12 years ago

Latest netinstall script used. beaglebaord oneiric Boot started normally and at some point of boot process kernel hangs with message like this: pvrsc: 1280x720p@16

Any idea why?

RobertCNelson commented 12 years ago

Hi Pedjaman,

I've never seen that error before, google isn't showing too many hints.. Any chance is the error happening consistency enough that you can start a serial log? (it should dump the kernel hang over the serial port..)

Regards,

pedjaman commented 12 years ago

This error is consisted, however, i need to hack your script to redirect it to ttyO2 as it doesn't do that by default. Will taht help?

On Fri, Dec 2, 2011 at 3:41 PM, Robert Nelson < reply@reply.github.com

wrote:

Hi Pedjaman,

I've never seen that error before, google isn't showing too many hints.. Any chance is the error happening consistency enough that you can start a serial log? (it should dump the kernel hang over the serial port..)

Regards,


Reply to this email directly or view it on GitHub: https://github.com/RobertCNelson/netinstall/issues/5#issuecomment-2990748

RobertCNelson commented 12 years ago

It should be doing that by default thou... Take a look in your uEnv.txt..

In the 2nd to the last line it should be: mmcargs=setenv bootargs console=${console} ${optargs}

Where console = console=ttyO2,115200n8 and optargs=console=tty0

which give you login access via serial and dvi, and should dump the kernel errors to both..

Regards,

pedjaman commented 12 years ago

Nope, new script (script in that version) is totally diffferent. It ahs only: console=tty0 I was confused why is that

On Sat, Dec 3, 2011 at 3:56 PM, Robert Nelson < reply@reply.github.com

wrote:

It should be doing that by default thou... Take a look in your uEnv.txt..

In the 2nd to the last line it should be: mmcargs=setenv bootargs console=${console} ${optargs}

Where console = console=ttyO2,115200n8 and optargs=console=tty0

which give you login access via serial and dvi, and should dump the kernel errors to both..

Regards,


Reply to this email directly or view it on GitHub: https://github.com/RobertCNelson/netinstall/issues/5#issuecomment-3000953

pedjaman commented 12 years ago

uEnv.txt file:

bootfile=uImage.net bootinitrd=uInitrd.net address_uimage=0x80300000 address_uinitrd=0x81600000

console=tty0

defaultdisplay=dvi dvimode=1280x720MR-16@60

mmcroot=/dev/ram0 rw mmc_load_uimage=fatload mmc 0:1 ${address_uimage} ${bootfile} mmc_load_uinitrd=fatload mmc 0:1 ${address_uinitrd} ${bootinitrd}

dvi->defaultdisplay

mmcargs=setenv bootargs console=${console} mpurate=${mpurate} buddy=${buddy} buddy2=${buddy2} camera=${camera} vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot}

loaduimage=printenv; run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm ${address_uimage} ${address_uinitrd}

after patching uEnv.txt to provide output to minicom this is full boot process:

U-Boot SPL 2011.09-01172-gfdbe8b9-dirty (Nov 29 2011 - 11:38:19)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img

U-Boot 2011.09-01172-gfdbe8b9-dirty (Nov 29 2011 - 11:38:19)

OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 1 GiB
WARNING: Caches not enabled
NAND: 256 MiB
MMC: OMAP SD/MMC: 0
*\ Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Beagle Rev C4
timed out in wait_for_pin: I2C_STAT=0
I2C read: I/O error
Unrecognized expansion board: 0
timed out in wait_for_pin: I2C_STAT=0
I2C read: I/O error
Unrecognized expansion board: 0
Die ID #295e0004000000000403951c0800c008
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

733 bytes read
Loaded environment from uEnv.txt
Importing environment from mmc ...
address_uimage=0x80300000
address_uinitrd=0x81600000
baudrate=115200
beaglerev=C4
bootcmd=if mmc rescan ${mmcdev}; then if userbutton; then setenv bootenv user.txt;fi;echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;i; bootdelay=2
bootenv=uEnv.txt
bootfile=uImage.net
bootinitrd=uInitrd.net
buddy=unknown
buddy2=unknown
camera=none
console=ttyO2,115200n8
defaultdisplay=dvi
dieid#=295e0004000000000403951c0800c008
dvimode=1280x720MR-16@60
filesize=2DD
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=printenv; run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm ${address_uimage} ${address_uinitrd}
loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage
mmc_load_uimage=fatload mmc 0:1 ${address_uimage} ${bootfile}
mmc_load_uinitrd=fatload mmc 0:1 ${address_uinitrd} ${bootinitrd}
mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} buddy2=${buddy2} camera=${camera} vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay}} mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
mmcdev=0
mmcroot=/dev/ram0 rw
mmcrootfstype=ext3 rootwait
mpurate=auto
nandargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=$} nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
nandroot=ubi0:rootfs ubi.mtd=4
nandrootfstype=ubifs
optargs=console=tty0
ramargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M
ramrootfstype=ext2
rdaddr=0x81000000
usbtty=cdc_acm
vram=12M

Environment size: 2454/131068 bytes
reading uImage.net

3135936 bytes read
reading uInitrd.net

10638335 bytes read
Booting from mmc ...

Booting kernel from Legacy Image at 80300000 ...

Image Name: 3.1.4-x5
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3135872 Bytes = 3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK

Loading init Ramdisk from Legacy Image at 81600000 ...

Image Name: initramfs
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 10638271 Bytes = 10.1 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.1.4-x5 (root@panda-a1-1gb) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #1 SMP Wed Nov 30 03:39:38 UTC 2011
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Beagle expansionboard: unknown
[ 0.000000] Beagle second expansionboard: unknown
[ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c1164000 s11584 r8192 d12992 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 255488
[ 0.000000] Kernel command line: console=ttyO2,115200n8 console=tty0 mpurate=auto buddy=unknown buddy2=unknown camera=none vram=12M omapfb.mode=dvi:1280x720MR-16@60 omapdss.def_disp=dvi root=/dev/ram0 rw
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] allocated 4194304 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 1006MB = 1006MB total
[ 0.000000] Memory: 997024k/997024k available, 51552k reserved, 243712K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xf0800000 - 0xf8000000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc07d18d8 (7975 kB)
[ 0.000000] .init : 0xc07d2000 - 0xc082bd40 ( 360 kB)
[ 0.000000] .data : 0xc082c000 - 0xc0897968 ( 431 kB)
[ 0.000000] .bss : 0xc089798c - 0xc095d704 ( 792 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:410 nr_irqs:410 410
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000885] Calibrating delay loop... 484.21 BogoMIPS (lpj=1892352)
[ 0.037994] pid_max: default: 32768 minimum: 301
[ 0.038360] Security Framework initialized
[ 0.038452] AppArmor: AppArmor initialized
[ 0.038818] Mount-cache hash table entries: 512
[ 0.040069] Initializing cgroup subsys cpuacct
[ 0.040191] Initializing cgroup subsys memory
[ 0.040283] Initializing cgroup subsys devices
[ 0.040313] Initializing cgroup subsys freezer
[ 0.040344] Initializing cgroup subsys blkio
[ 0.040405] Initializing cgroup subsys perf_event
[ 0.040588] CPU: Testing write buffer coherency: ok
[ 0.040985] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.042175] Brought up 1 CPUs
[ 0.042236] SMP: Total of 1 processors activated (484.21 BogoMIPS).
[ 0.043640] devtmpfs: initialized
[ 0.049987] omap_hwmod: am35x_otg_hs: cannot be enabled (3)
[ 0.051147] print_constraints: dummy:
[ 0.051666] NET: Registered protocol family 16
[ 0.051940] GPMC revision 5.0
[ 0.053955] OMAP GPIO hardware version 2.5
[ 0.054290] omap_device: omap_gpio.2: new worst case activate latency 0: 30517
[ 0.056243] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.057769] OMAP3 Beagle Rev: C4
[ 0.059906] omap_device: omap_uart.0: new worst case activate latency 0: 30517
[ 0.061462] omap_device: omap_uart.2: new worst case deactivate latency 0: 30517
[ 0.063812] Found NAND on CS0
[ 0.063842] Registering NAND on CS0
[ 0.064239] Unable to get DVI reset GPIO
[ 0.064361] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.067016] omap_device: omap-mcbsp.2: alias fck already exists
[ 0.067291] omap_device: omap-mcbsp.3: alias fck already exists
[ 0.068969] OMAP DMA hardware revision 4.0
[ 0.080596] bio: create slab at 0
[ 0.082489] SCSI subsystem initialized
[ 0.082946] omap_device: omap2_mcspi.1: new worst case activate latency 0: 30517
[ 0.083740] omap_device: omap2_mcspi.4: new worst case activate latency 0: 91552
[ 0.084442] usbcore: registered new interface driver usbfs
[ 0.084686] usbcore: registered new interface driver hub
[ 0.084991] usbcore: registered new device driver usb
[ 0.086029] omap_device: omap_i2c.1: new worst case activate latency 0: 30517
[ 0.086181] omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz
[ 0.089630] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.089721] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.090362] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.090850] _omap_mux_init_gpio: Could not set gpio192
[ 0.094207] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.094787] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.095367] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.100433] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.101531] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[ 0.102111] print_constraints: VDAC: 1800 mV normal standby
[ 0.102722] print_constraints: VDVI: 1800 mV normal standby
[ 0.103393] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[ 0.103851] omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
[ 0.114257] omap_i2c omap_i2c.3: bus 3 rev3.12 at 100 kHz
[ 0.115631] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.116607] NetLabel: Initializing
[ 0.116638] NetLabel: domain hash size = 128
[ 0.116668] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.116790] NetLabel: unlabeled traffic allowed by default
[ 0.116882] Switching to clocksource 32k_counter
[ 0.122039] Switched to NOHz mode on CPU #0
[ 0.143463] AppArmor: AppArmor Filesystem Enabled
[ 0.162689] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.162933] omap_device: musb-omap2430.-1: new worst case activate latency 0: 30517
[ 0.163696] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 0.164428] NET: Registered protocol family 2
[ 0.164978] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.166717] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.169982] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.171691] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.171722] TCP reno registered
[ 0.171813] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.171905] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.172485] NET: Registered protocol family 1
[ 0.173187] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
[ 0.173797] RPC: Registered named UNIX socket transport module.
[ 0.173828] RPC: Registered udp transport module.
[ 0.173858] RPC: Registered tcp transport module.
[ 0.173889] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.174255] Trying to unpack rootfs image as initramfs...
[ 1.921508] Freeing initrd memory: 10388K
[ 1.921905] _regulator_get: etb supply vcore not found, using dummy regulator
[ 1.922760] _regulator_get: etm supply vcore not found, using dummy regulator
[ 1.923126] PMU: registered new PMU device of type 0
[ 1.923278] omap_dsp_init: 600000 bytes @ bee00000
[ 1.924407] audit: initializing netlink socket (disabled)
[ 1.924530] type=2000 audit(1.921:1): initialized
[ 2.197296] highmem bounce pool size: 64 pages
[ 2.210937] VFS: Disk quotas dquot_6.5.2
[ 2.211669] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.219940] fuse init (API version 7.17)
[ 2.222839] Btrfs loaded
[ 2.222900] msgmni has been set to 1491
[ 2.225372] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 2.225433] io scheduler noop registered
[ 2.225463] io scheduler deadline registered
[ 2.225677] io scheduler cfq registered (default)
[ 2.226776] omap_device: omapdss_dss.-1: new worst case activate latency 0: 30517
[ 2.226867] OMAP DSS rev 2.0
[ 2.226928] omap_device: omapdss_dss.-1: new worst case deactivate latency 0: 30517
[ 2.230743] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.232788] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 2.233245] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 2.233703] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 3.118194] console [ttyO2] enabled
[ 3.134033] brd: module loaded
[ 3.142913] loop: module loaded
[ 3.148803] omap2-nand driver initializing
[ 3.153564] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)
[ 3.162750] Creating 5 MTD partitions on "omap2-nand.0":
[ 3.168426] 0x000000000000-0x000000080000 : "X-Loader"
[ 3.175964] 0x000000080000-0x000000260000 : "U-Boot"
[ 3.183807] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 3.191131] 0x000000280000-0x000000680000 : "Kernel"
[ 3.199615] 0x000000680000-0x000010000000 : "File System"
[ 3.309143] OneNAND driver initializing
[ 3.314422] usbcore: registered new interface driver cdc_ether
[ 3.320770] usbcore: registered new interface driver rndis_host
[ 3.327056] cdc_ncm: 04-Aug-2011
[ 3.330596] usbcore: registered new interface driver cdc_ncm
[ 3.337219] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.344329] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator
[ 3.352874] _regulator_get: ehci-omap.0 supply hsusb1 not found, using dummy regulator
[ 5.374877] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 5.381439] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 5.389556] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 5.406158] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 5.412384] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 5.419586] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.427246] usb usb1: Product: OMAP-EHCI Host Controller
[ 5.432891] usb usb1: Manufacturer: Linux 3.1.4-x5 ehci_hcd
[ 5.438812] usb usb1: SerialNumber: ehci-omap.0
[ 5.444488] hub 1-0:1.0: USB hub found
[ 5.448547] hub 1-0:1.0: 3 ports detected
[ 5.484375] Initializing USB Mass Storage driver...
[ 5.489685] usbcore: registered new interface driver usb-storage
[ 5.496093] USB Mass Storage support registered.
[ 5.501159] usbcore: registered new interface driver libusual
[ 5.507476] udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
[ 5.514648] gadget: using random self ethernet address
[ 5.520233] gadget: using random host ethernet address
[ 5.527313] usb0: MAC 8e:f6:83:40:50:e2
[ 5.531433] usb0: HOST MAC e6:23:c4:d3:7d:87
[ 5.536010] gadget: Ethernet Gadget, version: Memorial Day 2008

pedjaman commented 12 years ago

I see now that aprt of debug is cut off here. But any update on the issue?

RobertCNelson commented 12 years ago

Hi Pedjaman,

well everything looks normal, i don't see your original error: "pvrsc: 1280x720p@16" in the log, is this only happening on the screen or what? Or it happening when switching to the frame buffer?

Regards,

pedjaman commented 12 years ago

It is on debug console, RS232 connection... and it dies there.

On Tue, Dec 6, 2011 at 1:57 AM, Robert Nelson < reply@reply.github.com

wrote:

Hi Pedjaman,

well everything looks normal, i don't see your original error: "pvrsc: 1280x720p@16" in the log, is this only happening on the screen or what? Or it happening when switching to the frame buffer?

Regards,


Reply to this email directly or view it on GitHub: https://github.com/RobertCNelson/netinstall/issues/5#issuecomment-3026476

RobertCNelson commented 12 years ago

But the LCD/DVI screen is fine right?

With the Debian NeInstall, During the INSTALL, it's an either/or setup not both.. Install via DVI (default) or over serial (with --serial-mode switch).. After the NetInstall is finished, both serial and dvi console can be enabled..

You can enable both the serial console and dvi at boot, but weird/random things do occur.. Like typing in serial make the dvi move, or was it usb keyboard makes the serial console move, don't remember exactly..

Regards,

pedjaman commented 12 years ago

Hi,

This is issue on DVI boot... there is yellow/orange screen... and then no signal message after which message i mentioned is shown How can i demonstrate this issue?

On Tue, Dec 6, 2011 at 2:28 AM, Robert Nelson < reply@reply.github.com

wrote:

But the LCD/DVI screen is fine right?

With the Debian NeInstall, During the INSTALL, it's an either/or setup not both.. Install via DVI (default) or over serial (with --serial-mode switch).. After the NetInstall is finished, both serial and dvi console can be enabled..

You can enable both the serial console and dvi at boot, but weird/random things do occur.. Like typing in serial make the dvi move, or was it usb keyboard makes the serial console move, don't remember exactly..

Regards,


Reply to this email directly or view it on GitHub: https://github.com/RobertCNelson/netinstall/issues/5#issuecomment-3026761

RobertCNelson commented 12 years ago

Ah so the monitor doesn't work...

Umm, first thing to try: bump down the resolution: (1024x768 800x640)

https://github.com/RobertCNelson/netinstall/blob/master/mk_mmc.sh#L1190

Did it work before on another monitor? What is it's serial/model number?

Regards,

pedjaman commented 12 years ago

Looks like you don't get it :) Earlier versions of net install oneiric worked like a charm, same monitor same conditions, same isntall procedure. In latest version of netinstall uEnv.txt is changed (i uploaded how it looks like). So, after trying to boot and continue installation, i see kernel messages on serial terminal and DVI monitor is turned on (yellow screen then booting kernel) After approx 5 sec of boot procedure, messages stop on serial port and monitor report "No signal".

Last message is always: [ 5.952392] fbcvt: 1280x720@60: CVT Name - .921M9-R I apologize for mistyping message in first post

I hope it is more clear now

On Tue, Dec 6, 2011 at 2:38 AM, Robert Nelson < reply@reply.github.com

wrote:

Ah so the monitor doesn't work...

Umm, first thing to try: bump down the resolution: (1024x768 800x640)

https://github.com/RobertCNelson/netinstall/blob/master/mk_mmc.sh#L1190

Did it work before on another monitor? What is it's serial/model number?

Regards,


Reply to this email directly or view it on GitHub: https://github.com/RobertCNelson/netinstall/issues/5#issuecomment-3026858

RobertCNelson commented 12 years ago

Hi Pedjaman,

I just commited a patch so you shouldn't have to patch the uEnv.txt anymore..

https://github.com/RobertCNelson/netinstall/commit/c6bbe51e8761b09bbdea9af9e88f908c21cf9f74

Actually that last message isn't an error, it's just selecting the correct mode.. Mine does that too..

Can you please retest with the lastest commit. If that doesn't work, we may have to test 3-4 different kernels to find which one broke your monitor.. (the kernel deb this script selects is kinda of a rolling release..)

Regards,

pedjaman commented 12 years ago

Same issue. I believe x3 version of kernel worked. I'm not sure what changed in meanwhile.

Also, uEnv.txt is NOT patched :) Take a look:

bootfile=uImage.net bootinitrd=uInitrd.net address_uimage=0x80300000 address_uinitrd=0x81600000

console=tty0

defaultdisplay=dvi dvimode=1280x720MR-16@60

mmcroot=/dev/ram0 rw

mmc_load_uinitrd=fatload mmc 0:1 ${address_uinitrd} ${bootinitrd} mmc_load_uimage=fatload mmc 0:1 ${address_uimage} ${bootfile}

mmcargs=setenv bootargs console=${console} mpurate=${mpurate} buddy=${buddy} buddy2=${buddy2} camera=${camera} vram=${vram} omapfb.mode=${defaultdisplay}:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot}

loaduimage=printenv; run mmc_load_uimage; run mmc_load_uinitrd; echo Booting from mmc ...; run mmcargs; bootm ${address_uimage} ${address_uinitrd}

RobertCNelson commented 12 years ago

Actually, there's two uEnv.txt's..

The initial uEnv.txt is for the initial NetInstall, at the end of the install before reboot, uEnv.txt get's deleted and normal.txt get's renamed as uEnv.txt.. (so your current uEnv.txt is perfect for dvi net install)

Ouch, x3 is back with 3.1.0, so lots of stable changes..

First to test would be 3.1.0-x3 then..

the Netinstall has a --deb-file option so first download the image:

wget http://rcn-ee.net/deb/oneiric/v3.1.0-x3/linux-image-3.1.0-x3_1.0oneiric_armel.deb

then add --deb-file /location/of/download/file/linux-image-3.1.0-x3_1.0oneiric_armel.deb

Full regression list: http://rcn-ee.net/deb/oneiric/v3.1.0-x3/linux-image-3.1.0-x3_1.0oneiric_armel.deb http://rcn-ee.net/deb/oneiric/v3.1.1-x3/linux-image-3.1.1-x3_1.0oneiric_armel.deb http://rcn-ee.net/deb/oneiric-armel/v3.1.3-x4/linux-image-3.1.3-x4_1.0oneiric_armel.deb http://rcn-ee.net/deb/oneiric-armel/v3.1.4-x5/linux-image-3.1.4-x5_1.0oneiric_armel.deb (reboot broken) http://rcn-ee.net/deb/oneiric-armel/v3.1.4-x6/linux-image-3.1.4-x6_1.0oneiric_armel.deb (current stable)

(the oneiric -> oneiric-armel change has to do with i'm now pushing armhf and armel versions in some distro's)

Regards,

pedjaman commented 12 years ago

Strange, the problem is still there with x3. Is it maybe something in script changed or u-boot problem? netinstall worked for me always and just stopped working. I changed nothing in hardware and installation procedure.

RobertCNelson commented 12 years ago

Success..

But i now see the problem..

NO c4 has: "DRAM: 1 GiB"

Mainline u-boot is mis-detecting the amount of SDRAM on the beagle c4. .(it does this via id).. Reverting to a previous version (detects it as 256Mb) fixes the issue.. the reason it froze at that spot, it was also trying to allocate the framebuffer to memory (which happens to be above the 256Mb), crash...

to fix, first use "flash-omap" to resinstall the older MLO/u-boot.bin to the nand of the c4:

https://github.com/RobertCNelson/flash-omap cd flash-omap sudo ./mk_mmc.sh --mmc /dev/sdX --uboot beagle_cx

Then rerun the "netinstall" it'll pull in the "fixed" MLO/u-boot.bin

Sorry this took so long, just by chance today i glanced at the "1GB" in the log, and started wondering wtf.. ;)

Regards,