Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
31 user(s) are online (25 user(s) are browsing Forums)

Members: 0
Guests: 31

more...

Support us!

Headlines

Forum Index


Board index » All Posts (m3x)




Re: USB keyboards and Uboot - on a Sam460ex
Just popping in
Just popping in


@graff

it's possible to do the u-boot update/downgrade via serial terminal, connectiong a null modem cable to a PC, settings 115200 8N1.

In order to do the update from the serial terminal, under AmigaOS4.1, you need to enter before the following commands from the Shell:

nvsetenv stdin serial
nvsetenv stdout serial

and then reboot.

From this point, when back to u-boot, you can stop the boot sequence pressing 'q' key at the countdown, then enter the commands to upgrade/downgrade u-boot via TFTP.

When finished, reboot to AmigaOS4.1 and from Shell enter:

nvsetenv stdin usbkbd
nvsetenv stdout vga

to restore the original settings.

Hope this helps

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: Sam460LE boot problem
Just popping in
Just popping in


@sacc-dude

To see the new interface you need to enter uboot menu and set:

Video Options -> Console -> Silent

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Just popping in
Just popping in


@kas1e

There were some improvements in read/write benchmarks, but I don't remember the exact figures at the moment.

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: Pegasos2 with RadeonHD/RX via bridge
Just popping in
Just popping in


@kas1e

you may try to enable prefetch on the 8112, like I've done in u-boot for the Sam440-flex board:

void config_pex8112(void) {
    
pci_dev_t dev;      // special configuration for PCI-PCI Express bridge PEX8112

    
if ((dev pci_find_device(0x10b5,0x8112,0)) >= 0) {         
        
pci_write_config_byte(devPCI_CACHE_LINE_SIZE0x10);         
        
pci_write_config_byte(devPCI_LATENCY_TIMER0xff);         
        
pci_write_config_byte(devPCI_SEC_LATENCY_TIMER0xff);         
        
pci_write_config_byte(dev0x480x11);         
        
pci_write_config_byte(dev0x840x0c); // index = 0x100c         
        
pci_write_config_dword(dev0x880xcf008020); // data     
    

}

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: sam460: new uboot update to handle RadeonRX coming soon!
Just popping in
Just popping in


@joerg

yes, you're right, it was a copy/paste error, I've modified the above post, thanks !

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: sam460: new uboot update to handle RadeonRX coming soon!
Just popping in
Just popping in


@kishigo

try setting stdin and stdout to serial, you can do it from the AOS4.1 shell:

NVSetVar stdin serial
NVSetVar stdout serial

Remember to put them to the original values when done:

NVSetVar stdin usbkbd
NVSetVar stdout vga


Edited by m3x on 2024/6/8 10:48:30
Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: sam460: new uboot update to handle RadeonRX coming soon!
Just popping in
Just popping in


@kas1e

Nice video, thanks !

PS: the new U-Boot version supports all Sam460 models

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: sam460: takeover control by putty ?
Just popping in
Just popping in


@kas1e

yes, it supports only ext2fs, fat support was removed to save space on the 512 Kb boot eeprom, maybe we can add it back again with a new u-boot version.

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: sam460: takeover control by putty ?
Just popping in
Just popping in


@kas1e

if you need to interrupt the boot countdown and go into u-boot shell, you may press 'q' instead of ESC

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: sam460: takeover control by putty ?
Just popping in
Just popping in


@kas1e

setenv stdin serial


Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: Amiga X5000 and Sound Blaster Audigy FX problem
Just popping in
Just popping in


@all

This is the explanation of what happened:

- we sold very few Audigy FX cards (less than 10), and then took them off as availability from our shop because there was no demand
- the sound cards were not sold with any driver included, at the time it was still possible to download the driver from OS4Depot
- the audio driver was included on the SD card we supply with the Sam460 boards to help users install the operating system and other utilities easily and as quickly as possible, a kind of 'bonus pack.' As soon as we were alerted to the problem with the audio driver, we removed it
- Our mistake was to include the driver without having read the readme

We are sorry to learn that things were misunderstood. We make our apologies to geennaam and the Amiga community.
We will make sure that things will not happen again in the future.
In any case, we invite you to contact us directly through our contacts available at www.acube-systems.com

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: Qemu Pegasos II interrupts issue
Just popping in
Just popping in


@balaton

I've found only some snippets of code from the AmigaOneG3SE u-boot source code, maybe the following code may help:

void via_init_irq_routing(uint8 irq_map[])
{
    
char *s;
    
uint8 level_edge_bits 0xf;

    
/* Set irq routings */
    
pci_write_cfg_byte(07<<30x55irq_map[0]<<4);
    
pci_write_cfg_byte(07<<30x56irq_map[1] | irq_map[2]<<4);
    
pci_write_cfg_byte(07<<30x57irq_map[3]<<4);

    
/*
     * Gather level/edge bits
     * Default is to assume level triggered
     */

    
getenv("pci_irqa_select");
    if (
&& strcmp(s"level") == 0)
    
level_edge_bits &= ~0x01;

    
getenv("pci_irqb_select");
    if (
&& strcmp(s"level") == 0)
    
level_edge_bits &= ~0x02;

    
getenv("pci_irqc_select");
    if (
&& strcmp(s"level") == 0)
    
level_edge_bits &= ~0x04;

    
getenv("pci_irqd_select");
    if (
&& strcmp(s"level") == 0)
    
level_edge_bits &= ~0x08;

    
PRINTF("IRQ map\n");
    
PRINTF("%d: %s\n"irq_map[0], level_edge_bits&0x1 "edge" "level");
    
PRINTF("%d: %s\n"irq_map[1], level_edge_bits&0x2 "edge" "level");
    
PRINTF("%d: %s\n"irq_map[2], level_edge_bits&0x4 "edge" "level");
    
PRINTF("%d: %s\n"irq_map[3], level_edge_bits&0x8 "edge" "level");
    
pci_write_cfg_byte(07<<30x54level_edge_bits);

    
PRINTF("%02x %02x %02x %02x\n"pci_read_cfg_byte(07<<30x54),
       
pci_read_cfg_byte(07<<30x55), pci_read_cfg_byte(07<<30x56),
       
pci_read_cfg_byte(07<<30x57));
}

and

/*  Setup the ISA-to-PCI host bridge */
void via_isa_init(pci_dev_t devstruct pci_config_table *table)
{
    
char regval;
    if (
PCI_FUNC(dev) == 0)
    {
    
PRINTF("... PCI-to-ISA bridge, dev=0x%X\n"dev);

    
/*  Enable I/O Recovery time */
    
pci_write_config_byte(dev0x400x08);

    
/*  Enable ISA refresh */
    
pci_write_config_byte(dev0x410x41); /*  was 01 */

    /*  Enable ISA line buffer */
    
pci_write_config_byte(dev0x450x80);

    
/*  Gate INTR, and flush line buffer */
    
pci_write_config_byte(dev0x460x60);

    
/*  Enable EISA ports 4D0/4D1. Do we need this ? */
    
pci_write_config_byte(dev0x470xe6); /*  was 20 */

    /*  512 K PCI Decode */
    
pci_write_config_byte(dev0x480x01);

    
/*  Wait for PGNT before grant to ISA Master/DMA */
    /*  ports 0-FF to SDBus */
    /*  IRQ 14 and 15 for ide 0/1 */
    
pci_write_config_byte(dev0x4a0x04); /*  Was c4 */

    /*  Plug'n'Play */
    /*  Parallel DRQ 3, Floppy DRQ 2 (default) */
    
pci_write_config_byte(dev0x500x0e);

    
/*  IRQ Routing for Floppy and Parallel port */
    /*  IRQ 6 for floppy, IRQ 7 for parallel port */
    
pci_write_config_byte(dev0x510x76);

    
/*  IRQ Routing for serial ports (take IRQ 3 and 4) */
    
pci_write_config_byte(dev0x520x34);

    
/*  All IRQ's level triggered. */
    
pci_write_config_byte(dev0x540x00);

    
/*  PCI IRQ's all at IRQ 9 */
    
pci_write_config_byte(dev0x550x90);
    
pci_write_config_byte(dev0x560x99);
    
pci_write_config_byte(dev0x570x90);

    
/*  Enable Keyboard */
    
pci_read_config_byte(dev0x5A, &regval);
    
regval |= 0x01;
    
pci_write_config_byte(dev0x5Aregval);

    
pci_write_config_byte(dev0x800);
    
pci_write_config_byte(dev0x850x01);

/*     pci_write_config_byte(dev, 0x77, 0x00); */
    
}
}

and more

void articiaS_pci_irq_init(void)
{
    
char *s;

    
getenv("pci_irqa");
    if (
s)
    
pci_intmap[0] = simple_strtoul (sNULL10);
    else
    
pci_intmap[0] = pci_irq_alloc();

    
getenv("pci_irqb");
    if (
s)
    
pci_intmap[1] = simple_strtoul (sNULL10);
    else
    
pci_intmap[1] = pci_irq_alloc();

    
getenv("pci_irqc");
    if (
s)
    
pci_intmap[2] = simple_strtoul (sNULL10);
    else
    
pci_intmap[2] = pci_irq_alloc();

    
getenv("pci_irqd");
    if (
s)
    
pci_intmap[3] = simple_strtoul (sNULL10);
    else
    
pci_intmap[3] = pci_irq_alloc();
}

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: Sam460LE 1.10 Ghz Pre-Order!
Just popping in
Just popping in


@arfcarl

In our tests, the SIL 3112 is unreliable when used with a Sam460 board, the exact cause is unkwown.

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: What the fastest possible x64 emulation way of OS4 today ?
Just popping in
Just popping in


@balaton

There is a Pericom 8150B PCI Bridge on Sam440ep mini-itx and flex boards, maybe it's testing it ?

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: SAM Flex Stuttering Issue workbench or software use / games
Just popping in
Just popping in


@Gebrochen

Try the Sam440ep_setup utility from OS4Depot:

http://os4depot.net/share/utility/shell/sam440ep_setup.lha

if it help with your dragging open drawer windows slowness, which is in part due the HD 5450 used which has a PCI-PCIe bridge onboard.

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: SDL1 open issues
Just popping in
Just popping in


@balaton

I've searched some very old HDs but haven't found anything interesting so far.

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: SDL1 open issues
Just popping in
Just popping in


@balaton

could be a compilation problem, as I used a different gcc, will try using another one.

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: SDL1 open issues
Just popping in
Just popping in


@balaton

the sm502 driver set chip endianess to big endian writing 0 into register 0x005c.
This seems not to work in PCI mode (the chip remain in little endian mode), but maybe on the Pegasos emulation there is some side effect ?

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: Sam460LE 1.10 Ghz Pre-Order!
Just popping in
Just popping in


@skygecko

The Sii3112 card is likely to show instability on Sam460 boards, replace it with a 3512 or 3114.

Max Tretene, ACube Systems Srl, Soft3
Go to top


Re: Laptop recommendations
Just popping in
Just popping in


@white

Quote:
but can it be made available to try it ?

The new driver is currently on OS4Depot uploads queue:

http://os4depot.net/download.php?file ... nmotion502_chip-53.12.lha


Max Tretene, ACube Systems Srl, Soft3
Go to top



TopTop
(1) 2 3 4 ... 8 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project