some progress in the new year

I assembled two more VideoBrick Prototypes – unfourunatly I mounted the LDO the wrong way around which caused all kinds of wired behaviour including exhibiting the ADV7611 to 2,1 V instead of 1,8 V core voltage – to figure out this issue I had to desoldered one of the ADV7611. Somehow it seemed that the ADV7611 survived this mistake because i could correct the LDOs on both boards and both of them are working now (one with changed ADV7611 the other with the ADV7611 soldered in first place)

DSC00028

and by patching the sun4i_csi1.ko Kernel Module I could get the output to look like this in 720p50:

The patch was to force the CSI1 periheral of the Allwinner A10 into 24-Bit RGB/YUV444 Input mode (see for more details in the User manual of the Allwinner A10 which can be found on linux-sunxi.org)

the file sun4i_csi_reg.c was patched in the following way:


/* configure */
void bsp_csi_configure(struct csi_dev *dev,__csi_conf_t *mode)
{
    u32 t;
    W(dev->regs+CSI_REG_CONF, //mode->input_fmt << 20 | /* [21:20] */
                              4 << 20 | /* 24Bit YUV or RGB input */    
                              mode->output_fmt<< 16 | /* [18:16] */
                              mode->field_sel << 10 | /* [11:10] */
                              mode->seq       << 8  | /* [9:8] */
                              mode->vref      << 2  | /* [2] */
                              mode->href      << 1  | /* [1] */
                              mode->clock     << 0    /* [0] */
      );

  t = R(dev->regs+CSI_REG_CONF);

}

Happy new year to all readers of this blog. btw. 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s